servo/tests/wpt/css-tests/css-counter-styles-3_dev/html/css3-counter-styles-020b.htm

38 lines
No EOL
1.3 KiB
HTML

<!DOCTYPE html>
<html lang="en"><head>
<meta charset="utf-8">
<title>lower-roman, straddling range, 3000-4001</title>
<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida">
<link href="mailto:chris@w3.org" rel="author" title="Chris Lilley">
<link href="mailto:jackalmage@gmail.com" rel="reviewer" title="Tab Atkins">
<link href="http://www.w3.org/TR/css-counter-styles-3/#descdef-counter-style-range" rel="help">
<meta content="font" name="flags">
<meta content=" If a counter style is used to represent a counter value outside of its ranges, the counter style instead drops down to its fallback counter style." name="assert">
<style type="text/css">
.test { font-size: 25px; }
ol { margin: 0; padding-left: 8em; }
ol li { list-style-type: lower-roman; }
</style>
</head>
<body>
<p class="instructions">Test passes if the two columns are the same, ignoring the suffix.</p>
<div class="test"><ol start="3000"><li title="3000">mmm.</li></ol>
<ol start="3555"><li title="3555">mmmdlv.</li></ol>
<ol start="3998"><li title="3998">mmmcmxcviii.</li></ol>
<ol start="3999"><li title="3999">mmmcmxcix.</li></ol>
<ol start="4001"><li title="4001">4001.</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>