|
36 | 36 |
|
37 | 37 | <h1>CSS Transforms</h1> |
38 | 38 |
|
39 | | - <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 16 March 2012</h2> |
| 39 | + <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 19 March 2012</h2> |
40 | 40 |
|
41 | 41 | <dl> |
42 | 42 | <dt>This version: |
43 | 43 |
|
44 | 44 | <dd> <a |
45 | | - href="http://www.w3.org/TR/2012/ED-css3-transforms-20120316/">http://dev.w3.org/csswg/css3-transforms/</a> |
46 | | - <!--http://www.w3.org/TR/2012/WD-css3-transforms-20120316--> |
| 45 | + href="http://www.w3.org/TR/2012/ED-css3-transforms-20120319/">http://dev.w3.org/csswg/css3-transforms/</a> |
| 46 | + <!--http://www.w3.org/TR/2012/WD-css3-transforms-20120319--> |
47 | 47 |
|
48 | 48 | <dt>Latest version: |
49 | 49 |
|
@@ -468,6 +468,15 @@ <h2 id=definitions><span class=secno>4. </span>Definitions</h2> |
468 | 468 | class=property>transform-origin</code></code></a>’ properties as |
469 | 469 | described <a href="#transformation-matrix-computation">below</a>.</p> |
470 | 470 |
|
| 471 | + <dt id=TermAccumulated3DTransformationMatrix> <dfn |
| 472 | + id=accumulated-3d-transformation-matrix>accumulated 3D transformation |
| 473 | + matrix</dfn> |
| 474 | + |
| 475 | + <dd> |
| 476 | + <p> A matrix computed for elements in a <a href="#d-rendering-context">3D |
| 477 | + rendering context</a>, as described <a |
| 478 | + href="#accumulated-3d-transformation-matrix-computation">below</a>.</p> |
| 479 | + |
471 | 480 | <dt id=Term3DRenderingContext><dfn id=d-rendering-context>3D rendering |
472 | 481 | context</dfn> |
473 | 482 |
|
@@ -845,12 +854,14 @@ <h3 id=transform-3d-rendering><span class=secno>5.1. </span>3D Transform |
845 | 854 | href="#d-rendering-context">3D rendering context</a>. |
846 | 855 | </ul> |
847 | 856 |
|
848 | | - <p> The final value of the transform used to render an element in a <a |
849 | | - class=term href="#d-rendering-context">3D rendering context</a> is |
850 | | - computed by accumulating a matrix as follows: |
| 857 | + <p id=accumulated-3d-transformation-matrix-computation> The final value of |
| 858 | + the transform used to render an element in a <a class=term |
| 859 | + href="#d-rendering-context">3D rendering context</a> is computed by |
| 860 | + accumulating an <a href="#TermAccumulated3DTransformationMatrix"> |
| 861 | + accumulated 3D transformation matrix</a> as follows: |
851 | 862 |
|
852 | 863 | <ol> |
853 | | - <li>Start with the identity matrix |
| 864 | + <li>Start with the identity matrix. |
854 | 865 |
|
855 | 866 | <li>For each containing block between the root of the <a class=term |
856 | 867 | href="#d-rendering-context">3D rendering context</a> and the element in |
@@ -1904,19 +1915,17 @@ <h2 id=backface-visibility-property><span class=secno>12. </span> The |
1904 | 1915 | as follows: |
1905 | 1916 |
|
1906 | 1917 | <ol> |
1907 | | - <li>Compute a matrix representing the accumulated transform from the |
1908 | | - viewport, taking the translations due to the CSS visual formatting mode, |
1909 | | - the perspective and transformation matrices into account, in a similar |
1910 | | - manner to the computation of the accumulated transform for an element in |
1911 | | - a 3D rendering context. |
| 1918 | + <li> For an element in a <a href="#d-rendering-context">3D rendering |
| 1919 | + context</a>, compute its <a |
| 1920 | + href="#TermAccumulated3DTransformationMatrix"> accumulated 3D |
| 1921 | + transformation matrix</a>. For an element not in a <a |
| 1922 | + href="#d-rendering-context">3D rendering context</a>, compute its <a |
| 1923 | + href="#TermTransformationMatrix">transformation matrix</a>. |
1912 | 1924 |
|
1913 | 1925 | <li> If the component of the matrix in row 3, column 3 is negative, then |
1914 | | - the element should be hidden, otherwise it is visible. |
| 1926 | + the element should be hidden. Otherwise it is visible. |
1915 | 1927 | </ol> |
1916 | 1928 |
|
1917 | | - <div class=issue> Is the relevant matrix here really relative to the |
1918 | | - viewport, or to the root of the 3D rendering context?</div> |
1919 | | - |
1920 | 1929 | <p class=note> The reasoning for this definition is as follows. Assume |
1921 | 1930 | elements are rectangles in the <var>x</var>–<var>y</var> plane with |
1922 | 1931 | infinitesimal thickness. The front of the untransformed element has |
@@ -2638,6 +2647,10 @@ <h2 class=no-num id=index>Index</h2> |
2638 | 2647 | <li>3D rendering context, <a href="#d-rendering-context" |
2639 | 2648 | title="3D rendering context"><strong>4.</strong></a> |
2640 | 2649 |
|
| 2650 | + <li>accumulated 3D transformation matrix, <a |
| 2651 | + href="#accumulated-3d-transformation-matrix" |
| 2652 | + title="accumulated 3D transformation matrix"><strong>4.</strong></a> |
| 2653 | + |
2641 | 2654 | <li>backface-visibility, <a href="#backface-visibility" |
2642 | 2655 | title=backface-visibility><strong>12.</strong></a> |
2643 | 2656 |
|
|
0 commit comments