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. If 
> folks feel strongly otherwise, please file a bug and cc me on it and 
> I'll take a look, maybe some more work could be done to surface this 
> better in DevTools, though it wouldn't be trivial right now to expose it 
> via the regular CSS parse error reporting mechanism (because parsing 
> will, in fact, succeed). 

Authors would definitely benefit from knowing that selectors within :is() and 
:where() are invalid, allowing them to correct those errors. Therefore I've 
created https://bugzilla.mozilla.org/show_bug.cgi?id=1664739 and 
https://bugzilla.mozilla.org/show_bug.cgi?id=1664740 for two ways how to expose 
this info to them.

Sebastian
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to