4 ms·
I didn't mean to say that's _all_ you can do, but people often expect more than qSA can deliver, especially if they've been using jQuery/Sizzle for a while. Siz
by dmethvin 14y ago
I didn't mean to say that's _all_ you can do, but people often expect more than qSA can deliver, especially if they've been using jQuery/Sizzle for a while. Sizzle also works around bugs in qSA implementations when they exist.
qSA's design shortcomings have been well documented, John Resig did a blog long ago about them [1].
The list of what you lose if you remove Sizzle is in the native selector file [2].
[1] http://ejohn.org/blog/thoughts-on-queryselectorall/ http://ejohn.org/blog/thoughts-on-queryselectorall/
[2] https://github.com/jquery/jquery/blob/master/src/selector-native.js#L4 https://github.com/jquery/jquery/blob/master/src/selector-na...