Re: [csswg-drafts] [selectors-4] Rescope :has to static CSS rather than .querySelector (#3925)

The linked document also lists the `:contains()` pseudo-class, which seems to have gone [from the specs](https://www.w3.org/TR/2001/CR-css3-selectors-20011113/#content-selectors) at some point before 2005, as supported. Is its implementation status also still relevant?

Honestly, as a web developer, I would prefer something less general that can be safely used in styling (like `:has-children()` or `:has-following-siblings()` mentioned [here](https://github.com/w3c/csswg-drafts/issues/1694#issuecomment-320784244)) to the powerful general mechanism that _can't be used in the context it's most needed_ because of possible performance implications. Maybe it's not late to introduce them into the current module (and probably to postpone the whole "selector profles" thing to some future levels, to keep the current level simple and more developer-friendly)?

-- 
GitHub Notification of comment by SelenIT
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3925#issuecomment-491537139 using your GitHub account

Received on Saturday, 11 May 2019 19:17:16 UTC