Re: [csswg-drafts] [css-conditional-4][selectors-4] How should selector supports test react to partially-implemented selectors? (#3936)

> 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?

That seems bad, it should be possible to code and know without throwing, don't you think?  I think the `supports` and `supportsSelector` has the advantage of being easy to explain, it could just not throw as long as the thing parses properly and just return a boolean answer?

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

Received on Thursday, 16 May 2019 02:31:34 UTC