<!DOCTYPE html>
<meta charset="utf-8" />
<title>CSS Selectors Invalidation: :nth-child(... of :has(...))</title>
<link rel="author" title="Steinar H. Gunderson" href="[email protected]">
<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>