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-002.html" /> | |
9 <meta name="assert" content="List items are rendered consistently with the s
tate of the type attribute." /> | |
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:</p> | |
19 <blockquote>User agents should render the items of the list in a manner cons
istent with the state of the type attribute of the ol element.</blockquote> | |
20 | |
21 <p><strong>This reftest passes if each list's items are labelled identically
to the horizontal sequence immediately above those list items:</strong></p> | |
22 <p>(Note: each list item has no content; only the sequencing should appear.)
</p> | |
23 | |
24 <span> | |
25 <p>1, 2, 3 (type attribute of "1" results in decimal type)</p> | |
26 <span> | |
27 <p>1.</p> | |
28 <p>2.</p> | |
29 <p>3.</p> | |
30 </span> | |
31 | |
32 <p>aa, ab, ac (type attribute of "a" results in lower case latin alphabe
t, start = 27)</p> | |
33 <span> | |
34 <p>aa.</p> | |
35 <p>ab.</p> | |
36 <p>ac.</p> | |
37 </span> | |
38 | |
39 <p>AA, AB, AC (type attribute of "A" results in upper case latin alphabe
t, start = 27)</p> | |
40 <span> | |
41 <p>AA.</p> | |
42 <p>AB.</p> | |
43 <p>AC.</p> | |
44 </span> | |
45 | |
46 <p>i, v, c (type attribute of "i" results in lower case roman alphabet,
list values = 1, 5, 100)</p> | |
47 <span> | |
48 <p>i.</p> | |
49 <p>v.</p> | |
50 <p>c.</p> | |
51 </span> | |
52 | |
53 <p>I, V, C (type attribute of "I" results in upper case roman alphabet,
list values = 1, 5, 100)</p> | |
54 <span> | |
55 <p>I.</p> | |
56 <p>V.</p> | |
57 <p>C.</p> | |
58 </span> | |
59 | |
60 </span> | |
61 | |
62 </body> | |
63 </html> | |
OLD | NEW |