On Sep 11, 2013 9:34 AM, "Anne van Kesteren" <[email protected]> wrote: > > As far as I can tell Element.prototype.matches() is not deployed yet. > Should we instead make selectors first-class citizens, just like > regular expressions, and have this: > > var sel = new Selectors("i > love > selectors, so[much]") > sel.test(node) > > That seems like a much nicer approach. > > (It also means this can be neatly defined in the Selectors > specification, rather than in DOM, which means less work for me. :-)) > > > -- > http://annevankesteren.nl/ >
I like the idea, but matches has been in release builds for a long time, right? Hitch uses it.
