wpt / css / css-counter-styles / lower-roman / css3-counter-styles-020.html

Status: FAIL | Duration: 20ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi

/css/css-counter-styles/lower-roman/css3-counter-styles-020.html

<!DOCTYPE html>
<html  lang="en" >
<head>
<meta charset="utf-8"/>
<title>lower-roman, 10-3999</title>
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
<link rel='help' href='http://www.w3.org/TR/css-counter-styles-3/#simple-numeric'>
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
<link rel='match' href='css3-counter-styles-020-ref.html'>
<meta name="assert" content="list-style: lower-roman produces numbers after 9 items per the spec.">
<style type='text/css'>
ol li { list-style-type: lower-roman;  }
/* the following CSS is not part of the test */
.test { font-size: 25px; }
ol { margin: 0; padding-left: 8em; list-style-position: inside; }
</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'>x</li></ol>
<ol start='11'><li title='11'>xi</li></ol>
<ol start='12'><li title='12'>xii</li></ol>
<ol start='43'><li title='43'>xliii</li></ol>
<ol start='77'><li title='77'>lxxvii</li></ol>
<ol start='80'><li title='80'>lxxx</li></ol>
<ol start='99'><li title='99'>xcix</li></ol>
<ol start='100'><li title='100'>c</li></ol>
<ol start='101'><li title='101'>ci</li></ol>
<ol start='222'><li title='222'>ccxxii</li></ol>
<ol start='540'><li title='540'>dxl</li></ol>
<ol start='999'><li title='999'>cmxcix</li></ol>
<ol start='1000'><li title='1000'>m</li></ol>
<ol start='1005'><li title='1005'>mv</li></ol>
<ol start='1060'><li title='1060'>mlx</li></ol>
<ol start='1065'><li title='1065'>mlxv</li></ol>
<ol start='1800'><li title='1800'>mdccc</li></ol>
<ol start='1860'><li title='1860'>mdccclx</li></ol>
<ol start='1865'><li title='1865'>mdccclxv</li></ol>
<ol start='2555'><li title='2555'>mmdlv</li></ol>
<ol start='3000'><li title='3000'>mmm</li></ol>
<ol start='3999'><li title='3999'>mmmcmxcix</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>

/css/css-counter-styles/lower-roman/css3-counter-styles-020-ref.html

<!DOCTYPE html>
<html  lang="en" >
<head>
<meta charset="utf-8"/>
<title>lower-roman, 10-3999</title>
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
<link rel='help' href='http://www.w3.org/TR/css-counter-styles-3/#simple-numeric'>
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
<meta name="assert" content="list-style: lower-roman produces numbers after 9 items per the spec.">
<style type='text/css'>
ol li { list-style-type: lower-roman;  }
/* 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='10'><div><bdi>x. </bdi>x</div></ol>
<ol start='11'><div><bdi>xi. </bdi>xi</div></ol>
<ol start='12'><div><bdi>xii. </bdi>xii</div></ol>
<ol start='43'><div><bdi>xliii. </bdi>xliii</div></ol>
<ol start='77'><div><bdi>lxxvii. </bdi>lxxvii</div></ol>
<ol start='80'><div><bdi>lxxx. </bdi>lxxx</div></ol>
<ol start='99'><div><bdi>xcix. </bdi>xcix</div></ol>
<ol start='100'><div><bdi>c. </bdi>c</div></ol>
<ol start='101'><div><bdi>ci. </bdi>ci</div></ol>
<ol start='222'><div><bdi>ccxxii. </bdi>ccxxii</div></ol>
<ol start='540'><div><bdi>dxl. </bdi>dxl</div></ol>
<ol start='999'><div><bdi>cmxcix. </bdi>cmxcix</div></ol>
<ol start='1000'><div><bdi>m. </bdi>m</div></ol>
<ol start='1005'><div><bdi>mv. </bdi>mv</div></ol>
<ol start='1060'><div><bdi>mlx. </bdi>mlx</div></ol>
<ol start='1065'><div><bdi>mlxv. </bdi>mlxv</div></ol>
<ol start='1800'><div><bdi>mdccc. </bdi>mdccc</div></ol>
<ol start='1860'><div><bdi>mdccclx. </bdi>mdccclx</div></ol>
<ol start='1865'><div><bdi>mdccclxv. </bdi>mdccclxv</div></ol>
<ol start='2555'><div><bdi>mmdlv. </bdi>mmdlv</div></ol>
<ol start='3000'><div><bdi>mmm. </bdi>mmm</div></ol>
<ol start='3999'><div><bdi>mmmcmxcix. </bdi>mmmcmxcix</div></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>