Skip to content

Commit

Permalink
[geometry] fix internal xrefs for fromX()
Browse files Browse the repository at this point in the history
  • Loading branch information
zcorpan committed Apr 24, 2015
1 parent c2bbce1 commit abe5a28
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions geometry/Overview.bs
Expand Up @@ -223,8 +223,8 @@ The <dfn dfn-type=constructor dfn-for=DOMRectReadOnly><code>DOMRectReadOnly(<var
<li>Return <var>rect</var>.</li>
</ol>

The <dfn dfn-for=DOMRectReadOnly id=dom-domrectreadonly-fromrect><code>fromRect(<var>other</var>)</code></dfn> static method on {{DOMRectReadOnly}} and
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:
The <dfn method lt=fromRect() dfn-for=DOMRectReadOnly id=dom-domrectreadonly-fromrect><code>fromRect(<var>other</var>)</code></dfn> static method on {{DOMRectReadOnly}} and
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:

<ol class=algorithm>
<li>Let <var>rect</var> be a new {{DOMRectReadOnly}} or {{DOMRect}} as appropriate.</li>
Expand Down Expand Up @@ -310,7 +310,7 @@ The <dfn dfn-type=constructor dfn-for=DOMQuad><code>DOMQuad(<var>p1</var>, <var>

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]].

The <dfn dfn-for=DOMQuad><code>fromRect(<var>other</var>)</code></dfn> static method on {{DOMQuad}} must run the following steps:
The <dfn method lt=fromRect() dfn-for=DOMQuad><code>fromRect(<var>other</var>)</code></dfn> static method on {{DOMQuad}} must run the following steps:

<ol class='algorithm'>
<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.
Expand All @@ -321,7 +321,7 @@ The <dfn dfn-for=DOMQuad><code>fromRect(<var>other</var>)</code></dfn> static me
<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>.
</ol>

The <dfn dfn-for=DOMQuad><code>fromQuad(<var>other</var>)></code></dfn> static method on {{DOMQuad}} must run the following steps:
The <dfn method lt=fromQuad() dfn-for=DOMQuad><code>fromQuad(<var>other</var>)></code></dfn> static method on {{DOMQuad}} must run the following steps:

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.
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.
Expand Down Expand Up @@ -673,8 +673,8 @@ the <dfn dfn-type=constructor dfn-for=DOMMatrix><code>DOMMatrix(<var>numberSeque
<dd>Throw a <code>TypeError</code> exception.</dd>
</dl>

The <dfn dfn-for=DOMMatrixReadOnly id=dom-dommatrixreadonly-frommatrix><code>fromMatrix(<var>other</var>)</code></dfn> static method on {{DOMMatrixReadOnly}} and
the <dfn dfn-for=DOMMatrix id=dom-dommatrix-frommatrix><code>fromMatrix(<var>other</var>)</code></dfn> static method on {{DOMMatrix}} must follow these steps:
The <dfn method lt=fromMatrix() dfn-for=DOMMatrixReadOnly id=dom-dommatrixreadonly-frommatrix><code>fromMatrix(<var>other</var>)</code></dfn> static method on {{DOMMatrixReadOnly}} and
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:

<ol>
<li><a>Validate and fixup</a> <var>other</var>.</li>
Expand All @@ -689,8 +689,8 @@ the <dfn dfn-for=DOMMatrix id=dom-dommatrix-frommatrix><code>fromMatrix(<var>oth
</li>
</ol>

The <dfn dfn-for=DOMMatrixReadOnly id=dom-dommatrixreadonly-fromstring><code>fromString(<var>transformList</var>)</code></dfn> static method on {{DOMMatrixReadOnly}} and
the <dfn dfn-for=DOMMatrix id=dom-dommatrix-fromstring><code>fromString(<var>transformList</var>)</code></dfn> static method on {{DOMMatrix}} must follow these steps:
The <dfn method lt=fromString() dfn-for=DOMMatrixReadOnly id=dom-dommatrixreadonly-fromstring><code>fromString(<var>transformList</var>)</code></dfn> static method on {{DOMMatrixReadOnly}} and
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:

<ol>
<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>
Expand All @@ -714,8 +714,8 @@ the <dfn dfn-for=DOMMatrix id=dom-dommatrix-fromstring><code>fromString(<var>tra
</li>
</ol>

The <dfn dfn-for=DOMMatrixReadOnly id=dom-dommatrixreadonly-fromfloat32array><code>fromFloat32Array(<var>array32</var>)</code></dfn> static method on {{DOMMatrixReadOnly}} and
the <dfn dfn-for=DOMMatrix id=dom-dommatrix-fromfloat32array><code>fromFloat32Array(<var>array32</var>)</code></dfn> static method on {{DOMMatrix}} must follow these steps:
The <dfn method lt=fromFloat32Array() dfn-for=DOMMatrixReadOnly id=dom-dommatrixreadonly-fromfloat32array><code>fromFloat32Array(<var>array32</var>)</code></dfn> static method on {{DOMMatrixReadOnly}} and
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:

<dl class=switch>
<dt>If <var>array32</var> has 6 elements</dt>
Expand All @@ -726,8 +726,8 @@ the <dfn dfn-for=DOMMatrix id=dom-dommatrix-fromfloat32array><code>fromFloat32Ar
<dd>Throw a <code>TypeError</code> exception.</dd>
</dl>

The <dfn dfn-for=DOMMatrixReadOnly id=dom-dommatrixreadonly-fromfloat64array><code>fromFloat64Array(<var>array64</var>)</code></dfn> static method on {{DOMMatrixReadOnly}} and
the <dfn dfn-for=DOMMatrix id=dom-dommatrix-fromfloat64array><code>fromFloat64Array(<var>array64</var>)</code></dfn> static method on {{DOMMatrix}} must follow these steps:
The <dfn method lt=fromFloat64Array() dfn-for=DOMMatrixReadOnly id=dom-dommatrixreadonly-fromfloat64array><code>fromFloat64Array(<var>array64</var>)</code></dfn> static method on {{DOMMatrixReadOnly}} and
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:

<dl class=switch>
<dt>If <var>array64</var> has 6 elements</dt>
Expand Down

0 comments on commit abe5a28

Please sign in to comment.