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
Drop the scale() and scaleSelf() methods, and rename the
scaleNonUniform()/scaleNonUniformSelf() methods to scale() and
scaleSelf(), respectively. Make scaleX optional, with default value
1, and scaleY use the value of scaleX if omitted.
Part of whatwg/compat#19
<li>Let <em>other</em> be the resulting matrix initialized to the values of the current matrix.</li>
826
-
<li>Perform a <a method>scaleSelf()</a> transformation on <em>result</em> with the arguments <var>scale</var>, <var>originX</var>, <var>originY</var>.</li>
827
-
<li>Return <em>result</em>.</li>
819
+
<li>Let <var>result</var> be the resulting matrix initialized to the values of the current
820
+
matrix.</li>
821
+
822
+
<li>Perform a <a method>scaleSelf()</a> transformation on <var>result</var> with the arguments
<li>Let <em>result</em> be the resulting matrix initialized to the values of the current matrix.</li>
844
-
<li>Perform a <a method>scaleNonUniformSelf()</a> transformation on <em>result</em> with the arguments <var>scaleX</var>, <var>scaleY</var>, <var>scaleZ</var>, <var>originX</var>, <var>originY</var>, <var>originZ</var>.</li>
<li>Apply a <a method>translateSelf(<var>originX</var>, <var>originY</var>)</a> transformation to the current matrix.</li>
1031
-
<li>Post-multiply a uniform 2D scale transformation (<a attribute>m11</a> = <a attribute>m22</a> = <em>scale</em>) on the current matrix. The 2D scale matrix is <a href="http://www.w3.org/TR/2012/WD-css3-transforms-20120911/#ScaleDefined">described</a> in CSS Transforms with <em>sx</em> = <em>sy</em> = <em>scale</em>. [[!CSS3-TRANSFORMS]].</li>
1032
-
<li>Apply a <a method>translateSelf(-<var>originX</var>, -<var>originY</var>)</a> transformation to the current matrix.</li>
1020
+
<li>Perform a <a method>translateSelf()</a> transformation on the current matrix with the arguments <var>originX</var>, <var>originY</var>, <var>originZ</var>.</li>
1021
+
1022
+
<li>If <var>scaleY</var> is missing, set <var>scaleY</var> to the value of
1023
+
<var>scaleX</var>.</li>
1024
+
1025
+
<li>Post-multiply a non-uniform scale transformation on the current matrix. The 3D scale
1026
+
matrix is <a
1027
+
href="http://www.w3.org/TR/2012/WD-css3-transforms-20120911/#Scale3dDefined">described</a> in
1028
+
CSS Transforms with <var>sx</var> = <var>scaleX</var>, <var>sy</var> = <var>scaleY</var> and
<li>Apply a <a method>translateSelf(<var>originX</var>, <var>originY</var>, <var>originZ</var>)</a> transformation to the current matrix.</li>
1050
-
<li>Post-multiply a non-uniform scale transformation on the current matrix. The 3D scale matrix is <a href="http://www.w3.org/TR/2012/WD-css3-transforms-20120911/#Scale3dDefined">described</a> in CSS Transforms with <em>sx</em> = <em>scaleX</em>, <em>sy</em> = <em>scaleY</em> and <em>sz</em> = <em>scaleZ</em>. [[!CSS3-TRANSFORMS]].</li>
1051
-
<li>Apply a <a method>translateSelf(-<var>originX</var>, -<var>originY</var>, -<var>originZ</var>)</a> transformation to the current matrix.</li>
1052
-
<li>If <em>scaleZ</em> is specified and not ''1'' or <em>originZ</em> is specified and not ''0'', set <a>is2D</a> of the current matrix to <code>false</code>.</li>
0 commit comments