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

48 lines
No EOL
2.2 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>cambodian, 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" />
<meta content="font" name="flags" />
<meta content="list-style-type: cambodian produces numbers after 9 per the spec." name="assert" />
<style type="text/css">
ol li { list-style-type: cambodian; }
/* the following CSS is not part of the test */
.test { font-size: 25px; }
ol { margin: 0; padding-left: 8em; }
</style>
</head>
<body>
<p class="instructions">Test passes if the two columns are the same, IGNORING the suffix.</p>
<div class="test">
<ol start="11"><li title="11">១១</li></ol>
<ol start="12"><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></ol>
<ol start="100"><li title="100">១០០</li></ol>
<ol start="101"><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></ol>
<ol start="1000"><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="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.
The test relies on the start attribute working.
To see the ASCII decimal number associated with a row, mouse over it and the number will pop up in a tooltip.
-->
</body></html>