2121
2222 < h1 > CSS 2D Transforms Module Level 3</ h1 >
2323
24- < h2 class ="no-num no-toc " id =longstatus-date > Editor's Draft 17 November
25- 2009</ h2 >
24+ < h2 class ="no-num no-toc " id =longstatus-date > Editor's Draft 23 March 2010</ h2 >
2625
2726 < dl >
2827 < dt > This version:
2928
3029 < dd > < a
31- href ="http://www.w3.org/TR/2009 /ED-css3-2d-transforms-20091117 "> http://dev.w3.org/csswg/css3-2d-transforms/</ a >
32- <!--http://www.w3.org/TR/2009 /WD-css3-2d-transforms-20091117 -->
30+ href ="http://www.w3.org/TR/2010 /ED-css3-2d-transforms-20100323 "> http://dev.w3.org/csswg/css3-2d-transforms/</ a >
31+ <!--http://www.w3.org/TR/2010 /WD-css3-2d-transforms-20100323 -->
3332
3433 < dt > Latest version:
3534
@@ -56,13 +55,13 @@ <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 17 November
5655 <!--begin-copyright-->
5756 < p class =copyright > < a
5857 href ="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright "
59- rel =license > Copyright</ a > © 2009 < a
58+ rel =license > Copyright</ a > © 2010 < a
6059 href ="http://www.w3.org/ "> < acronym title ="World Wide Web
6160 Consortium "> W3C</ acronym > </ a > < sup > ®</ sup > (< a
6261 href ="http://www.csail.mit.edu/ "> < acronym title ="Massachusetts Institute
63- of Technology "> MIT</ acronym > </ a > , < a
64- href =" http://www.ercim.org/ " > < acronym title ="European Research Consortium
65- for Informatics and Mathematics "> ERCIM</ acronym > </ a > , < a
62+ of Technology "> MIT</ acronym > </ a > , < a href =" http://www.ercim.eu/ " > < acronym
63+ title ="European Research Consortium for Informatics and
64+ Mathematics "> ERCIM</ acronym > </ a > , < a
6665 href ="http://www.keio.ac.jp/ "> Keio</ a > ), All Rights Reserved. W3C < a
6766 href ="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer "> liability</ a > ,
6867 < a
@@ -89,11 +88,13 @@ <h2 class="no-num no-toc" id=status>Status of this document</h2>
8988
9089 < p > The (< a
9190 href ="http://lists.w3.org/Archives/Public/www-style/ "> archived</ a > ) public
92- mailing list < a href ="mailto:www-style@w3.org "> www-style@w3.org</ a > (see
93- < a href ="http://www.w3.org/Mail/Request "> instructions</ a > ) is preferred
94- for discussion of this specification. When sending e-mail, please put the
95- text “css3-2d-transforms” in the subject, preferably like
96- this: “[<!----> css3-2d-transforms<!----> ] < em > …summary of
91+ mailing list < a
92+ href ="mailto:www-style@w3.org?Subject=%5Bcss3-2d-transforms%5D%20PUT%20SUBJECT%20HERE ">
93+ www-style@w3.org</ a > (see < a
94+ href ="http://www.w3.org/Mail/Request "> instructions</ a > ) is preferred for
95+ discussion of this specification. When sending e-mail, please put the text
96+ “css3-2d-transforms” in the subject, preferably like this:
97+ “[<!----> css3-2d-transforms<!----> ] < em > …summary of
9798 comment…</ em > ”
9899
99100 < p > This document was produced by the < a href ="/Style/CSS/members "> CSS
@@ -119,36 +120,36 @@ <h2 class="no-num no-toc" id=contents>Table of contents</h2>
119120 <!--begin-toc-->
120121
121122 < ul class =toc >
122- < li > < a href ="#introduction "> < span class =secno > 1 </ span > Introduction</ a >
123+ < li > < a href ="#introduction "> < span class =secno > 1. </ span > Introduction</ a >
123124
124- < li > < a href ="#transform-property "> < span class =secno > 2 </ span > The < span
125+ < li > < a href ="#transform-property "> < span class =secno > 2. </ span > The < span
125126 class =prop-name > ‘< code
126127 class =property > transform</ code > ’</ span > Property </ a >
127128
128- < li > < a href ="#transform-origin-property "> < span class =secno > 3 </ span > The
129+ < li > < a href ="#transform-origin-property "> < span class =secno > 3. </ span > The
129130 < span class =prop-name > ‘< code
130131 class =property > transform-origin</ code > ’</ span > Property </ a >
131132
132- < li > < a href ="#transform-functions "> < span class =secno > 4 </ span > The
133+ < li > < a href ="#transform-functions "> < span class =secno > 4. </ span > The
133134 Transformation Functions </ a >
134135
135- < li > < a href ="#transform-values "> < span class =secno > 5 </ span > Transform
136+ < li > < a href ="#transform-values "> < span class =secno > 5. </ span > Transform
136137 Values and Lists </ a >
137138
138- < li > < a href ="#animation "> < span class =secno > 6 </ span > Transitions and
139+ < li > < a href ="#animation "> < span class =secno > 6. </ span > Transitions and
139140 animations between transform values </ a >
140141
141- < li > < a href ="#matrix-decomposition "> < span class =secno > 7 </ span > Matrix
142+ < li > < a href ="#matrix-decomposition "> < span class =secno > 7. </ span > Matrix
142143 decomposition for animation </ a >
143144
144- < li > < a href ="#dom-interfaces "> < span class =secno > 8 </ span > DOM Interfaces
145+ < li > < a href ="#dom-interfaces "> < span class =secno > 8. </ span > DOM Interfaces
145146 </ a >
146147 < ul class =toc >
147- < li > < a href ="#cssmatrix-interface "> < span class =secno > 8.1 </ span >
148+ < li > < a href ="#cssmatrix-interface "> < span class =secno > 8.1. </ span >
148149 CSSMatrix </ a >
149150 </ ul >
150151
151- < li > < a href ="#references "> < span class =secno > 9 </ span > References</ a >
152+ < li > < a href ="#references "> < span class =secno > 9. </ span > References</ a >
152153 < ul class =toc >
153154 < li class =no-num > < a href ="#normative-references "> Normative
154155 references</ a >
@@ -162,7 +163,7 @@ <h2 class="no-num no-toc" id=contents>Table of contents</h2>
162163 </ ul >
163164 <!--end-toc-->
164165
165- < h2 id =introduction > < span class =secno > 1 </ span > Introduction</ h2 >
166+ < h2 id =introduction > < span class =secno > 1. </ span > Introduction</ h2 >
166167
167168 < p > < em > This section is not normative.</ em >
168169
@@ -245,7 +246,7 @@ <h2 id=introduction><span class=secno>1 </span>Introduction</h2>
245246 to set the correct transform.</ div >
246247 <!-- ======================================================================================================= -->
247248
248- < h2 id =transform-property > < span class =secno > 2 </ span > The < span
249+ < h2 id =transform-property > < span class =secno > 2. </ span > The < span
249250 class =prop-name > ‘< code class =property > < a
250251 href ="#effects "> transform</ a > </ code > ’</ span > Property</ h2 >
251252
@@ -287,7 +288,7 @@ <h2 id=transform-property><span class=secno>2 </span> The <span
287288 < tr >
288289 < td > < em > Percentages:</ em >
289290
290- < td > refer to the size of the element's box
291+ < td > refer to the size of the element's border box
291292
292293 < tr >
293294 < td > < em > Media:</ em >
@@ -301,7 +302,7 @@ <h2 id=transform-property><span class=secno>2 </span> The <span
301302 </ table >
302303 <!-- ======================================================================================================= -->
303304
304- < h2 id =transform-origin-property > < span class =secno > 3 </ span > The < span
305+ < h2 id =transform-origin-property > < span class =secno > 3. </ span > The < span
305306 class =prop-name > ‘< code class =property > < a
306307 href ="#transform-origin "> transform-origin</ a > </ code > ’</ span >
307308 Property</ h2 >
@@ -316,11 +317,27 @@ <h2 id=transform-origin-property><span class=secno>3 </span> The <span
316317 applies the element's transform, then moves the element back to its
317318 original position.
318319
319- < p > If only one value is specified, the second value is assumed to be
320- ‘< code class =property > center</ code > ’. If at least one value is
321- not a keyword, then the first value represents the horizontal position and
322- the second represents the vertical position. Negative <percentage>
323- and <length> values are allowed.
320+ < p > If only one value is specified, the second value is assumed to be
321+ ‘< code class =property > center</ code > ’. If two values are given
322+ and at least one value is not a keyword, then the first value represents
323+ the horizontal position (or offset) and the second represents the vertical
324+ position (or offset). < var > <percentage></ var > and
325+ < var > <length></ var > values here represent an offset of the transform
326+ origin from the top left corner of the element's border box.
327+
328+ < p > If three or four values are given, then each
329+ < var > <percentage></ var > or< var > <length></ var > represents an
330+ offset and must be preceded by a keyword, which specifies from which edge
331+ the offset is given. For example, ‘< code class =css > transform-origin:
332+ bottom 10px right 20px</ code > ’ represents a ‘< code
333+ class =css > 10px</ code > ’ vertical offset up from the bottom edge and a
334+ ‘< code class =css > 20px</ code > ’ horizontal offset leftward from
335+ the right edge. If three values are given, the missing offset is assumed
336+ to be zero.
337+
338+ < p > Positive values represent an offset < em > inward</ em > from the edge of the
339+ border box. Negative values represent an offset < em > outward</ em > from the
340+ edge of the border box.
324341
325342 < table class =propdef >
326343 < tbody >
@@ -332,9 +349,12 @@ <h2 id=transform-origin-property><span class=secno>3 </span> The <span
332349 < tr >
333350 < td > < em > Value:</ em >
334351
335- < td > [ [ <percentage> | <length> | left | center | right ] [
336- <percentage> | <length> | top | center | bottom ]? ] | [ [
337- left | center | right ] || [ top | center | bottom ] ]
352+ < td > [ top | bottom ] |< br >
353+ [ <percentage> | <length> | left | center | right ] [
354+ <percentage> | <length> | top | center | bottom ]? |< br >
355+ [ center | [ left | right ] [ <percentage> | <length> ]? ]
356+ && [ center | [ top | bottom ] [ <percentage> |
357+ <length> ]? ]< br >
338358
339359 < tr >
340360 < td > < em > Initial:</ em >
@@ -354,7 +374,7 @@ <h2 id=transform-origin-property><span class=secno>3 </span> The <span
354374 < tr >
355375 < td > < em > Percentages:</ em >
356376
357- < td > refer to the size of the element's box
377+ < td > refer to the size of the element's border sbox
358378
359379 < tr >
360380 < td > < em > Media:</ em >
@@ -368,7 +388,7 @@ <h2 id=transform-origin-property><span class=secno>3 </span> The <span
368388 </ table >
369389 <!-- ======================================================================================================= -->
370390
371- < h2 id =transform-functions > < span class =secno > 4 </ span > The Transformation
391+ < h2 id =transform-functions > < span class =secno > 4. </ span > The Transformation
372392 Functions</ h2 >
373393
374394 < p > The value of the < a class =prop-name href ="#effects "> transform</ a >
@@ -460,7 +480,7 @@ <h2 id=transform-functions><span class=secno>4 </span> The Transformation
460480 of 0 is used for the Y angle (ie. no skew on the Y axis).
461481 </ dl >
462482
463- < h2 id =transform-values > < span class =secno > 5 </ span > Transform Values and
483+ < h2 id =transform-values > < span class =secno > 5. </ span > Transform Values and
464484 Lists</ h2 >
465485
466486 < p > The <translation-value> values are defined as [<percentage>
@@ -514,7 +534,7 @@ <h2 id=transform-values><span class=secno>5 </span> Transform Values and
514534 </ div >
515535 <!-- ======================================================================================================= -->
516536
517- < h2 id =animation > < span class =secno > 6 </ span > Transitions and animations
537+ < h2 id =animation > < span class =secno > 6. </ span > Transitions and animations
518538 between transform values</ h2 >
519539
520540 < p > When animating or transitioning the value of a transform property the
@@ -600,7 +620,7 @@ <h2 id=animation><span class=secno>6 </span> Transitions and animations
600620 from 1 to -1. At the time when the matrix is in such a state, the
601621 transformed element is not rendered.
602622
603- < h2 id =matrix-decomposition > < span class =secno > 7 </ span > Matrix
623+ < h2 id =matrix-decomposition > < span class =secno > 7. </ span > Matrix
604624 decomposition for animation</ h2 >
605625
606626 < p > When interpolating between 2 matrices, each is decomposed into the
@@ -763,12 +783,12 @@ <h2 id=matrix-decomposition><span class=secno>7 </span> Matrix
763783 scale3d(scale[0], scale[1], scale[2])
764784 </ pre >
765785
766- < h2 id =dom-interfaces > < span class =secno > 8 </ span > DOM Interfaces</ h2 >
786+ < h2 id =dom-interfaces > < span class =secno > 8. </ span > DOM Interfaces</ h2 >
767787
768788 < p > This section describes the interfaces and functionality added to the
769789 DOM to support runtime access to the functionality described above.
770790
771- < h3 id =cssmatrix-interface > < span class =secno > 8.1 </ span > CSSMatrix</ h3 >
791+ < h3 id =cssmatrix-interface > < span class =secno > 8.1. </ span > CSSMatrix</ h3 >
772792
773793 < dl >
774794 < dt > < b > Interface < i > < a id =DOM-CSSMatrix
@@ -1133,7 +1153,7 @@ <h3 id=cssmatrix-interface><span class=secno>8.1 </span> CSSMatrix</h3>
11331153 matrix that is the result of applying the individual functions listed in
11341154 the < code > < a href ="#effects "> transform</ a > </ code > property.
11351155
1136- < h2 id =references > < span class =secno > 9 </ span > References</ h2 >
1156+ < h2 id =references > < span class =secno > 9. </ span > References</ h2 >
11371157
11381158 < h3 class =no-num id =normative-references > Normative references</ h3 >
11391159 <!--begin-normative-->
@@ -1187,24 +1207,26 @@ <h2 class=no-num id=property-index>Property index</h2>
11871207
11881208 < td > no
11891209
1190- < td > refer to the size of the element's box
1210+ < td > refer to the size of the element's border box
11911211
11921212 < td > visual
11931213
11941214 < tr valign =baseline >
11951215 < td > < a class =property href ="#transform-origin "> transform-origin</ a >
11961216
1197- < td > [ [ <percentage> | <length> | left | center | right ] [
1198- <percentage> | <length> | top | center | bottom ]? ] | [ [
1199- left | center | right ] || [ top | center | bottom ] ]
1217+ < td > [ top | bottom ] | [ <percentage> | <length> | left |
1218+ center | right ] [ <percentage> | <length> | top | center |
1219+ bottom ]? | [ center | [ left | right ] [ <percentage> |
1220+ <length> ]? ] && [ center | [ top | bottom ] [
1221+ <percentage> | <length> ]? ]
12001222
12011223 < td > 50% 50%
12021224
12031225 < td > block-level and inline-level elements
12041226
12051227 < td > no
12061228
1207- < td > refer to the size of the element's box
1229+ < td > refer to the size of the element's border sbox
12081230
12091231 < td > visual
12101232 </ table >
@@ -1214,10 +1236,10 @@ <h2 class=no-num id=index>Index</h2>
12141236 <!--begin-index-->
12151237
12161238 < ul class =indexlist >
1217- < li > transform, < a href ="#effects " title =transform > < strong > 2</ strong > </ a >
1239+ < li > transform, < a href ="#effects " title =transform > < strong > 2. </ strong > </ a >
12181240
12191241 < li > transform-origin, < a href ="#transform-origin "
1220- title =transform-origin > < strong > 3</ strong > </ a >
1242+ title =transform-origin > < strong > 3. </ strong > </ a >
12211243 </ ul >
12221244 <!--end-index-->
12231245</ html >
0 commit comments