tor-browser

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

grouping-li-reftest-list-owner-parent-ref.html (834B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>list owner is calculated to be the parent if there is no ancestor ul/ol/menu</title>
      4 <link rel="author" title="Domenic Denicola" href="mailto:d@domenic.me">
      5 <link rel="help" href="https://html.spec.whatwg.org/multipage/semantics.html#ordinal-value">
      6 <link rel="help" href="https://html.spec.whatwg.org/multipage/semantics.html#list-owner">
      7 
      8 <style>
      9  li {
     10    list-style-type: decimal;
     11    list-style-position: inside;
     12  }
     13 
     14  ol {
     15    padding: 50px;
     16    margin: 0;
     17  }
     18 </style>
     19 
     20 <p>This test matches if the list displays similar to the following</p>
     21 
     22 <pre>1. A
     23 2. B
     24 1. C
     25 1. D
     26       1. E
     27 3. F</pre>
     28 
     29 <hr>
     30 
     31 <ol>
     32  <li value="1">A</li>
     33  <li value="2">B</li>
     34  <li value="1">C</li>
     35  <li value="1">D</li>
     36  <blockquote>
     37    <li value="1">E</li>
     38  </blockquote>
     39  <li value="3">F</li>
     40 </ol>