ded/qwery — Issue #59: MAJOR: CSS3 qSA feature-test will fail if Qwery is loaded in <HEAD>
Author: rvagg
Created: 2011-11-15 07:29:44+00:00
State: open

PR #57 turned the feature-detect for CSS3 qSA from simply `':nth-of-type(1)'` to `'body:nth-of-type(1)'` for performance reasons however since BODY won't be available if Qwery is loaded in HEAD it'll always fail and revert to non-native selection for most cases, which is **seriously** slow compared to native.

Alternative feature-detect in PR #54 that resolves this problem: https://github.com/ded/qwery/pull/54/files#L1R310