OLD | NEW |
| (Empty) |
1 <!DOCTYPE html> | |
2 <html> | |
3 <head> | |
4 <meta charset="utf-8"> | |
5 <title>ol element</title> | |
6 <link rel="author" title="dzenana" href="mailto:dzenana.trenutak@gmail.com"> | |
7 <link rel="help" href="https://html.spec.whatwg.org/multipage/#the-ol-elemen
t"> | |
8 <link rel="match" href="grouping-ol-type-reftest-003.html" /> | |
9 <meta name="assert" content="OL's type attribute defaults to decimal state."
/> | |
10 <style type="text/css"> | |
11 span p {display:list-item; margin-left: 0; margin-top: 0; margin-bottom:
0; padding-left: 0; padding-top: 0; padding-bottom: 0;} | |
12 span span p {margin-left: 0; margin-top: 0; margin-bottom: 0; padding-le
ft: 5em; padding-top: 0; padding-bottom: 0; font-family: monospace;} | |
13 </style> | |
14 </head> | |
15 <body> | |
16 <p>This test continues to validate the ol element. This reftest is necessary
because the values of the ol's li children as calculated and displayed by the u
ser agent are NOT systematically available programatically. Only explicitly-set
values are available programatically. Therefore, we need to check actual renderi
ng against expected rendering.</p> | |
17 | |
18 <p>The spec states: Numbers less than or equal to zero should always use the
decimal system regardless of the type attribute.</p> | |
19 | |
20 <p><strong>This reftest passes if each list's items are labelled identically
to the horizontal sequence immediately above those list items:</strong></p> | |
21 <p>(Note: each list item has no content; only the sequencing should appear.)
</p> | |
22 | |
23 <span> | |
24 <p>-3, -2, -1 (type is "a", start is -3)</p> | |
25 <span> | |
26 <p>-3.</p> | |
27 <p>-2.</p> | |
28 <p>-1.</p> | |
29 </span> | |
30 | |
31 <p>0, a (type is "a", start is 0)</p> | |
32 <span> | |
33 <p>0.</p> | |
34 <p>a.</p> | |
35 </span> | |
36 | |
37 <p>-3, -2, -1 (type is "A", start is -3)</p> | |
38 <span> | |
39 <p>-3.</p> | |
40 <p>-2.</p> | |
41 <p>-1.</p> | |
42 </span> | |
43 | |
44 <p>0, A (type is "A", start is 0)</p> | |
45 <span> | |
46 <p>0.</p> | |
47 <p>A.</p> | |
48 </span> | |
49 | |
50 <p>-3, -2, -1 (type is "i", start is -3)</p> | |
51 <span> | |
52 <p>-3.</p> | |
53 <p>-2.</p> | |
54 <p>-1.</p> | |
55 </span> | |
56 | |
57 <p>0, i (type is "i", start is 0)</p> | |
58 <span> | |
59 <p>0.</p> | |
60 <p>i.</p> | |
61 </span> | |
62 | |
63 <p>-3, -2, -1 (type is "I", start is -3)</p> | |
64 <span> | |
65 <p>-3.</p> | |
66 <p>-2.</p> | |
67 <p>-1.</p> | |
68 </span> | |
69 | |
70 <p>0, I (type is "I", start is 0)</p> | |
71 <span> | |
72 <p>0.</p> | |
73 <p>I.</p> | |
74 </span> | |
75 | |
76 </span> | |
77 | |
78 </body> | |
79 </html> | |
OLD | NEW |