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

Re: [csswg-drafts] [web-animations-1] Clarification about `target` and `pseudoElement` relationship (#4745)

From: Brian Birtles via GitHub <sysbot+gh@w3.org>
Date: Tue, 10 Mar 2020 01:30:04 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-596856083-1583803803-sysbot+gh@w3.org>
> @birtles It seems a bit odd not to throw for unknown pseudos? That's what e.g. querySelector does.

I didn't write the spec text here. @george-steel probably remembers better the logic here. Looking into `querySelector` I see it has:

> Consistent with CSS’s forwards-compatible parsing principle, UAs must treat as invalid any pseudo-classes, pseudo-elements, combinators, or other syntactic constructs for which they have no usable level of support.


GitHub Notification of comment by birtles
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4745#issuecomment-596856083 using your GitHub account
Received on Tuesday, 10 March 2020 01:30:06 UTC

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