Skip to content

Commit 7f3d13f

Browse files
committed
[css-transforms-2] Go ahead and inline the rotate computed value.
1 parent b201993 commit 7f3d13f

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

css-transforms-2/Overview.bs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ Value: none | <<angle>> | [ x | y | z | <<number>>{3} ] && <<angle>>
578578
Initial: none
579579
Applies to: <a>transformable elements</a>
580580
Inherited: no
581-
Computed value: the keyword ''rotate/none'', or else see prose
581+
Computed value: the keyword ''rotate/none'', or an <<angle>>, optionally with an axis consisting of a [=list=] of three <<number>>s
582582
Animatable: as SLERP, but see below for ''rotate/none''
583583
</pre>
584584

@@ -587,8 +587,6 @@ and optionally an axis to rotate it around.
587587

588588
If the axis is omitted, this specifies a 2d rotation,
589589
equivalent to the ''rotate()'' function.
590-
In this case, the [=computed value=] of the property
591-
is a single <<angle>> value.
592590

593591
Otherwise, it specifies a 3d rotation:
594592
if <dfn value for=rotate>x</dfn>,
@@ -600,9 +598,6 @@ Alternately, the axis can be specified explicitly
600598
by giving three numbers
601599
representing the x, y, and z components of an origin-centered vector,
602600
equivalent to the ''rotate3d()'' function.
603-
In this case, the [=computed value=] of the property
604-
is an <<angle>> and an axis,
605-
the latter consisting of a [=list=] of three <<number>>s.
606601

607602
Note: While ''rotate: 30deg;'' and ''rotate: z 30deg;'' technically specify the same rotation,
608603
the first declaration is a 2d transform equivalent to ''transform: rotate(30deg);'',

0 commit comments

Comments
 (0)