提交 caca04a0 编写于 作者: J Jeremy Folds

add MSCSSMatrix to matrixFn options

上级 118828dc
......@@ -122,7 +122,7 @@ function matrix(el, selfOnly) {
} while (!selfOnly && (el = el.parentNode));
}
const matrixFn = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix;
const matrixFn = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
/*jshint -W056 */
return matrixFn && (new matrixFn(appliedTransforms));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册