counter-ua-limits-list-01-ref.html (1213B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>test of counter UA overflow rules for HTML lists</title> 5 <!-- 6 NOTE: This test cannot be contributed to the test suite because 7 it presumes a 4-byte unsigned integer, which is not required by 8 the spec. It also can't be contributed because it's testing HTML 9 lists. 10 11 However, it tests the rules for what happens at the UA-specific 12 limit, which are required by the spec. 13 --> 14 <link rel="help" href="http://dev.w3.org/csswg/css-counter-styles-3/#counter-style-range"/> 15 <link rel="help" href="http://krijnhoetmer.nl/irc-logs/css/20130205#l-1590"/> 16 <style type="text/css"> 17 18 ol { margin-left: 10em; padding-left: 0; } 19 li { margin-left: 0; padding-left: 0 } 20 li.hidden { visibility: hidden; height: 0 } 21 ol { margin-bottom: 0 } 22 ol + ol { margin-top: 0 } 23 24 </style> 25 </head> 26 <body> 27 28 <ol reversed start="-2147483645"> 29 <li class="hidden">hidden 30 <li>Alpha 31 </ol> 32 <ol reversed start="-2147483646"> 33 <li class="hidden">hidden 34 <li>Bravo 35 </ol> 36 <ol reversed start="-2147483647"> 37 <li class="hidden">hidden 38 <li>Charlie 39 </ol> 40 <ol reversed start="-2147483648"> 41 <li class="hidden">hidden 42 <li>Delta 43 </ol> 44 45 </body> 46 </html>