| 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-ref.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 li {margin-left: 0; margin-top: 0; margin-bottom: 0; padding-left:
0; padding-top: 0; padding-bottom: 0; font-family: monospace;} | |
| 13 span ol {margin-left: 0; margin-top: 0; margin-bottom: 0; padding-left:
5em; padding-top: 0; padding-bottom: 0; font-family: monospace; list-style-posit
ion: inside;} | |
| 14 </style> | |
| 15 </head> | |
| 16 <body> | |
| 17 <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> | |
| 18 | |
| 19 <p>The spec states: Numbers less than or equal to zero should always use the
decimal system regardless of the type attribute.</p> | |
| 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 | |
| 26 <p>-3, -2, -1 (type is "a", start is -3)</p> | |
| 27 <ol type="a" start="-3"> | |
| 28 <li></li> | |
| 29 <li></li> | |
| 30 <li></li> | |
| 31 </ol> | |
| 32 | |
| 33 <p>0, a (type is "a", start is 0)</p> | |
| 34 <ol type="a" start="0"> | |
| 35 <li></li> | |
| 36 <li></li> | |
| 37 </ol> | |
| 38 | |
| 39 <p>-3, -2, -1 (type is "A", start is -3)</p> | |
| 40 <ol type="A" start="-3"> | |
| 41 <li></li> | |
| 42 <li></li> | |
| 43 <li></li> | |
| 44 </ol> | |
| 45 | |
| 46 <p>0, A (type is "A", start is 0)</p> | |
| 47 <ol type="A" start="0"> | |
| 48 <li></li> | |
| 49 <li></li> | |
| 50 </ol> | |
| 51 | |
| 52 <p>-3, -2, -1 (type is "i", start is -3)</p> | |
| 53 <ol type="i" start="-3"> | |
| 54 <li></li> | |
| 55 <li></li> | |
| 56 <li></li> | |
| 57 </ol> | |
| 58 | |
| 59 <p>0, i (type is "i", start is 0)</p> | |
| 60 <ol type="i" start="0"> | |
| 61 <li></li> | |
| 62 <li></li> | |
| 63 </ol> | |
| 64 | |
| 65 <p>-3, -2, -1 (type is "I", start is -3)</p> | |
| 66 <ol type="I" start="-3"> | |
| 67 <li></li> | |
| 68 <li></li> | |
| 69 <li></li> | |
| 70 </ol> | |
| 71 | |
| 72 <p>0, I (type is "I", start is 0)</p> | |
| 73 <ol type="I" start="0"> | |
| 74 <li></li> | |
| 75 <li></li> | |
| 76 </ol> | |
| 77 | |
| 78 </span> | |
| 79 | |
| 80 </body> | |
| 81 </html> | |
| OLD | NEW |