Skip to content

Commit 8a65479

Browse files
authored
Merge pull request w3c#2525 from ewilligers/rotateZ-wording
[css-transforms] 2D and 3D rotation are distinct
2 parents 3a54135 + 97eb3b2 commit 8a65479

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

css-transforms-2/Overview.bs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ spec:css-transforms-1;
3434
text: <transform-list>
3535
type: function;
3636
text: matrix()
37+
spec: filter-effects-1; type:property; text:filter;
3738
spec: html; type: element; text: a;
3839
</pre>
3940

@@ -845,7 +846,7 @@ In the following <dfn export>3d transform functions</dfn>, a <<zero>> behaves th
845846
: <span class='prod'><dfn>rotateY()</dfn> = rotateY( [ <<angle>> | <<zero>> ] )</span>
846847
:: same as ''rotate3d(0, 1, 0, &lt;angle>)''.
847848
: <span class='prod'><dfn>rotateZ()</dfn> = rotateZ( [ <<angle>> | <<zero>> ] )</span>
848-
:: same as ''rotate3d(0, 0, 1, &lt;angle>)'', which is also the same as ''rotate(&lt;angle>)''.
849+
:: same as ''rotate3d(0, 0, 1, &lt;angle>)'', which is a 3d transform equivalent to the 2d transform ''rotate(&lt;angle>)''.
849850
: <span class='prod'><dfn>perspective()</dfn> = perspective( <<length>> )</span>
850851
:: specifies a <a href="#PerspectiveDefined">perspective projection matrix</a>. This matrix scales points in X and Y based on their Z value, scaling points with positive Z values away from the origin, and those with negative Z values towards the origin. Points on the z=0 plane are unchanged. The parameter represents the distance of the z=0 plane from the viewer. Lower values give a more flattened pyramid and therefore a more pronounced perspective effect. For example, a value of 1000px gives a moderate amount of foreshortening and a value of 200px gives an extreme amount. The value for depth must be greater than zero, otherwise the function is invalid.
851852

0 commit comments

Comments
 (0)