3636
3737 < h1 > CSS Transforms</ h1 >
3838
39- < h2 class ="no-num no-toc " id =longstatus-date > Editor's Draft 13 February
39+ < h2 class ="no-num no-toc " id =longstatus-date > Editor's Draft 14 February
4040 2012</ h2 >
4141
4242 < dl >
4343 < dt > This version:
4444
4545 < dd > < a
46- href ="http://www.w3.org/TR/2012/ED-css3-transforms-20120213 / "> http://dev.w3.org/csswg/css3-transforms/</ a >
47- <!--http://www.w3.org/TR/2012/WD-css3-transforms-20120213 -->
46+ href ="http://www.w3.org/TR/2012/ED-css3-transforms-20120214 / "> http://dev.w3.org/csswg/css3-transforms/</ a >
47+ <!--http://www.w3.org/TR/2012/WD-css3-transforms-20120214 -->
4848
4949 < dt > Latest version:
5050
@@ -213,10 +213,10 @@ <h2 class="no-num no-toc" id=contents>Table of contents</h2>
213213 Values and Lists </ a >
214214
215215 < li > < a href ="#animation "> < span class =secno > 14. </ span > Transitions and
216- animations between transform values </ a >
216+ Animations between Transform Values </ a >
217217
218218 < li > < a href ="#matrix-decomposition "> < span class =secno > 15. </ span > Matrix
219- decomposition for animation </ a >
219+ Decomposition for Animation </ a >
<
77F4
code>220 220 < ul class =toc >
221221 < li > < a href ="#unmatrix "> < span class =secno > 15.1. </ span > Unmatrix</ a >
222222
@@ -228,7 +228,7 @@ <h2 class="no-num no-toc" id=contents>Table of contents</h2>
228228 </ ul >
229229
230230 < li > < a href ="#mathematical-description "> < span class =secno > 16. </ span >
231- Mathematical description of transformation functions </ a >
231+ Mathematical Description of Transformation Functions </ a >
232232
233233 < li > < a href ="#dom-interfaces "> < span class =secno > 17. </ span > DOM Interfaces
234234 </ a >
@@ -259,10 +259,10 @@ <h2 id=introduction><span class=secno>1. </span>Introduction</h2>
259259 < p > < em > This section is not normative.</ em >
260260
261261 < p > The CSS < a href ="http://www.w3.org/TR/REC-CSS2/visuren.html "> visual
262- formatting model</ a > describes a coordinate system within which each
263- element is positioned. Positions and sizes in this coordinate space can be
264- thought of as being expressed in pixels, starting in the upper left corner
265- of the parent with positive values proceeding to the right and down.
262+ formatting model</ a > describes a coordinate system within each element is
263+ positioned. Positions and sizes in this coordinate space can be thought of
264+ as being expressed in pixels, starting in the origin of point with
265+ positive values proceeding to the right and down.
266266
267267 < p > This coordinate space can be modified with the < a href ="#effects "> < code
268268 class =property > 'transform'</ code > </ a > property. Using transform, elements
@@ -822,9 +822,9 @@ <h2 id=transform-property><span class=secno>6. </span> The <a
822822 class =property > 'transform'</ code > </ a > property. This property contains a
823823 list of < a href ="#transform-functions "> transform functions</ a > . The final
824824 transformation value for a coordinate system is obtained by converting
825- each function in the list to its corresponding matrix (either defined in
826- this specification or by reference to the SVG specification), then
827- multiplying the matrices.
825+ each function in the list to its corresponding matrix like defined in < a
826+ href =" #mathematical-description " > Mathematical Description of
827+ Transformation Functions </ a > , then multiplying the matrices.
828828
829829 < table class =propdef >
830830 < tbody >
@@ -1527,8 +1527,8 @@ <h2 id=transform-values><span class=secno>13. </span> Transform Values and
15271527 is the matrix multiplication of the list of transforms.</ p >
15281528 <!-- ======================================================================================================= -->
15291529
1530- < h2 id =animation > < span class =secno > 14. </ span > Transitions and animations
1531- between transform values </ h2 >
1530+ < h2 id =animation > < span class =secno > 14. </ span > Transitions and Animations
1531+ between Transform Values </ h2 >
15321532
15331533 < p > When animating or transitioning the value of a transform property the
15341534 rules described below are applied. The ‘< code
@@ -1616,7 +1616,7 @@ <h2 id=animation><span class=secno>14. </span> Transitions and animations
16161616 transformed element is not rendered.
16171617
16181618 < h2 id =matrix-decomposition > < span class =secno > 15. </ span > Matrix
1619- decomposition for animation </ h2 >
1619+ Decomposition for Animation </ h2 >
16201620
16211621 < p > When interpolating between 2 matrices, each is decomposed into the
16221622 corresponding translation, rotation, scale, skew and perspective values.
@@ -1793,7 +1793,7 @@ <h3 id=recomposing-the-matrix><span class=secno>15.3. </span>Recomposing
17931793 scale3d(scale[0], scale[1], scale[2])</ pre >
17941794
17951795 < h2 id =mathematical-description > < span class =secno > 16. </ span > Mathematical
1796- description of transformation functions </ h2 >
1796+ Description of Transformation Functions </ h2 >
17971797
17981798 < p > Mathematically, all transformation functions can be represented as 4x4
17991799 transformation matrices of the following form:
@@ -1850,12 +1850,12 @@ <h2 id=mathematical-description><span class=secno>16. </span> Mathematical
18501850 < p > A 3D rotation with the vector [x,y,z] and the parameter
18511851 < em > alpha</ em > is equivalent to the matrix:</ p >
18521852 < img height =106 src =rotate3dmatrix.png
1853- title ="\begin{bmatrix} 1 - 2 \cdot (x ^2 + z^2) \cdot sq & 2 \cdot (x \cdot y \cdot sq - z \cdot sc) & 2 \cdot (x \cdot z \cdot sq + y \cdot sc) & 0 \\ 2 \cdot (x \cdot y \cdot sq + z \cdot sc) & 1 - 2 \cdot (z ^2 + x ^2) \cdot sq & 2 \cdot (y \cdot z \cdot sq - x \cdot sc) & 0 \\ 2 \cdot (x \cdot z \cdot sq - y \cdot sc) & 2 \cdot (y \cdot z \cdot sq + x \cdot sc) & 1 - 2 \cdot (x^2 + y^2) \cdot sq & 0 \\ 0 & 0 & 0 & 1 \end{bmatrix} "
1853+ title ="\begin{bmatrix} 1 - 2 \cdot (y ^2 + z^2) \cdot sq & 2 \cdot (x \cdot y \cdot sq - z \cdot sc) & 2 \cdot (x \cdot z \cdot sq + y \cdot sc) & 0 \\ 2 \cdot (x \cdot y \cdot sq + z \cdot sc) & 1 - 2 \cdot (x ^2 + z ^2) \cdot sq & 2 \cdot (y \cdot z \cdot sq - x \cdot sc) & 0 \\ 2 \cdot (x \cdot z \cdot sq - y \cdot sc) & 2 \cdot (y \cdot z \cdot sq + x \cdot sc) & 1 - 2 \cdot (x^2 + y^2) \cdot sq & 0 \\ 0 & 0 & 0 & 1 \end{bmatrix} "
18541854 width =647 >
18551855 < p > where:</ p >
18561856 < img height =50 src =rotate3dvariables.png
1857- title ="\newline sc = \sin (\alpha) \cdot \cos (\alpha) \newline sq = \sin^2 (\alpha) "
1858- width =177 >
1857+ title ="\newline sc = \sin (\alpha/2 ) \cdot \cos (\alpha/2 ) \newline sq = \sin^2 (\alpha/2 ) "
1858+ width =221 >
18591859
18601860 < li id =RotateXDefined >
18611861 < p > A 3D rotation about the X axis with the parameter < em > alpha</ em > is
0 commit comments