skew() is apparently legacy and our -ms variant might be wrong
Created by: cvrebert
We're currently using transform: skew(@x, @y);
.
According to MDN (emphasis mine):
Note: The
skew()
function was present in early drafts. It has been removed but is still present in some implementations. Do not use it.
Similarly, the current spec says (emphasis mine):
Note that the behavior of
skew()
is different from multiplyingskewX()
withskewY()
. Implementations must support this function for compatibility with legacy content.
So, I'm thinking that we should stop using skew(x, y)
?
Relatedly, we're currently using -ms-transform: skewX(@x) skewY(@y)
, which based on that spec note sounds like it might not be the correct equivalent. Some testing is probably warranted.