Re: [csswg-drafts] [css-conditional-3] define whether/how it matters if namespace prefixes are declared

Thanks for filing, was on my list of things to do :)

As I said in the linked issue, I'd argue for keeping the consistency with existing APIs in regards of treating undeclared namespaces as invalid.

For example, right now `document.querySelector("a|b")` throws instead of returning null, for example. I think `CSS.supports` should do the same, and same `@supports` unless namespaces are registered in the style sheet.

This is both more consistent (IMO) and easier to implement / less special-casey.

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

Received on Wednesday, 17 October 2018 19:19:53 UTC