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-001.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:</p> | |
19 <blockquote><p>The type attribute represents the state given in the cell in
the second column of the row whose first cell matches the attribute's value; if
none of the cells match, or if the attribute is omitted, then the attribute repr
esents the decimal state.</p></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 (default value for unspecified type attribute is 'decimal')</
p> | |
26 <span> | |
27 <p>1.</p> | |
28 <p>2.</p> | |
29 <p>3.</p> | |
30 </span> | |
31 | |
32 <p>1, 2, 3 (default value for type attribute not listed in spec table is
'decimal' (type = "!"))</p> | |
33 <span> | |
34 <p>1.</p> | |
35 <p>2.</p> | |
36 <p>3.</p> | |
37 </span> | |
38 | |
39 <p>1, 2, 3 (default value for type attribute not listed in spec table is
'decimal' (type = "2"))</p> | |
40 <span> | |
41 <p>1.</p> | |
42 <p>2.</p> | |
43 <p>3.</p> | |
44 </span> | |
45 | |
46 <p>1, 2, 3 (default value for type attribute not listed in spec table is
'decimal' (type = "b"))</p> | |
47 <span> | |
48 <p>1.</p> | |
49 <p>2.</p> | |
50 <p>3.</p> | |
51 </span> | |
52 | |
53 </span> | |
54 | |
55 </body> | |
56 </html> | |
OLD | NEW |