layout/reftests/counters/counter-ua-limits-list-01-ref.html

branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
equal deleted inserted replaced
-1:000000000000 0:69ad8215508d
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 <!--
29 Work around our inability to parse -2147483648 as an HTML integer attribute
30 (Bug 586761)
31 -->
32 <ol reversed start="-2147483645">
33 <li class="hidden">hidden
34 <li>Alpha
35 </ol>
36 <ol reversed start="-2147483646">
37 <li class="hidden">hidden
38 <li>Bravo
39 </ol>
40 <ol reversed start="-2147483647">
41 <li class="hidden">hidden
42 <li>Charlie
43 </ol>
44 <ol reversed start="-2147483647">
45 <li class="hidden">hidden
46 <li>Delta
47 </ol>
48
49 </body>
50 </html>

mercurial