Skip to content

Commit 6793f23

Browse files
committed
[css-transforms-1] Clarify multiplication order in recomposition pseudo-code. #483
1 parent 0b9e6a5 commit 6793f23

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

css-transforms-1/Overview.bs

+3-1
Original file line numberDiff line numberDiff line change
@@ -1311,7 +1311,7 @@ rotateMatrix[0][1] = sinAngle
13111311
rotateMatrix[1][0] = -sinAngle
13121312
rotateMatrix[1][1] = cosAngle
13131313

1314-
matrix = multiply(matrix, rotateMatrix)
1314+
matrix = post-multiply(rotateMatrix, matrix)
13151315

13161316
// Scale matrix.
13171317
matrix[0][0] *= scale[0]
@@ -1391,7 +1391,9 @@ The following changes were made since the <a href="https://www.w3.org/TR/2017/WD
13911391
* Added <a href="#priv-sec">privacy and security</a> section.
13921392
* Use [[SVG2]] definitions for <a>transformable elements</a>.
13931393
* Added special syntax for <a element-attr for>transform</a>, <{linearGradient/gradientTransform}> and <{pattern/patternTransform}> attributes.
1394+
* Clarify multiplication order by using terms <a>post-multiply</a> and <a>pre-multiply</a>.
13941395
* Clarify index order of matrix entries in pseudo-code.
1396+
* Clarify multiplication order in recomposition pseudo-code.
13951397

13961398
ISSUE: Add all changes.
13971399

0 commit comments

Comments
 (0)