Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-not-dir.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<meta charset="utf-8">
<title>The dir element is not treated specially when calculating list owners</title>
<link rel="author" title="Domenic Denicola" href="mailto:d@domenic.me">
<link rel="match" href="grouping-li-reftest-list-owner-not-dir-ref.html">
<style>
li {
list-style-type: decimal;
}
</style>
<p>This test matches if the list displays similar to the following</p>
<pre>1. A
2. B
3. C
4. D
5. E
6. F
7. G
8. H
9. I
10. J
11. K
12. L</pre>
<hr>
<ol>
<li>A</li>
<li>B</li>
<div>
<li>C</li>
<span>
<li>D</li>
<li>E</li>
</span>
<dir>
<li>F</li>
<li>G</li>
</dir>
</div>
<li>H</li>
<dir>
<li>I</li>
<li>
J
<dir>
<li>K</li>
<li>L</li>
</dir>
</li>
</dir>
</ol>