xtag.prefix detecting "webkit" for Internet Explorer 10 and 11
jpecor-pmi opened this issue · comments
jpecor-pmi commented
xtag.prefix
is returning {dom: "webkit", lowercase: "webkit", css: "-webkit-", js: "Webkit"}
for Internet Explorer 10 and 11. This causes matchSelector
to be undefined
in these browsers, because it tries to assign it the value of Element.prototype['webkitMatchesSelector']
instead of Element.prototype['msMatchesSelector']
.
Daniel Buchner commented
Hmm, it should be finding the MS prefix first - I will investigate. Edge supports the Webkit properties for compat sake, so that's probably why it is assigning it.
Mykyta Mazurenko commented
Are there any updates?
Is there any chance to make a quick fix like this:
mnkami@e63434d
Daniel Buchner commented
Yes, we can just make that check explicit
…On Jan 26, 2017 2:26 AM, "Mykyta Mazurenko" ***@***.***> wrote:
Are there any updates?
Is there any chance to make a quick fix like this:
***@***.***
<mnkami@e63434d>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#164 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAICysGizG79gyrg0PgPBej3kBqpcxbXks5rWHTvgaJpZM4Kgf_V>
.