You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The values of the '<codeclass="property">transform</code>' and
889
-
'<codeclass="property">transform-origin</code>' properties are used to compute the
890
-
<ahref="#TermTransformationMatrix"><i>transformation matrix</i></a>, as described above.
888
+
The values of the 'transform' and 'transform-origin' properties are used to compute
889
+
the <ahref="#TermTransformationMatrix"><i>transformation matrix</i></a>, as
890
+
described above.
891
891
</p>
892
892
893
-
<p>If only one value is specified, the second value is assumed to be
894
-
'center'. If one or two values are specified, the third value is
895
-
assumed to be '0px'.
893
+
<p>
894
+
If only one value is specified, the second value is assumed to be '<code
895
+
class="css">center</code>'. If one or two values are specified, the third value is
896
+
assumed to be '<codeclass="css">0px</code>'.
896
897
</p>
897
898
898
-
<p>If at least one of the first two values is not a keyword, then
899
-
the first value represents the horizontal position (or offset)
900
-
and the second represents the vertical position (or offset). The
901
-
third value always represents the Z position (or offset).
899
+
<p>
900
+
If two or more values are defined and either no value is a keyword, or the only
901
+
used keyword is '<codeclass="css">center</code>', then the first value
902
+
represents the horizontal position (or offset) and the second represents the
903
+
vertical position (or offset). A third value always represents the Z position (or
904
+
offset) and must be of type <var><length></var>.
902
905
</p>
903
906
904
907
<p><var><percentage></var> and <var><length></var>
@@ -1489,29 +1492,39 @@ <h3 id="svg-gradient-transform-pattern-transform">The SVG 'gradientTransform' an
1489
1492
the SVG '<codeclass="property">transform</code>' attribute. This specification does not introduce corresponding CSS style properties. Both, the 'gradientTransform' and the 'patternTransform' attribute, are presentation attributes for the 'transform' property.
specifies a <ahref="#RotateDefined">2D rotation</a> by the angle specified in the parameter about the origin of the element, as defined
1506
-
by the '<codeclass="property">transform-origin</code>' property. If the optional translation values are specified, the transform origin is translated by that amount
1507
-
(using the current transformation matrix) for the duration of the rotate operation.
1508
-
For example '<codeclass="css">rotate(90deg, 100px, 100px)</code>' would elements cause to appear rotated one-quarter of a turn in the clockwise direction after a translation
1509
-
of 100 pixel in the vertical and horizontal direction.
1514
+
specifies a <ahref="#RotateDefined">2D rotation</a> by the angle specified in the
1515
+
parameter about the origin of the element, as defined by the 'transform-origin'
1516
+
property. If the optional translation values are specified, the transform origin
1517
+
is translated by that amount (using the current transformation matrix) for the
1518
+
duration of the rotate operation. For example '<code
1519
+
class="css">rotate(90deg, 100px, 100px)</code>' would cause elements to appear
1520
+
rotated one-quarter of a turn in the clockwise direction after a translation of
1521
+
100 pixel in the vertical and horizontal direction.
1510
1522
</dd>
1511
1523
</dl>
1512
1524
1513
1525
<p>
1514
-
User agents are just required to support the two optional arguments for translation on elements in the SVG namespace.
1526
+
User agents are just required to support the two optional arguments for translation
1527
+
on elements in the SVG namespace.
1515
1528
</p>
1516
1529
1517
1530
<h3id="svg-three-dimensional-functions">SVG and 3D transform functions</h3>
0 commit comments