4 ms·
Wait... dependency on querySelectorAll ? Weren't the point of javascript libraries to be crossbrowser ?
by oelmekki 14y ago
Wait... dependency on querySelectorAll ? Weren't the point of javascript libraries to be crossbrowser ?
- nacs 14y agohttps://developer.mozilla.org/en/DOM/Document.querySelectorAll#Browser_compatibility https://developer.mozilla.org/en/DOM/Document.querySelectorA... Looks pretty "crossbrowser" to me. Seems to be supported on many mobile browsers too based on that link. The only possible issue I see here is IE < 8 but then again, I'm not sure I'd want to bother with IE6/7 support.
- mkmcdonald 14y ago"cross-browser" is a misnomer that seems to have been invented by DOM library authors as a marketing tool. If we're talking about the en vogue subset of browsers, then QSA has support. If we're talking about a set of browsers where a usable DOM implementation is provided (most dating back to Netscape), then, no, support is not provided. "Works in all browsers" should be closer to the latter, not the former.