tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

grouping-li-reftest-002.html (1614B)


      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    <link rel="match" href="grouping-li-reftest-002-ref.html" />
      9    <meta name="assert" content="li elements with ol parents have ordinal values." />
     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;
     14                list-style-position: inside; list-style-type: decimal; }
     15    </style>
     16 </head>
     17 <body>
     18    <h1>Description</h1>
     19    <p>This test continues to validate the li element.</p>
     20 
     21    <p>This reftest verifies that the value attribute has an effect when applied to a list item with an ol parent.</p>
     22    <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>
     23    <p>This reftest passes if you see the numbers 1. 2. 3. below the words "Ordered List"</p>
     24 
     25    <span>
     26        <p>Ordered List</p>
     27        <ol>
     28            <li></li>
     29            <li></li>
     30            <li></li>
     31        </ol>
     32    </span>
     33 </body>
     34 </html>