LeaVerou/parsel

Errors in parsing with relational pseudo-class: `Combinator X used in selector start`

Semigradsky opened this issue · 1 comments

https://www.w3.org/TR/selectors-4/#has-pseudo

a:has(> img)

Error: Combinator > used in selector start


dt:has(+ dt)

Error: Combinator + used in selector start

Since Parsel is meant to be permissive, I just removed the error and now it just returns null in the left or right properties if a combinator is in the beginning or end.