tor-browser

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

grouping-li-reftest-001-ref.html (1577B)


      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="The value attribute has no effect when applied to a li element whose parent is a non-ol element." />
      9 </head>
     10 <body>
     11    <h1>Description</h1>
     12    <p>This test continues to validate the li element.</p>
     13 
     14    <p>This reftest verifies that the value attribute has no effect when applied to a list item NOT having an ol parent and not marked as display: list-item.</p>
     15    <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>
     16    <p>This reftest passes if you see NO sequencing information on any of the items below.</p>
     17 
     18    <p>Unordered List</p>
     19    <ul>
     20        <li>list item</li>
     21        <li>list item</li>
     22        <li>list item</li>
     23    </ul>
     24 
     25    <menu>
     26        <li>Menu Item</li>
     27        <li>Menu Item</li>
     28    </menu>
     29 
     30    <menu type="toolbar">
     31        <li>
     32            <menu label="ToolbarLabel">
     33                <li><a>Toolbar Menu Item</a></li>
     34                <li><a>Toolbar Menu Item</a></li>
     35            </menu>
     36        </li>
     37        <li>
     38            <menu label="ToolbarLabel">
     39                <li><a>Toolbar Menu Item</a></li>
     40                <li><a>Toolbar Menu Item</a></li>
     41            </menu>
     42        </li>
     43     </menu>
     44 
     45 </body>
     46 </html>