DescriptionAdd constructor for DOMMatrixReadOnly
According to the spec (https://www.w3.org/TR/geometry-1/#dom-dommatrixreadonly),
DOMMatrixReadOnly has a constructor that takes a number sequence and construct
a 2D matrix when it has 6 elements or a 3D matrix when it has 16 elements.
Otherwise it throws TypeError.
BUG=388780
Committed: https://crrev.com/196420669e24edf2ba2d8d2811e690232bcac9ad
Cr-Commit-Position: refs/heads/master@{#412902}
Patch Set 1 #Patch Set 2 : Adding a layout test #
Total comments: 1
Patch Set 3 : Nits #
Messages
Total messages: 17 (9 generated)
|