cssinjs / css-vendor

Runtime vendor prefixing based on feature detection.
MIT License
67 stars 24 forks source link

Correctly Detect Vendor Prefix for Edge #12

Closed cvle closed 7 years ago

cvle commented 7 years ago

Edge kicked out the -ms-transform property and cannot correctly be detected only by checking the transform property. I considered using a different css property but I couldn't find one that was more suitable than using transform. The closest candidate was user-select but then we would not correctly detect some older browsers like IE 9 and Opera mobile..

This PR adds an extra check that corrects the false detection. Reduces failing tests by 11!

232 to go! ;-)

kof commented 7 years ago

nice

kof commented 7 years ago

merged