2121
2222 < h1 > CSS 3D Transforms Module Level 3</ h1 >
2323
24- < h2 class ="no-num no-toc " id =longstatus-date > Editor's Draft 14 April 2009</ h2 >
24+ < h2 class ="no-num no-toc " id =longstatus-date > Editor's Draft 31 October
25+ 2009</ h2 >
2526
2627 < dl >
2728 < dt > This version:
2829
2930 < dd > < a
30- href ="http://www.w3.org/TR/2009/ED-css3-3d-transforms-20090414 "> http://dev.w3.org/csswg/css3-3d-transforms/</ a >
31- <!--http://www.w3.org/TR/2009/WD-css3-3d-transforms-20090414 -->
31+ href ="http://www.w3.org/TR/2009/ED-css3-3d-transforms-20091031 "> http://dev.w3.org/csswg/css3-3d-transforms/</ a >
32+ <!--http://www.w3.org/TR/2009/WD-css3-3d-transforms-20091031 -->
3233
3334 < dt > Latest version:
3435
@@ -111,6 +112,9 @@ <h2 class="no-num no-toc" id=status>Status of this document</h2>
111112 W3C Patent Policy</ a > .</ p >
112113 <!--end-status-->
113114
115+ < p > The < a href =ChangeLog > list of changes made to this specification</ a >
116+ are available.
117+
114118 < h2 class ="no-num no-toc " id =contents > Table of contents</ h2 >
115119 <!--begin-toc-->
116120
@@ -147,17 +151,20 @@ <h2 class="no-num no-toc" id=contents>Table of contents</h2>
147151 < li > < a href ="#animation "> < span class =secno > 9 </ span > Transitions and
148152 animations between transform values </ a >
149153
150- < li > < a href ="#dom-interfaces "> < span class =secno > 10 </ span > DOM Interfaces
154+ < li > < a href ="#rendering-3d "> < span class =secno > 10 </ span > Rendering in 3d
155+ </ a >
156+
157+ < li > < a href ="#dom-interfaces "> < span class =secno > 11 </ span > DOM Interfaces
151158 </ a >
152159 < ul class =toc >
153- < li > < a href ="#cssmatrix-interface "> < span class =secno > 10 .1 </ span > 10.1
160+ < li > < a href ="#cssmatrix-interface "> < span class =secno > 11 .1 </ span > 10.1
154161 CSSMatrix </ a >
155162
156- < li > < a href ="#csstransformvalue-interface "> < span class =secno > 10 .2
163+ < li > < a href ="#csstransformvalue-interface "> < span class =secno > 11 .2
157164 </ span > 10.2 CSSTransformValue </ a >
158165 </ ul >
159166
160- < li > < a href ="#references "> < span class =secno > 11 </ span > References</ a >
167+ < li > < a href ="#references "> < span class =secno > 12 </ span > References</ a >
161168 < ul class =toc >
162169 < li class =no-num > < a href ="#normative-references "> Normative
163170 references</ a >
@@ -426,7 +433,7 @@ <h2 id=perspective-property><span class=secno>5 </span> The <span
426433 < p > The < span class =prop-name > ‘< code class =property > < a
427434 href ="#perspective "> perspective</ a > </ code > ’</ span > property applies
428435 the same transform as the < span
429- class =prop-value > perspective(<number >)</ span > transform function,
436+ class =prop-value > perspective(<length >)</ span > transform function,
430437 except that it applies only to the positioned or transformed children of
431438 the element, not to the transform on the element itself.
432439
@@ -450,7 +457,7 @@ <h2 id=perspective-property><span class=secno>5 </span> The <span
450457 < tr >
451458 < td > < em > Value:</ em >
452459
453- < td > none | <number >
460+ < td > none | <length >
454461
455462 < tr >
456463 < td > < em > Initial:</ em >
@@ -759,7 +766,7 @@ <h2 id=transform-functions><span class=secno>8 </span> The Transformation
759766 the skew on the Y axis. If the second parameter is not given then a value
760767 of 0 is used for the Y angle (ie. no skew on the Y axis).
761768
762- < dt > < span class =prop-value > perspective(<number >)</ span >
769+ < dt > < span class =prop-value > perspective(<length >)</ span >
763770
764771 < dd > specifies a perspective projection matrix. This matrix maps a
765772 < em > viewing cube</ em > onto a pyramid whose base is infinitely far away
@@ -770,11 +777,11 @@ <h2 id=transform-functions><span class=secno>8 </span> The Transformation
770777 viewer). The < em > depth</ em > , given as the parameter to the function,
771778 represents the distance of the z=0 plane from the viewer. Lower values
772779 give a more flattened pyramid and therefore a more pronounced perspective
773- effect. The value is given in pixels, so a value of 1000 gives a moderate
774- amount of foreshortening and a value of 200 gives an extreme amount. The
775- matrix is computed by starting with an identity matrix and replacing the
776- value at row 3, column 4 with the value -1/depth. The value for depth
777- must be greater than zero, otherwise the function is invalid.
780+ effect. For example, a value of 1000px gives a moderate amount of
781+ foreshortening and a value of 200px gives an extreme amount. The matrix
782+ is computed by starting with an identity matrix and replacing the value
783+ at row 3, column 4 with the value -1/depth. The value for depth must be
784+ greater than zero, otherwise the function is invalid.
778785 </ dl >
779786 <!-- ======================================================================================================= -->
780787
@@ -863,13 +870,29 @@ <h2 id=animation><span class=secno>9 </span> Transitions and animations
863870 </ ul >
864871 <!-- ======================================================================================================= -->
865872
866- < h2 id =dom-interfaces > < span class =secno > 10 </ span > DOM Interfaces</ h2 >
873+ < h2 id =rendering-3d > < span class =secno > 10 </ span > Rendering in 3d</ h2 >
874+
875+ < p > Since CSS only describes a flat rendering model, without perspective,
876+ and where everything faces the viewer front on, once three-dimensional
877+ transforms are supported it is necessary to describe how an element should
878+ be drawn in different orientations.
879+
880+ < p > While CSS specifies a rendering order for properties, such as
881+ background, border and content, this rendering order does not imply any
882+ three-dimensional structure. That is, if an element is rotated so that its
883+ back face is facing the user, it will appear like a mirrored version of
884+ the front face. In other words, the transforms are applied to the rendered
885+ version of the elements, as if the element is rendered into an offscreen
886+ buffer, and that buffer is transformed and composited onto the page.</ p >
887+ <!-- ======================================================================================================= -->
888+
889+ < h2 id =dom-interfaces > < span class =secno > 11 </ span > DOM Interfaces</ h2 >
867890
868891 < p > This section describes the interfaces and functionality added to the
869892 DOM to support runtime access to the functionality described above.</ p >
870893 <!-- ============================================================ -->
871894
872- < h3 id =cssmatrix-interface > < span class =secno > 10 .1 </ span > 10.1 CSSMatrix</ h3 >
895+ < h3 id =cssmatrix-interface > < span class =secno > 11 .1 </ span > 10.1 CSSMatrix</ h3 >
873896
874897 < dl >
875898 < dt > < b > Interface < i > < a id =DOM-CSSMatrix
@@ -1241,7 +1264,7 @@ <h3 id=cssmatrix-interface><span class=secno>10.1 </span> 10.1 CSSMatrix</h3>
12411264 </ dl >
12421265 <!-- ============================================================ -->
12431266
1244- < h3 id =csstransformvalue-interface > < span class =secno > 10 .2 </ span > 10.2
1267+ < h3 id =csstransformvalue-interface > < span class =secno > 11 .2 </ span > 10.2
12451268 CSSTransformValue</ h3 >
12461269
12471270 < dl >
@@ -1366,7 +1389,7 @@ <h3 id=csstransformvalue-interface><span class=secno>10.2 </span> 10.2
13661389 functions listed in the < code > < a href ="#effects "> transform</ a > </ code >
13671390 property.
13681391
1369- < h2 id =references > < span class =secno > 11 </ span > References</ h2 >
1392+ < h2 id =references > < span class =secno > 12 </ span > References</ h2 >
13701393
13711394 < h3 class =no-num id =normative-references > Normative references</ h3 >
13721395 <!--begin-normative-->
@@ -1428,7 +1451,7 @@ <h2 class=no-num id=property-index>Property index</h2>
14281451 < tr valign =baseline >
14291452 < td > < a class =property href ="#perspective "> perspective</ a >
14301453
1431- < td > none | <number >
1454+ < td > none | <length >
14321455
14331456 < td > none
14341457
0 commit comments