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

I prefer brevity when it comes to CSS. I would prefer :contains() for the syntax because it makes sense to me to read as "x contains y". But :has works too, especially if it matches how PDF renderers use it and if :contains could be used to match text within an element.

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

Received on Saturday, 11 May 2019 23:49:42 UTC