grouping-li-reftest-list-owner-parent.html (907B)
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 <link rel="match" href="grouping-li-reftest-list-owner-parent-ref.html"> 9 10 <style> 11 li { 12 list-style-type: decimal; 13 list-style-position: inside; 14 } 15 16 .container { 17 padding: 50px; 18 } 19 </style> 20 21 <p>This test matches if the list displays similar to the following</p> 22 23 <pre>1. A 24 2. B 25 1. C 26 1. D 27 1. E 28 3. F</pre> 29 30 <hr> 31 32 <div class="container"> 33 <li>A</li> 34 <li>B</li> 35 <div> 36 <li>C</li> 37 <span> 38 <li>D</li> 39 </span> 40 </div> 41 <blockquote> 42 <li>E</li> 43 </blockquote> 44 <li>F</li> 45 </div>