:has doesn't work with sibling combiner (original) (raw)
Given:
Hello
World
<h1>Goodbye</h1>
I'd expect document.select("h1:has(+ h2)") to match <h1>Hello</h1> as it should according to MDN, but it doesn't.
Hello as it should according to MDN, b...">
Given:
<h1>Goodbye</h1>
I'd expect document.select("h1:has(+ h2)") to match <h1>Hello</h1> as it should according to MDN, but it doesn't.