Re: Making selectors first-class citizens

On 11/09/2013 15:56 , Anne van Kesteren wrote:
> On Wed, Sep 11, 2013 at 2:52 PM, Brian Kardell <bkardell@gmail.com> wrote:
>> I like the idea, but matches has been in release builds for a long time,
>> right?  Hitch uses it.
>
> <!DOCTYPE html>.<script>w("matches" in document.body)</script>
> http://software.hixie.ch/utilities/js/live-dom-viewer/
>
> false in both Firefox and Chrome.

See http://caniuse.com/#search=matches. You do get mozMatchesSelector 
(and variants) in there.


-- 
Robin Berjon - http://berjon.com/ - @robinberjon

Received on Wednesday, 11 September 2013 14:04:23 UTC