Skip to content

Commit 397514f

Browse files
committed
[css-transforms-2] Remove duplicate definition of transformation matrix in favor of more complete one.
1 parent 33d2741 commit 397514f

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

css-transforms-2/Overview.bs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -194,14 +194,6 @@ Three-dimensional transform functions conceptually extend the coordinate space i
194194

195195
</div>
196196

197-
<p id="transformation-matrix-computation">
198-
With 3D transforms, the Z component of 'transform-origin' affects the result, so the <a>transformation matrix</a> is computed from the 'transform' and 'transform-origin' properties as follows:
199-
200-
1. Start with the identity matrix.
201-
2. Translate by the computed X, Y and Z of 'transform-origin'
202-
3. Multiply by each of the transform functions in 'transform' property from left to right
203-
4. Translate by the negated computed X, Y and Z values of 'transform-origin'
204-
205197
3D Transform Rendering {#3d-transform-rendering}
206198
----------------------
207199

@@ -781,6 +773,7 @@ serialization must take this into account:
781773
Current Transformation Matrix {#ctm}
782774
====================================
783775

776+
<p id="transformation-matrix-computation">
784777
The <a>transformation matrix</a> computation is amended to the following:
785778

786779
The transformation matrix is computed from the 'transform', 'transform-origin', 'translate', 'rotate', 'scale', and 'offset' properties as follows:

0 commit comments

Comments
 (0)