- The
CSSRotation(|x|, |y|, |z|, |angle|) constructor must,
+
+ The CSSRotate(|x|, |y|, |z|, |angle|) constructor must,
when invoked,
perform the following steps:
@@ -2030,10 +2030,10 @@ is a [=list=] of {{CSSTransformComponent}}s.
don't match <>,
[=throw=] a {{TypeError}}.
- 4. Return a new {{CSSRotation}}
- with its {{CSSRotation/angle}} internal slot
+ 4. Return a new {{CSSRotate}}
+ with its {{CSSRotate/angle}} internal slot
set to |angle|,
- its {{CSSRotation/x}}, {{CSSRotation/y}}, {{CSSRotation/z}} internal slots set to |x|, |y|, and |z|,
+ its {{CSSRotate/x}}, {{CSSRotate/y}}, {{CSSRotate/z}} internal slots set to |x|, |y|, and |z|,
and its {{CSSTransformComponent/is2D}} internal slot set to `false`.
@@ -2133,7 +2133,7 @@ is a [=list=] of {{CSSTransformComponent}}s.
Each {{CSSTransformComponent}} can correspond to
one of a number of underlying transform functions.
- For example, a {{CSSTranslation}}
+ For example, a {{CSSTranslate}}
with an x value of ''10px''
and y & z values of ''0px'' could represent any of the following:
@@ -2613,8 +2613,8 @@ while CSS <> values become {{CSSTransformComponent}}s.
: ''translate3d()''
: ''translateZ()''
::
- 1. Return a new {{CSSTranslation}} object,
- whose {{CSSTranslation/x}}, {{CSSTranslation/y}}, and {{CSSTranslation/z}} internal slots
+ 1. Return a new {{CSSTranslate}} object,
+ whose {{CSSTranslate/x}}, {{CSSTranslate/y}}, and {{CSSTranslate/z}} internal slots
are set to the [=normalize a numeric value|normalization=] of the specified x/y/z offsets,
or the [=normalize a numeric value|normalization=] of ''0px'' if not specified in |func|,
and whose {{CSSTransformComponent/is2D}} internal slot
@@ -2641,10 +2641,10 @@ while CSS <> values become {{CSSTransformComponent}}s.
: ''rotateY()''
: ''rotateZ()''
::
- 1. Return a new {{CSSRotation}} object,
- whose {{CSSRotation/angle}} internal slot
+ 1. Return a new {{CSSRotate}} object,
+ whose {{CSSRotate/angle}} internal slot
is set to the [=normalize a numeric value|normalization=] of the specified angle,
- and whose {{CSSRotation/x}}, {{CSSRotation/y}}, and {{CSSRotation/z}} internal slots
+ and whose {{CSSRotate/x}}, {{CSSRotate/y}}, and {{CSSRotate/z}} internal slots
are set to the specified rotation axis coordinates,
or the implicit axis coordinates if not specified in |func|
and whose {{CSSTransformComponent/is2D}} internal slot
@@ -3074,7 +3074,7 @@ Computed {{CSSTransformValue}} objects {#computed-transformvalue-objects}
-------------------------------------------------------------------------
During computation, any {{CSSNumericValue}} objects referenced by a {{CSSTransformComponent}}
-(e.g. the {{CSSTranslation/x}} attribute of a {{CSSTranslation}}) are
+(e.g. the {{CSSTranslate/x}} attribute of a {{CSSTranslate}}) are
computed according to [[#computed-numericvalue-objects]], but the
{{CSSTransformValue}} object is otherwise as specified.