Skip to content

Commit caca04a

Browse files
committed
add MSCSSMatrix to matrixFn options
1 parent 118828d commit caca04a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ function matrix(el, selfOnly) {
122122
} while (!selfOnly && (el = el.parentNode));
123123
}
124124

125-
const matrixFn = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix;
125+
const matrixFn = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
126126
/*jshint -W056 */
127127
return matrixFn && (new matrixFn(appliedTransforms));
128128
}

0 commit comments

Comments
 (0)