- From: Emilio Cobos Álvarez via GitHub <sysbot+gh@w3.org>
- Date: Wed, 15 May 2019 22:33:02 +0000
- To: public-css-archive@w3.org
I don't think this is particularly urgent to fix since no UAs implement those, but I would probably suggest either: * Adding another function to the CSS namespace (`CSS.supportsSelector`?) that directly takes a selector. * `CSS.supports()` and `@supports` supports the same selectors that `<style>` and `<link>`. * `CSS.supportsSelector` uses the same syntax as accepted in `querySelector`. But maybe that's not even an issue since `querySelector` already throws for invalid selectors, so if it's only supported there it won't throw? -- GitHub Notification of comment by emilio Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3936#issuecomment-492848605 using your GitHub account
Received on Wednesday, 15 May 2019 22:33:03 UTC