grouping-ol-rev-reftest-001-ref.html (1646B)
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-element"> 8 <meta name="assert" content="OL's reversed attribute creates a descending list." /> 9 <style type="text/css"> 10 span p {display:list-item; margin-left: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-top: 0; padding-bottom: 0;} 11 span span p {margin-left: 0; margin-top: 0; margin-bottom: 0; padding-left: 5em; padding-top: 0; padding-bottom: 0; font-family: monospace;} 12 </style> 13 </head> 14 <body> 15 <h1>Description</h1> 16 <p>This test continues to validate the ol element.</p> 17 18 <p>These reftests are necessary because the values of the ol's li children as calculated by the user agent are NOT available programatically. Only explicitly-set values are available programatically. Therefore, we need to check actual rendering against expected rendering.</p> 19 20 <p><strong>This reftest passes if you see an ascending list followed by two descending lists.</strong></p> 21 <p>(Note: each list item has no content; only the sequencing should appear.)</p> 22 23 <span> 24 25 <p>Ordered List</p> 26 <span> 27 <p>1.</p> 28 <p>2.</p> 29 <p>3.</p> 30 </span> 31 32 <p>Ordered List - reversed via content attribute</p> 33 <span> 34 <p>3.</p> 35 <p>2.</p> 36 <p>1.</p> 37 </span> 38 39 <p>Ordered List - reversed via IDL</p> 40 <span> 41 <p>3.</p> 42 <p>2.</p> 43 <p>1.</p> 44 </span> 45 46 </span> 47 48 49 </body> 50 </html>