tor-browser

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

grouping-li-reftest-001.html (1704B)


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