W3C home > Mailing lists > Public > public-css-archive@w3.org > March 2020

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

From: Emilio Cobos Álvarez via GitHub <sysbot+gh@w3.org>
Date: Fri, 27 Mar 2020 11:59:41 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-604961670-1585310380-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:02 UTC