Skip to content

Commit 73ee670

Browse files
committed
[css-transforms-1] Attempt to address some of issue #909 by changing the example to talk about transforming coordinate systems, rather than moving the element.
1 parent 5213fc8 commit 73ee670

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

css-transforms-1/Overview.bs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ The 'transform-origin' property moves the point of origin by 50 pixels in both t
206206
}
207207
</pre>
208208

209-
This transform moves the element by 80 pixels in both the X and Y directions, then scales the element by 150%, then rotates it 45&deg; clockwise about the Z axis. Note that the scale and rotation operate about the center of the element, since the element has the default transform-origin of ''50% 50%''.
209+
This transformation translates the local coordinate system by 80 pixels in both the X and Y directions, then applies a 150% scale, then a 45&deg; clockwise rotation about the Z axis. The impact on the rendering of the element can be intepreted as an application of these transforms in reverse order: the elements is rotated, then scaled, then translated.
210210

211211
<div class="figure">
212212
<img src="examples/compound_transform.svg" alt="The transform specified above" width="270" height="270">
@@ -239,7 +239,7 @@ Note: If the root element is transformed, the transformation applies to the enti
239239
The 'transform' Property {#transform-property}
240240
==============================================
241241

242-
A transformation is applied to the coordinate system an element renders in through the 'transform' property. This property contains a list of <a href="#transform-functions">transform functions</a>. The final transformation value for a coordinate system is obtained by converting each function in the list to its corresponding matrix like defined in <a href="#mathematical-description">Mathematical Description of Transform Functions</a>, then multiplying the matrices.
242+
A transformation is applied to the coordinate system an element renders into through the 'transform' property. This property contains a list of <a href="#transform-functions">transform functions</a>. The final transformation value for a coordinate system is obtained by converting each function in the list to its corresponding matrix like defined in <a href="#mathematical-description">Mathematical Description of Transform Functions</a>, then multiplying the matrices.
243243

244244
<pre class='propdef'>
245245
Name: transform
@@ -609,9 +609,9 @@ A percentage for vertical translations is relative to the height of the [=refere
609609
2D Transform Functions {#two-d-transform-functions}
610610
----------------------
611611

612-
<dl dfn-for=transform dfn-type=value>>
612+
<dl dfn-for=transform dfn-type=value>
613613
: <span class='prod'><dfn>matrix()</dfn> = matrix( <<number>> [, <<number>> ]{5,5} )</span>
614-
:: specifies a 2D transformation in the form of a <a href="#MatrixDefined">transformation matrix</a> of the six values a-f.
614+
:: specifies a 2D transformation in the form of a <a href="#MatrixDefined">transformation matrix</a> of the six values a, b, c, d, e, f.
615615

616616
: <span class='prod'><dfn>translate()</dfn> = translate( <<length-percentage>> [, <<length-percentage>> ]? )</span>
617617
:: specifies a <a href="#TranslateDefined">2D translation</a> by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter. If <em>&lt;ty></em> is not provided, ty has zero as a value.

0 commit comments

Comments
 (0)