Pseudo-elements containing -webkit- as prefix have to be considered valid as parse time for web compatibililty. So support is now tested using CSS.supports() with the selector() function instead of document.querySelector().
Note that support for the selector() function is at 95% at caniuse.com, so this change causes some (older) browser versions to generally fail selector tests. Though I believe the advantage of getting it right for current browsers outweighs this.
Pseudo-elements containing
-webkit-
as prefix have to be considered valid as parse time for web compatibililty. So support is now tested usingCSS.supports()
with theselector()
function instead ofdocument.querySelector()
.Note that support for the
selector()
function is at 95% at caniuse.com, so this change causes some (older) browser versions to generally fail selector tests. Though I believe the advantage of getting it right for current browsers outweighs this.This fixes #253.
Sebastian