grouping-li-reftest-002-ref.html (1343B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>li 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-li-element"> 8 <meta name="assert" content="li elements with ol parents have ordinal values." /> 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 li element.</p> 17 18 <p>This reftest verifies that the value attribute has an effect when applied to a list item with an ol parent.</p> 19 <p>A reftest is necessary because the values of li elements as calculated by the user agent are NOT available programatically. Only explicitly-set values are then available programatically.</p> 20 <p>This reftest passes if you see the numbers 1. 2. 3. below the words "Ordered List"</p> 21 22 <span> 23 <p>Ordered List</p> 24 <span> 25 <p>1.</p> 26 <p>2.</p> 27 <p>3.</p> 28 </span> 29 </span> 30 31 </body> 32 </html>