You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: css-transforms-2/Overview.bs
+24-2Lines changed: 24 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -331,7 +331,7 @@ The rendering of elements in a 3D rendering context is as follows (numbers refer
331
331
<li>The content and descendant elements without 3D transforms, ordered according to steps 3—7, are rendered into a plane at z=0 relative to the establishing element.
332
332
<li>3D-transformed elements are each rendered into their own plane, transformed by the <a href="#accumulated-3d-transformation-matrix-computation">accumulated 3D transformation matrix</a>.
333
333
<li>Intersection is performed between the set of planes generated by steps B and C, according to <a href="http://en.wikipedia.org/wiki/Newell%27s_algorithm">Newell's algorithm</a>.
334
-
<li>The resulting set of planes is rendered on top of the backgrounds and box decorations rendered in this step A. Coplanar [=3D transformed elements=] are rendered in painting order.
334
+
<li>The resulting set of planes is <a>flattened</a> and rendered on top of the backgrounds and box decorations rendered in this step A. Coplanar [=3D transformed elements=] are rendered in painting order.
335
335
</ol>
336
336
337
337
Issue: is it OK to not pop 2D-transformed elements into their own planes?
@@ -423,7 +423,7 @@ This example shows how nested 3D transforms are rendered. The blue div is transf
423
423
424
424
### Transformed element hierarchies ### {#transformed-element-hierarchies}
425
425
426
-
By default, <a>transformed elements</a> do not create a <a>3D rendering context</a> and create a flattened representation of their content. However, since it is useful to construct hierarchies of transformed objects that share a common 3-dimensional space, this flattening behavior may be overridden by specifying a value of ''transform-style/preserve-3d'' for the ''transform-style'' property. This allows descendants of the transformed element to share the same 3D rendering context. Non-3D-transformed descendants of such elements are rendered into the plane of the element in step C above, but 3D-transformed elements in the same 3D rendering context will "pop out" into their own planes.
426
+
By default, <a>transformed elements</a> do not create a <a>3D rendering context</a> and create a <a>flattened</a> representation of their content. However, since it is useful to construct hierarchies of transformed objects that share a common 3-dimensional space, this flattening behavior may be overridden by specifying a value of ''transform-style/preserve-3d'' for the ''transform-style'' property. This allows descendants of the transformed element to share the same 3D rendering context. Non-3D-transformed descendants of such elements are rendered into the plane of the element in step C above, but 3D-transformed elements in the same 3D rendering context will "pop out" into their own planes.
427
427
428
428
<div class="example">
429
429
<pre>
@@ -1360,6 +1360,28 @@ One translation unit on a matrix is equivalent to 1 pixel in the local coordinat
1360
1360
1361
1361
</ul>
1362
1362
1363
+
Mathematical Description of Flattening {#mathematical-flattening}
0 commit comments