summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-not-being-rendered.html
blob: da476c4bffc37f5911425538e9d04aa9f7d2cf4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!DOCTYPE html>
<meta charset="utf-8">
<title>List items that are not being rendered do not participate in numbering</title>
<link rel="author" title="Domenic Denicola" href="mailto:d@domenic.me">
<link rel="help" href="https://html.spec.whatwg.org/multipage/semantics.html#ordinal-value">
<link rel="help" href="https://html.spec.whatwg.org/multipage/semantics.html#list-owner">

<link rel="match" href="grouping-li-reftest-not-being-rendered-ref.html">

<p>This test matches if the list displays similar to the following</p>

<pre>1. A
2. B
3. D
4. E
5. G</pre>

<hr>

<ol>
  <li>A</li>
  <li>B</li>
  <li hidden>C</li>
  <li>D</li>
  <div>
    <li>E</li>
    <li hidden>F</li>
    <li>G</li>
  </div>
</ol>