grouping-li-reftest-list-owner-not-dir.html (1023B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>The dir element is not treated specially when calculating list owners</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-not-dir-ref.html"> 9 10 <style> 11 li { 12 list-style-type: decimal; 13 } 14 </style> 15 16 <p>This test matches if the list displays similar to the following</p> 17 18 <pre>1. A 19 2. B 20 3. C 21 4. D 22 5. E 23 6. F 24 7. G 25 8. H 26 9. I 27 10. J 28 11. K 29 12. L</pre> 30 31 <hr> 32 33 <ol> 34 <li>A</li> 35 <li>B</li> 36 <div> 37 <li>C</li> 38 <span> 39 <li>D</li> 40 <li>E</li> 41 </span> 42 <dir> 43 <li>F</li> 44 <li>G</li> 45 </dir> 46 </div> 47 <li>H</li> 48 <dir> 49 <li>I</li> 50 <li> 51 J 52 <dir> 53 <li>K</li> 54 <li>L</li> 55 </dir> 56 </li> 57 </dir> 58 </ol>