Re: [csswg-drafts] [selectors] sibling and ::after selector in one

And since it would be not usable in stylesheets, and JS devs would use more interoperable solutions (though probably 2-liners insteas of 1-liner) to check if a selected element has a certain element inside, browser vendors would have little interest in adding extra complexity to their CSS parsing engines for this very specific case only.

What web devs constantly ask for (and what can become a good competitive point for the browser vendors) is the ability to style things depending on the contents, even with more limitations than `:has()` in a dynamic profile would have in theory (something like `:has-children()` in the dynamic profile would be great!).

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

Received on Monday, 11 December 2017 07:17:18 UTC