css3-counter-styles-101-ref.html (1140B)
1 <!DOCTYPE html> 2 <html lang="en" > 3 <head> 4 <meta charset="utf-8"/> 5 <title>arabic-indic, 0-9</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 <meta name="assert" content="list-style: arabic-indic produces numbers up to 9 items per the spec."> 9 <style type='text/css'> 10 ol li { list-style-type: arabic-indic; } 11 /* the following CSS is not part of the test */ 12 .test { font-size: 25px; } 13 ol { margin: 0; padding-left: 8em; } 14 </style> 15 </head> 16 <body> 17 <p class="instructions">Test passes if the two columns are the same, IGNORING the suffix.</p> 18 <div class='test'><ol> 19 <div><bdi>١. </bdi>١</div> 20 <div><bdi>٢. </bdi>٢</div> 21 <div><bdi>٣. </bdi>٣</div> 22 <div><bdi>٤. </bdi>٤</div> 23 <div><bdi>٥. </bdi>٥</div> 24 <div><bdi>٦. </bdi>٦</div> 25 <div><bdi>٧. </bdi>٧</div> 26 <div><bdi>٨. </bdi>٨</div> 27 <div><bdi>٩. </bdi>٩</div> 28 </ol> 29 </div> 30 <!--Notes: 31 You will need an appropriate font to run this test. 32 To see the ASCII decimal number associated with a row, mouse over it and the number will pop up in a tooltip. 33 --> 34 </body> 35 </html>