geometry-interfaces
geometry-interfaces copied to clipboard
`DOMMatrix.multiply` should allow undefined argument
The specification says:
If
otherMatrixis omitted, the matrix is multiplied by a matrix in which every element is0except the bottom-right corner and the element immediately above and to its left:m33andm34. These have the default value of1.
In fact, the polyfill throws an error: «The argument to multiplySelf must be an instance of DOMMatrix».
Using new DOMMatrix() as the default argument value should solve this issue.