summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-has-ref.html
blob: 39f0501b826126898a0552c538feed305d3f7b54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html>
<meta charset="utf-8" />
<title>CSS Selectors Invalidation: :nth-child(... of :has(...))</title>
<link rel="author" title="Steinar H. Gunderson" href="sesse@chromium.org">
<link rel="help" href="https://drafts.csswg.org/selectors-4/#child-index">
<div>
  <p>Ignored</p>
  <p>Ignored</p>
  <p>Not ignored</p>
  <p>Selectively ignored</p>
  <p style="color: green">Not ignored</p>
  <p>Not ignored</p>
  <p style="color: green">Not ignored</p>
  <p>Ignored</p>
</div>