I want a CSS selector that will only give me the first 3 <li>
s below that has no dom children. :empty
doesn't work because it text are considered children.
<ul>
<li>I want this one</li>
<li>I want this one</li>
<li>I want this one</li>
<li><a href="...">Not this one</a></li>
<li><a href="...">Not this one</a></li>
</ul>