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
The <dfn>x</dfn> attribute, on getting, must return the <a for=point>x coordinate</a> value of the object it was invoked on. For the <a interface>DOMPoint</a> interface, setting the <a attribute for=DOMPoint>x</a> attribute must set the <a for=point>x coordinate</a> value of the object it was invoked on to the new value.
116
116
117
117
The <dfn>y</dfn> attribute, on getting, must return the <a for=point>y coordinate</a> value of the object it was invoked on. For the <a interface>DOMPoint</a> interface, setting the <a attribute for=DOMPoint>y</a> attribute must set the <a for=point>y coordinate</a> value of the object it was invoked on to the new value.
@@ -679,7 +679,7 @@ The <dfn dfn-for=DOMMatrix id=dom-dommatrix-frommatrix><code>fromMatrix(<var>oth
679
679
The <dfn dfn-for=DOMMatrix><code>fromString(<var>transformList</var>)</code></dfn> static method on {{DOMMatrix}} must follow these steps:
680
680
681
681
<ol>
682
-
<li>Parse <var>transformList</var> by following the syntax description in “<a href=http://www.w3.org/TR/css-transforms-1/#svg-syntax>Syntax of the SVG ‘transform’ attribute</a>” [[!CSS3-TRANSFORMS]] to a <<transform-list>>. If parsing is not successful or any <<transform-function>> has <<length>> values without <a spec='css-values'>absolute length</a> units<!--For WD: <a spec='css-values-3'>absolute length units</a>-->, throw a <a>SyntaxError</a> exception.</li>
682
+
<li>Parse <var>transformList</var> by following the syntax description in “<a href=http://www.w3.org/TR/css-transforms-1/#svg-syntax>Syntax of the SVG ‘transform’ attribute</a>” [[!CSS3-TRANSFORMS]] to a <<transform-list>>. If parsing is not successful or any <<transform-function>> has <<length>> values without <a spec='css-values'>absolute length</a> units<!--For WD: <a spec='css-values-3'>absolute length units</a>-->, throw a {{SyntaxError}} exception.</li>
683
683
<li>Let <var>2dTransform</var> track the 2D/3D dimension status of the <<transform-list>>.
684
684
<dl class=switch>
685
685
<dt>If the <<transform-list>> consists of any <a href='http://www.w3.org/TR/css-transforms-1/#three-d-transform-functions'>3D Transform functions</a></dt>
@@ -736,7 +736,7 @@ The <dfn dfn-for=DOMMatrix><code>fromFloat64Array(<var>array64</var>)</code></df
736
736
737
737
The following attributes <a attribute>m11</a> to <a attribute>m44</a> correspond to the 16 items of the matrix interfaces. For the <a interface>DOMMatrix</a> interface, if the attributes <a attribute>m31</a>, <a attribute>m32</a>, <a attribute>m13</a>, <a attribute>m23</a>, <a attribute>m43</a>, <a attribute>m14</a>, <a attribute>m24</a>, <a attribute>m34</a> are set to something else than ''0'' or <a attribute>m33</a>, <a attribute>m44</a> are set to something else than ''1'' set <a>is2D</a> to <code>false</code>.
The <dfn>m11</dfn> attribute, on getting, must return the <a>m11 element</a> value of the object it was invoked on. For the <a interface>DOMMatrix</a> interface, setting the <a attribute>m11</a> attribute must set the <a>m11 element</a> value of the object it was invoked on to the new value.
741
741
742
742
The <dfn>m12</dfn> attribute, on getting, must return the <a>m12 element</a> value of the object it was invoked on. For the <a interface>DOMMatrix</a> interface, setting the <a attribute>m12</a> attribute must set the <a>m12 element</a> value of the object it was invoked on to the new value.
@@ -772,7 +772,7 @@ The following attributes <a attribute>m11</a> to <a attribute>m44</a> correspond
<li>Parse <var>transformList</var> by following the syntax description in “<a href=http://www.w3.org/TR/css-transforms-1/#svg-syntax>Syntax of the SVG ‘transform’ attribute</a>” [[!CSS3-TRANSFORMS]] to a <<transform-list>>. If parsing is not successful or any <<transform-function>> has <<length>> values without <a spec='css-values'>absolute length</a> units<!--For WD: <a spec='css-values-3'>absolute length units</a>-->, throw a <a>SyntaxError</a> exception.</li>
1108
+
<li>Parse <var>transformList</var> by following the syntax description in “<a href=http://www.w3.org/TR/css-transforms-1/#svg-syntax>Syntax of the SVG ‘transform’ attribute</a>” [[!CSS3-TRANSFORMS]] to a <<transform-list>>. If parsing is not successful or any <<transform-function>> has <<length>> values without <a spec='css-values'>absolute length</a> units<!--For WD: <a spec='css-values-3'>absolute length units</a>-->, throw a {{SyntaxError}} exception.</li>
1109
1109
<li>Set <a>is2D</a> to <code>false</code> if the <<transform-list>> consists of any <a href='http://www.w3.org/TR/css-transforms-1/#three-d-transform-functions'>3D Transform functions</a>. Otherwise set <a>is2D</a> to <code>true</code>.</li>
1110
1110
<li>Transform all <<transform-function>>s to 4x4 matrices by following the “<a href=http://www.w3.org/TR/css-transforms-1/#mathematical-description>Mathematical Description of Transform Functions</a>” [[!CSS3-TRANSFORMS]].</li>
1111
1111
<li>Post-multiply all matrices from left to right to a combined 4x4 matrix.</li>
0 commit comments