css3-counter-styles-025-ref.html (1170B)
1 <!DOCTYPE html> 2 <html lang="en" > 3 <head> 4 <meta charset="utf-8"/> 5 <title>upper-roman, outside range</title> 6 <link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'> 7 <link rel='help' href='http://www.w3.org/TR/css-counter-styles-3/#simple-numeric'> 8 <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" /> 9 <meta name="assert" content="list-style-type: upper-roman produces numbers in the fallback counter style above the limit per the spec"> 10 <style type='text/css'> 11 ol li { list-style-type: upper-roman; } 12 /* the following CSS is not part of the test */ 13 .test { font-size: 25px; } 14 ol { margin: 0; padding-left: 8em; } 15 </style> 16 </head> 17 <body> 18 <p class="instructions">Test passes if the two columns are the same, IGNORING the suffix.</p> 19 <div class="test"><ol start='3999'> 20 <div><bdi>MMMCMXCIX. </bdi>MMMCMXCIX</div> 21 <div><bdi>4000. </bdi>4000</div></ol> 22 <ol start='4001'><div><bdi>4001. </bdi>4001</div> 23 <div><bdi>4002. </bdi>4002</div> 24 </ol></div> 25 <!--Notes: 26 You will need an appropriate font to run this test. 27 To see the ASCII decimal number associated with a row, mouse over it and the number will pop up in a tooltip. 28 --> 29 </body> 30 </html>