grouping-li-reftest-list-owner-ol-ref.html (935B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>list owner is calculated to be narest ancestor ol if it exists</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 <p>This test matches if the list displays similar to the following</p> 9 10 <pre>1. A 11 2. B 12 3. C 13 4. D 14 5. E 15 1. F 16 2. G 17 6. H 18 1. I 19 2. J 20 1. K 21 2. L</pre> 22 23 <hr> 24 25 <ol> 26 <li value="1">A</li> 27 <li value="2">B</li> 28 <li value="3">C</li> 29 <li value="4">D</li> 30 <li value="5">E</li> 31 <ol> 32 <li value="1">F</li> 33 <li value="2">G</li> 34 </ol> 35 <li value="6">H</li> 36 <ol> 37 <li value="1">I</li> 38 <li value="2"> 39 J 40 <ol> 41 <li value="1">K</li> 42 <li value="2">L</li> 43 </ol> 44 </li> 45 </ol> 46 </ol>