x-tag/core

xtag.prefix detecting "webkit" for Internet Explorer 10 and 11

jpecor-pmi opened this issue · 3 comments

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'].

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.

Are there any updates?
Is there any chance to make a quick fix like this:
mnkami@e63434d