Re: [csswg-drafts] [css-selectors] has-child selector (#4903)

Hmm, I don't think invalidation sounds so straight-forward? Now dom mutations can invalidate styles of ancestors, which as far as I know all engines (including Blink) assume cannot happen.

Sure, it's only one-level ancestor, but it is not if you nest them, right? So `div:has-child(div:has-child(img))` or such.

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

Received on Friday, 27 March 2020 11:59:43 UTC