File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -1749,9 +1749,16 @@ is a [=list=] of {{CSSTransformComponent}}s.
1749
1749
1750
1750
2. [=list/For each=] |func| in |this|’s [=values to iterate over=] :
1751
1751
1752
- 1. Set |matrix| to the result of multiplying |matrix|
1753
- and |func|’s equivalent 4x4 transform matrix.
1754
- 2. If |func|’s {{CSSTransformComponent/is2D}} internal slot is `false`,
1752
+ 1. Let |funcMatrix| be |func|’s equivalent 4x4 transform matrix,
1753
+ as defined in [[css-transforms-1#mathematical-description]] .
1754
+
1755
+ As the entries of such a matrix are defined relative to the ''px'' unit,
1756
+ if any <<length>> s in |func| involved in generating the matrix
1757
+ are not [=compatible units=] with ''px'' ,
1758
+ [=throw=] a {{TypeError}} .
1759
+ 2. Set |matrix| to the result of multiplying |matrix|
1760
+ and |funcMatrix|.
1761
+ 3. If |func|’s {{CSSTransformComponent/is2D}} internal slot is `false`,
1755
1762
set |is2D| to `false`.
1756
1763
1757
1764
3. Return a new {{DOMMatrix}}
You can’t perform that action at this time.
0 commit comments