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-1/Overview.bs
+7-4
Original file line number
Diff line number
Diff line change
@@ -376,9 +376,9 @@ Issue(w3c/csswg-drafts#892): Clarify what the reference box of paint servers, <a
376
376
377
377
A reference box adds an additional offset to the origin specified by the 'transform-origin' property.
378
378
379
-
For SVG elements without an associated CSS layout box, the [=used value=] for <a value for=transform-box>border-box</a> is <a value for=transform-box>view-box</a>.
379
+
For SVG elements without an associated CSS layout box, the [=used value=] for ''transform-box/border-box'' is ''transform-box/view-box''.
380
380
381
-
For elements with an associated CSS layout box, the [=used value=] for <a value for=transform-box>fill-box</a> and <a value for=transform-box>view-box</a> is <a value for=transform-box>border-box</a>.
381
+
For elements with an associated CSS layout box, the [=used value=] for ''transform-box/fill-box'' and ''transform-box/view-box'' is ''transform-box/border-box''.
382
382
383
383
384
384
The SVG <a element-attr for>transform</a> Attribute {#svg-transform}
@@ -1158,7 +1158,7 @@ Decomposition also makes use of the following function:
1158
1158
1159
1159
The pseudo code below is based upon the "unmatrix" method in "Graphics Gems II, edited by Jim Arvo".
1160
1160
1161
-
Issue(w3c/csswg-drafts#924): Clarify column/row order for matrix in pseudo code.
1161
+
Matrices in the pseudo code use the column-major order. The first index on a matrix entry represents the column and the second index represents the row.
1162
1162
1163
1163
Issue(w3c/csswg-drafts#483): Incorrect indices for matrix?
1164
1164
@@ -1278,7 +1278,9 @@ Afterwards, each component of the decomposed values translation, scale, angle, m
1278
1278
1279
1279
<h4 id="recomposing-to-a-2d-matrix">Recomposing to a 2D matrix</h4>
1280
1280
1281
-
After interpolation, the resulting values are used to transform the elements user space. One way to use these values is to recompose them into a 4x4 matrix. This can be done following the pseudo code below:
1281
+
After interpolation, the resulting values are used to transform the elements user space. One way to use these values is to recompose them into a 4x4 matrix. This can be done following the pseudo code below.
1282
+
1283
+
Matrices in the pseudo code use the column-major order. The first index on a matrix entry represents the column and the second index represents the row.
1282
1284
1283
1285
<pre>
1284
1286
Input: translation ; a 2 component vector
@@ -1391,6 +1393,7 @@ The following changes were made since the <a href="https://www.w3.org/TR/2017/WD
1391
1393
* Added <a href="#priv-sec">privacy and security</a> section.
1392
1394
* Use [[SVG2]] definitions for <a>transformable elements</a>.
1393
1395
* Added special syntax for <a element-attr for>transform</a>, <{linearGradient/gradientTransform}> and <{pattern/patternTransform}> attributes.
1396
+
* Clarify index order of matrix entries in pseudo-code.
0 commit comments