- From: Brian Birtles via GitHub <sysbot+gh@w3.org>
- Date: Tue, 10 Mar 2020 01:30:04 +0000
- To: public-css-archive@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. https://drafts.csswg.org/selectors-4/#invalid-selector -- 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