tor-browser

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

grouping-li-reftest-list-owner-menu-ref.html (1092B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>list owner is calculated to be narest ancestor menu if it exists</title>
      4 <link rel="author" title="Domenic Denicola" href="mailto:d@domenic.me">
      5 <link rel="author" title="Peng Zhou" href="mailto:zhoupeng.1996@bytedance.com">
      6 <link rel="help" href="https://html.spec.whatwg.org/multipage/semantics.html#ordinal-value">
      7 <link rel="help" href="https://html.spec.whatwg.org/multipage/semantics.html#list-owner">
      8 
      9 <style>
     10  li {
     11    list-style-type: decimal;
     12  }
     13 </style>
     14 
     15 <p>This test matches if the list displays similar to the following</p>
     16 
     17 <pre>1. A
     18 2. B
     19 3. C
     20 4. D
     21 5. E
     22     1. F
     23     2. G
     24 6. H
     25     1. I
     26     2. J
     27          1. K
     28          2. L</pre>
     29 
     30 <hr>
     31 
     32 <menu>
     33  <li value="1">A</li>
     34  <li value="2">B</li>
     35  <li value="3">C</li>
     36  <li value="4">D</li>
     37  <li value="5">E</li>
     38  <menu>
     39    <li value="1">F</li>
     40    <li value="2">G</li>
     41  </menu>
     42  <li value="6">H</li>
     43  <menu>
     44    <li value="1">I</li>
     45    <li value="2">
     46      J
     47      <menu>
     48        <li value="1">K</li>
     49        <li value="2">L</li>
     50      </menu>
     51    </li>
     52  </menu>
     53 </menu>