servo/tests/wpt/css-tests/css-counter-styles-3_dev/xhtml1/css3-counter-styles-004.xht

102 lines
No EOL
2.6 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
<meta charset="utf-8" />
<title>cjk-decimal, 10+</title>
<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
<link href="http://www.w3.org/TR/css-counter-styles-3/#simple-numeric" rel="help" />
<link href="mailto:chris@w3.org" rel="reviewer" title="Chris Lilley" />
<meta content="font" name="flags" />
<meta content="Setting list-style-type to cjk-decimal will produce list numbering after 9 as described in the CSS3 Counter Styles module." name="assert" />
<style type="text/css">
.test { font-size: 25px; }
ol { margin: 0; padding-left: 8em; }
ol li { list-style-type: cjk-decimal; }
</style>
</head>
<body>
<p class="instructions">Test passes if the two columns are the same, ignoring the suffix.</p>
<div class="test"><ol start="10">
<li title="10">一〇、</li>
<li title="11">一一、</li>
<li title="12">一二、</li>
</ol>
<ol start="43">
<li title="43">四三、</li>
</ol>
<ol start="77">
<li title="77">七七、</li>
</ol>
<ol start="80">
<li title="80">八〇、</li>
</ol>
<ol start="99">
<li title="99">九九、</li>
<li title="100">一〇〇、</li>
<li title="101">一〇一、</li>
</ol>
<ol start="222">
<li title="222">二二二、</li>
</ol>
<ol start="540">
<li title="540">五四〇、</li>
</ol>
<ol start="999">
<li title="999">九九九、</li>
<li title="1000">一〇〇〇、</li>
</ol>
<ol start="1005">
<li title="1005">一〇〇五、</li>
</ol>
<ol start="1060">
<li title="1060">一〇六〇、</li>
</ol>
<ol start="1065">
<li title="1065">一〇六五、</li>
</ol>
<ol start="1800">
<li title="1800">一八〇〇、</li>
</ol>
<ol start="1860">
<li title="1860">一八六〇、</li>
</ol>
<ol start="1865">
<li title="1865">一八六五、</li>
</ol>
<ol start="5865">
<li title="5865">五八六五、</li>
</ol>
<ol start="7005">
<li title="7005">七〇〇五、</li>
</ol>
<ol start="7800">
<li title="7800">七八〇〇、</li>
</ol>
<ol start="7864">
<li title="7864">七八六四、</li>
</ol>
<ol start="9999">
<li title="9999">九九九九、</li>
</ol></div>
<!--Notes:
You will need an appropriate font to run this test.
To see the ASCII decimal number associated with a row, mouse over it and the number will pop up in a tooltip.
-->
</body></html>