Re: [csswg-drafts] [selectors] Let :is() have better error-recovery behavior than normal Selectors (#3264)

> should `:is(:nonsense)` serialize just as `:is()`? Should that be special-cased to never match?

> Then, of course `:is()` should be parseable too...

Yes, I was going to serialize `:is(:nonsense)` as `:is()` in dev tools, and treat `:is()` as a valid selector that never matches.

Is serialization of selectors web exposed, i.e. testable in WPTs?


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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 25 August 2020 00:52:38 UTC