File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -2071,15 +2071,17 @@ is a [=list=] of {{CSSTransformComponent}}s.
20712071 when invoked,
20722072 perform the following steps:
20732073
2074- 1. If |x|, |y|, or |z| (if passed)
2075- don't match <<length-percentage>> ,
2074+ 1. If |x| or |y| don't match <<length-percentage>> ,
20762075 [=throw=] a {{TypeError}} .
20772076
2078- 2. Let |this| be a new {{CSSTranslate}} object,
2077+ 2. If |z| was passed, but doesn't match <<length>> ,
2078+ [=throw=] a {{TypeError}} .
2079+
2080+ 3. Let |this| be a new {{CSSTranslate}} object,
20792081 with its {{CSSTranslate/x}} and {{CSSTranslate/y}} internal slots
20802082 set to |x| and |y|.
20812083
2082- 3 . If |z| was passed,
2084+ 4 . If |z| was passed,
20832085 set |this|’s {{CSSTranslate/z}} internal slot
20842086 to |z|,
20852087 and set |this|’s {{CSSTransformComponent/is2D}} internal slot
@@ -2091,7 +2093,7 @@ is a [=list=] of {{CSSTransformComponent}}s.
20912093 and set |this|’s {{CSSTransformComponent/is2D}} internal slot
20922094 to `true`.
20932095
2094- 5 . Return |this|.
2096+ 6 . Return |this|.
20952097</div>
20962098
20972099<div algorithm="CSSRotate(angle)">
You can’t perform that action at this time.
0 commit comments