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: geometry/Overview.bs
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -223,8 +223,8 @@ The <dfn dfn-type=constructor dfn-for=DOMRectReadOnly><code>DOMRectReadOnly(<var
223
223
<li>Return <var>rect</var>.</li>
224
224
</ol>
225
225
226
-
The <dfn dfn-for=DOMRectReadOnly id=dom-domrectreadonly-fromrect><code>fromRect(<var>other</var>)</code></dfn> static method on {{DOMRectReadOnly}} and
227
-
the <dfn dfn-for=DOMRect id=dom-domrect-fromrect><code>fromRect(<var>other</var>)</code></dfn> static method on {{DOMRect}} must run the following steps:
226
+
The <dfn method lt=fromRect() dfn-for=DOMRectReadOnly id=dom-domrectreadonly-fromrect><code>fromRect(<var>other</var>)</code></dfn> static method on {{DOMRectReadOnly}} and
227
+
the <dfn method lt=fromRect() dfn-for=DOMRect id=dom-domrect-fromrect><code>fromRect(<var>other</var>)</code></dfn> static method on {{DOMRect}} must run the following steps:
228
228
229
229
<ol class=algorithm>
230
230
<li>Let <var>rect</var> be a new {{DOMRectReadOnly}} or {{DOMRect}} as appropriate.</li>
@@ -310,7 +310,7 @@ The <dfn dfn-type=constructor dfn-for=DOMQuad><code>DOMQuad(<var>p1</var>, <var>
310
310
311
311
Note: It is possible to pass <a interface>DOMPoint</a>/<a interface>DOMPointReadOnly</a> arguments as well. The passed arguments will be transformed to the correct object type internally following the WebIDL rules [[!WEBIDL]].
312
312
313
-
The <dfn dfn-for=DOMQuad><code>fromRect(<var>other</var>)</code></dfn> static method on {{DOMQuad}} must run the following steps:
313
+
The <dfn method lt=fromRect() dfn-for=DOMQuad><code>fromRect(<var>other</var>)</code></dfn> static method on {{DOMQuad}} must run the following steps:
314
314
315
315
<ol class='algorithm'>
316
316
<li>Let <var>x</var>, <var>y</var>, <var>width</var> and <var>height</var> be the value of <var>other</var>'s <a attribute for=DOMRectReadOnly>x</a>, <a attribute for=DOMRectReadOnly>y</a>, <a attribute for=DOMRectReadOnly>width</a> and <a attribute for=DOMRectReadOnly>height</a> attributes, respectively.
@@ -321,7 +321,7 @@ The <dfn dfn-for=DOMQuad><code>fromRect(<var>other</var>)</code></dfn> static me
321
321
<li><p>Return a new <a interface>DOMQuad</a> with <a attribute for=DOMQuad>p1</a> set to <var>point 1</var>, <a attribute for=DOMQuad>p2</a> set to <var>point 2</var>, <a attribute for=DOMQuad>p3</a> set to <var>point 3</var> and <a attribute for=DOMQuad>p4</a> set to <var>point 4</var>, and let the <a>associated bounding rectangle</a> be <var>bounds</var>.
322
322
</ol>
323
323
324
-
The <dfn dfn-for=DOMQuad><code>fromQuad(<var>other</var>)></code></dfn> static method on {{DOMQuad}} must run the following steps:
324
+
The <dfn method lt=fromQuad() dfn-for=DOMQuad><code>fromQuad(<var>other</var>)></code></dfn> static method on {{DOMQuad}} must run the following steps:
325
325
326
326
1. Let <var>point 1</var> be the result of invoking {{DOMPoint/fromPoint()}} static method on {{DOMPoint}} with the {{DOMQuadInit/p1}} dictionary member of <var>other</var> as argument, if it exists.
327
327
1. Let <var>point 2</var> be the result of invoking {{DOMPoint/fromPoint()}} static method on {{DOMPoint}} with the {{DOMQuadInit/p2}} dictionary member of <var>other</var> as argument, if it exists.
@@ -673,8 +673,8 @@ the <dfn dfn-type=constructor dfn-for=DOMMatrix><code>DOMMatrix(<var>numberSeque
673
673
<dd>Throw a <code>TypeError</code> exception.</dd>
674
674
</dl>
675
675
676
-
The <dfn dfn-for=DOMMatrixReadOnly id=dom-dommatrixreadonly-frommatrix><code>fromMatrix(<var>other</var>)</code></dfn> static method on {{DOMMatrixReadOnly}} and
677
-
the <dfn dfn-for=DOMMatrix id=dom-dommatrix-frommatrix><code>fromMatrix(<var>other</var>)</code></dfn> static method on {{DOMMatrix}} must follow these steps:
676
+
The <dfn method lt=fromMatrix() dfn-for=DOMMatrixReadOnly id=dom-dommatrixreadonly-frommatrix><code>fromMatrix(<var>other</var>)</code></dfn> static method on {{DOMMatrixReadOnly}} and
677
+
the <dfn method lt=fromMatrix() dfn-for=DOMMatrix id=dom-dommatrix-frommatrix><code>fromMatrix(<var>other</var>)</code></dfn> static method on {{DOMMatrix}} must follow these steps:
678
678
679
679
<ol>
680
680
<li><a>Validate and fixup</a><var>other</var>.</li>
@@ -689,8 +689,8 @@ the <dfn dfn-for=DOMMatrix id=dom-dommatrix-frommatrix><code>fromMatrix(<var>oth
689
689
</li>
690
690
</ol>
691
691
692
-
The <dfn dfn-for=DOMMatrixReadOnly id=dom-dommatrixreadonly-fromstring><code>fromString(<var>transformList</var>)</code></dfn> static method on {{DOMMatrixReadOnly}} and
693
-
the <dfn dfn-for=DOMMatrix id=dom-dommatrix-fromstring><code>fromString(<var>transformList</var>)</code></dfn> static method on {{DOMMatrix}} must follow these steps:
692
+
The <dfn method lt=fromString() dfn-for=DOMMatrixReadOnly id=dom-dommatrixreadonly-fromstring><code>fromString(<var>transformList</var>)</code></dfn> static method on {{DOMMatrixReadOnly}} and
693
+
the <dfn method lt=fromString() dfn-for=DOMMatrix id=dom-dommatrix-fromstring><code>fromString(<var>transformList</var>)</code></dfn> static method on {{DOMMatrix}} must follow these steps:
694
694
695
695
<ol>
696
696
<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>
@@ -714,8 +714,8 @@ the <dfn dfn-for=DOMMatrix id=dom-dommatrix-fromstring><code>fromString(<var>tra
714
714
</li>
715
715
</ol>
716
716
717
-
The <dfn dfn-for=DOMMatrixReadOnly id=dom-dommatrixreadonly-fromfloat32array><code>fromFloat32Array(<var>array32</var>)</code></dfn> static method on {{DOMMatrixReadOnly}} and
718
-
the <dfn dfn-for=DOMMatrix id=dom-dommatrix-fromfloat32array><code>fromFloat32Array(<var>array32</var>)</code></dfn> static method on {{DOMMatrix}} must follow these steps:
717
+
The <dfn method lt=fromFloat32Array() dfn-for=DOMMatrixReadOnly id=dom-dommatrixreadonly-fromfloat32array><code>fromFloat32Array(<var>array32</var>)</code></dfn> static method on {{DOMMatrixReadOnly}} and
718
+
the <dfn method lt=fromFloat32Array() dfn-for=DOMMatrix id=dom-dommatrix-fromfloat32array><code>fromFloat32Array(<var>array32</var>)</code></dfn> static method on {{DOMMatrix}} must follow these steps:
719
719
720
720
<dl class=switch>
721
721
<dt>If <var>array32</var> has 6 elements</dt>
@@ -726,8 +726,8 @@ the <dfn dfn-for=DOMMatrix id=dom-dommatrix-fromfloat32array><code>fromFloat32Ar
726
726
<dd>Throw a <code>TypeError</code> exception.</dd>
727
727
</dl>
728
728
729
-
The <dfn dfn-for=DOMMatrixReadOnly id=dom-dommatrixreadonly-fromfloat64array><code>fromFloat64Array(<var>array64</var>)</code></dfn> static method on {{DOMMatrixReadOnly}} and
730
-
the <dfn dfn-for=DOMMatrix id=dom-dommatrix-fromfloat64array><code>fromFloat64Array(<var>array64</var>)</code></dfn> static method on {{DOMMatrix}} must follow these steps:
729
+
The <dfn method lt=fromFloat64Array() dfn-for=DOMMatrixReadOnly id=dom-dommatrixreadonly-fromfloat64array><code>fromFloat64Array(<var>array64</var>)</code></dfn> static method on {{DOMMatrixReadOnly}} and
730
+
the <dfn method lt=fromFloat64Array() dfn-for=DOMMatrix id=dom-dommatrix-fromfloat64array><code>fromFloat64Array(<var>array64</var>)</code></dfn> static method on {{DOMMatrix}} must follow these steps:
0 commit comments