Re: Intent to prototype: Allow :is() and :where() to have better selector error recovery.

2020-09-14 Thread Sebastian Zartner
On Monday, September 14, 2020 at 12:24:13 AM UTC+2, Emilio Cobos Álvarez wrote: > DevTools bug: I'm not sure if it is necessary to have a devtools bug for > this. The selector will serialize as :is(div) rather than :is(div, > :nonsense), for example. Other than that, devtools should just work.

Intent to prototype: Allow :is() and :where() to have better selector error recovery.

2020-09-13 Thread Emilio Cobos Álvarez
Summary: Allow invalid selectors inside :is() and :where() to be ignored, rather than making the whole selector list invalid. This would allow to have some sort of escape hatch for the usual footgun of "one invalid selector in the list makes the whole style rule invalid", which is generally