Skip to content

Commit bfad95a

Browse files
dirkschulzesvgeesus
authored andcommitted
style update
1 parent 384c37c commit bfad95a

File tree

2 files changed

+34
-40
lines changed

2 files changed

+34
-40
lines changed

geometry/Overview.html

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -185,10 +185,10 @@ <h2 class="heading settled heading" data-level=2 id=DOMPoint><span class=secno>2
185185
<dl class=switch>
186186
<dt>If invoked with a <a class=idl-code data-link-type=dictionary href=#dictdef-dompointinit title=dompointinit>DOMPointInit</a> argument:</dt>
187187
<dd>
188-
<ol class=algoithm>
188+
<ol class=algorithm>
189189
<li>Let <var>point</var> be the argument.</li>
190190
<li>Call the constructor of <a class=idl-code data-link-type=interface href=#dom-dompointreadonly title=dompointreadonly>DOMPointReadOnly</a> with the arguments <var>x</var>, <var>y</var>, <var>z</var>, <var>w</var>, where:
191-
<ol class=algorithm>
191+
<ol>
192192
<li><var>x</var> is the <code>x</code> dictionary member of <var>point</var>.
193193
<li><var>y</var> is the <code>y</code> dictionary member of <var>point</var>.
194194
<li><var>z</var> is the <code>z</code> dictionary member of <var>point</var>.
@@ -200,7 +200,7 @@ <h2 class="heading settled heading" data-level=2 id=DOMPoint><span class=secno>2
200200
</dd>
201201
<dt>Otherwise:</dt>
202202
<dd>
203-
<ol>
203+
<ol class=algorithm>
204204
<li>Call the constructor of <a class=idl-code data-link-type=interface href=#dom-dompointreadonly title=dompointreadonly>DOMPointReadOnly</a> with the arguments <var>x</var>, <var>y</var>, <var>z</var> and <var>w</var>, respectively.</li>
205205
<li>Return the new <a class=idl-code data-link-type=interface href=#dom-dompoint title=dompoint>DOMPoint</a> object.</li>
206206
</ol>
@@ -217,25 +217,22 @@ <h2 class="heading settled heading" data-level=2 id=DOMPoint><span class=secno>2
217217
<p>The <dfn class=idl-code data-dfn-for="DOMPointReadOnly DOMPoint" data-dfn-type=attribute data-export="" id=dom-dompointreadonly-dompoint-w>w<a class=self-link href=#dom-dompointreadonly-dompoint-w></a></dfn> attribute, on getting, must return the <a data-link-type=dfn href=#w-perspective title="w perspective">w perspective</a> value of the object it was invoked. For the <a class=idl-code data-link-type=interface href=#dom-dompoint title=dompoint>DOMPoint</a> interface, setting the <a class=idl-code data-link-for=DOMPoint data-link-type=attribute href=#dom-dompointreadonly-dompoint-w title=w>w</a> attribute must set the <a data-link-type=dfn href=#w-perspective title="w perspective">w perspective</a> value of the object it was invoked to the new value.</p>
218218
</div>
219219

220-
<dl data-dfn-for=DOMPointReadOnly data-dfn-type=method>
221-
<dt><dfn class=idl-code data-dfn-for=DOMPointReadOnly data-dfn-type=method data-export="" id=dom-dompointreadonly-matrixtransform title=matrixTransform()>matrixTransform(<var>matrix</var>)<a class=self-link href=#dom-dompointreadonly-matrixtransform></a></dfn></dt>
222-
<dd>
223-
<ol>
224-
<li>Create a new <a class=idl-code data-link-type=interface href=#dom-dompoint title=dompoint>DOMPoint</a> <var>point</var> initialized to <a class=idl-code data-link-for=DOMPoint data-link-type=attribute href=#dom-dompointreadonly-dompoint-x title=x>x</a>, <a class=idl-code data-link-for=DOMPoint data-link-type=attribute href=#dom-dompointreadonly-dompoint-y title=y>y</a>, <a class=idl-code data-link-for=DOMPoint data-link-type=attribute href=#dom-dompointreadonly-dompoint-z title=z>z</a> and <a class=idl-code data-link-for=DOMPoint data-link-type=attribute href=#dom-dompointreadonly-dompoint-w title=w>w</a> of the current point.</li>
225-
<li><a data-link-type=dfn href=#post-multiply title=post-multiply>Post-multiply</a> <var>point</var> with <var>matrix</var>.</li>
226-
<li>Return <var>point</var>.</li>
227-
</ol>
228-
<p><a data-link-type=functionish href=#dom-dompointreadonly-matrixtransform title=matrixtransform()>matrixTransform()</a> does not modify the current <a class=idl-code data-link-type=interface href=#dom-dompointreadonly title=dompointreadonly>DOMPointReadOnly</a> object and returns a new <a class=idl-code data-link-type=interface href=#dom-dompoint title=dompoint>DOMPoint</a> object.
229-
<div class=example>
230-
<p>In this example the method <a class=idl-code data-link-type=method href=#dom-dompointreadonly-matrixtransform title=matrixtransform()>matrixTransform()</a> on <var>point</var> is called with a <a class=idl-code data-link-type=interface href=#dom-dommatrix title=dommatrix>DOMMatrix</a> argument <var>matrix</var>.</p>
231-
<pre><code>var point = new DOMPoint(5, 4);
220+
<p><dfn class=idl-code data-dfn-for=DOMPointReadOnly data-dfn-type=method data-export="" id=dom-dompointreadonly-matrixtransform title=matrixTransform()>matrixTransform(<var>matrix</var>)<a class=self-link href=#dom-dompointreadonly-matrixtransform></a></dfn>, when invoked, must run the following steps:</p>
221+
222+
<ol>
223+
<li>Create a new <a class=idl-code data-link-type=interface href=#dom-dompoint title=dompoint>DOMPoint</a> <var>point</var> initialized to <a class=idl-code data-link-for=DOMPoint data-link-type=attribute href=#dom-dompointreadonly-dompoint-x title=x>x</a>, <a class=idl-code data-link-for=DOMPoint data-link-type=attribute href=#dom-dompointreadonly-dompoint-y title=y>y</a>, <a class=idl-code data-link-for=DOMPoint data-link-type=attribute href=#dom-dompointreadonly-dompoint-z title=z>z</a> and <a class=idl-code data-link-for=DOMPoint data-link-type=attribute href=#dom-dompointreadonly-dompoint-w title=w>w</a> of the current point.</li>
224+
<li><a data-link-type=dfn href=#post-multiply title=post-multiply>Post-multiply</a> <var>point</var> with <var>matrix</var>.</li>
225+
<li>Return <var>point</var>.</li>
226+
</ol>
227+
<p><a data-link-type=functionish href=#dom-dompointreadonly-matrixtransform title=matrixtransform()>matrixTransform()</a> does not modify the current <a class=idl-code data-link-type=interface href=#dom-dompointreadonly title=dompointreadonly>DOMPointReadOnly</a> object and returns a new <a class=idl-code data-link-type=interface href=#dom-dompoint title=dompoint>DOMPoint</a> object.
228+
<div class=example>
229+
<p>In this example the method <a class=idl-code data-link-type=method href=#dom-dompointreadonly-matrixtransform title=matrixtransform()>matrixTransform()</a> on <var>point</var> is called with a <a class=idl-code data-link-type=interface href=#dom-dommatrix title=dommatrix>DOMMatrix</a> argument <var>matrix</var>.</p>
230+
<pre><code>var point = new DOMPoint(5, 4);
232231
var matrix = new DOMMatrix(2, 0, 0, 2, 10, 10);
233232
var transformedPoint = point.matrixTransform(matrix);
234-
</code></pre>
235-
<p><var>point</var> creates a new <a class=idl-code data-link-type=interface href=#dom-dompoint title=dompoint>DOMPoint</a> object initialized to the same attribute values as <var>point</var>. This new <a class=idl-code data-link-type=interface href=#dom-dompoint title=dompoint>DOMPoint</a> is now scaled and the translated by <var>matrix</var>. This resulting <var>transformPoint</var> has the attribute values <code>x: 20</code> and <code>y: 18</code>.</p>
236-
</div>
237-
</dd>
238-
</dl>
233+
</code></pre>
234+
<p><var>point</var> creates a new <a class=idl-code data-link-type=interface href=#dom-dompoint title=dompoint>DOMPoint</a> object initialized to the same attribute values as <var>point</var>. This new <a class=idl-code data-link-type=interface href=#dom-dompoint title=dompoint>DOMPoint</a> is now scaled and the translated by <var>matrix</var>. This resulting <var>transformPoint</var> has the attribute values <code>x: 20</code> and <code>y: 18</code>.</p>
235+
</div>
239236

240237
<p>For historical reasons, Window objects must also have a writable, configurable, non-enumerable property named <code>SVGPoint</code> whose value is the <a class=idl-code data-link-type=interface href=#dom-dompoint title=dompoint>DOMPoint</a> interface object.</p>
241238

geometry/Overview.src.html

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,10 @@ <h2 id='DOMPoint'>
8989
<dl class=switch>
9090
<dt>If invoked with a <a dictionary>DOMPointInit</a> argument:</dt>
9191
<dd>
92-
<ol class=algoithm>
92+
<ol class=algorithm>
9393
<li>Let <var>point</var> be the argument.</li>
9494
<li>Call the constructor of <a interface>DOMPointReadOnly</a> with the arguments <var>x</var>, <var>y</var>, <var>z</var>, <var>w</var>, where:
95-
<ol class=algorithm>
95+
<ol>
9696
<li><var>x</var> is the <code>x</code> dictionary member of <var>point</var>.
9797
<li><var>y</var> is the <code>y</code> dictionary member of <var>point</var>.
9898
<li><var>z</var> is the <code>z</code> dictionary member of <var>point</var>.
@@ -104,7 +104,7 @@ <h2 id='DOMPoint'>
104104
</dd>
105105
<dt>Otherwise:</dt>
106106
<dd>
107-
<ol>
107+
<ol class=algorithm>
108108
<li>Call the constructor of <a interface>DOMPointReadOnly</a> with the arguments <var>x</var>, <var>y</var>, <var>z</var> and <var>w</var>, respectively.</li>
109109
<li>Return the new <a interface>DOMPoint</a> object.</li>
110110
</ol>
@@ -121,25 +121,22 @@ <h2 id='DOMPoint'>
121121
The <dfn>w</dfn> attribute, on getting, must return the <a>w perspective</a> value of the object it was invoked. For the <a interface>DOMPoint</a> interface, setting the <a attribute for=DOMPoint>w</a> attribute must set the <a>w perspective</a> value of the object it was invoked to the new value.
122122
</div>
123123

124-
<dl dfn-type=method dfn-for=DOMPointReadOnly>
125-
<dt><dfn>matrixTransform(<var>matrix</var>)</dfn></dt>
126-
<dd>
127-
<ol>
128-
<li>Create a new <a interface>DOMPoint</a> <var>point</var> initialized to <a attribute for=DOMPoint>x</a>, <a attribute for=DOMPoint>y</a>, <a attribute for=DOMPoint>z</a> and <a attribute for=DOMPoint>w</a> of the current point.</li>
129-
<li><i>Post-multiply</i> <var>point</var> with <var>matrix</var>.</li>
130-
<li>Return <var>point</var>.</li>
131-
</ol>
132-
<p><a>matrixTransform()</a> does not modify the current <a interface>DOMPointReadOnly</a> object and returns a new <a interface>DOMPoint</a> object.
133-
<div class='example'>
134-
<p>In this example the method <a method>matrixTransform()</a> on <var>point</var> is called with a <a interface>DOMMatrix</a> argument <var>matrix</var>.</p>
135-
<pre><code>var point = new DOMPoint(5, 4);
124+
<dfn dfn-type=method dfn-for=DOMPointReadOnly>matrixTransform(<var>matrix</var>)</dfn>, when invoked, must run the following steps:</dt>
125+
126+
<ol>
127+
<li>Create a new <a interface>DOMPoint</a> <var>point</var> initialized to <a attribute for=DOMPoint>x</a>, <a attribute for=DOMPoint>y</a>, <a attribute for=DOMPoint>z</a> and <a attribute for=DOMPoint>w</a> of the current point.</li>
128+
<li><i>Post-multiply</i> <var>point</var> with <var>matrix</var>.</li>
129+
<li>Return <var>point</var>.</li>
130+
</ol>
131+
<p><a>matrixTransform()</a> does not modify the current <a interface>DOMPointReadOnly</a> object and returns a new <a interface>DOMPoint</a> object.
132+
<div class='example'>
133+
<p>In this example the method <a method>matrixTransform()</a> on <var>point</var> is called with a <a interface>DOMMatrix</a> argument <var>matrix</var>.</p>
134+
<pre><code>var point = new DOMPoint(5, 4);
136135
var matrix = new DOMMatrix(2, 0, 0, 2, 10, 10);
137136
var transformedPoint = point.matrixTransform(matrix);
138-
</code></pre>
139-
<p><var>point</var> creates a new <a interface>DOMPoint</a> object initialized to the same attribute values as <var>point</var>. This new <a interface>DOMPoint</a> is now scaled and the translated by <var>matrix</var>. This resulting <var>transformPoint</var> has the attribute values <code>x: 20</code> and <code>y: 18</code>.</p>
140-
</div>
141-
</dd>
142-
</dl>
137+
</code></pre>
138+
<p><var>point</var> creates a new <a interface>DOMPoint</a> object initialized to the same attribute values as <var>point</var>. This new <a interface>DOMPoint</a> is now scaled and the translated by <var>matrix</var>. This resulting <var>transformPoint</var> has the attribute values <code>x: 20</code> and <code>y: 18</code>.</p>
139+
</div>
143140

144141
For historical reasons, Window objects must also have a writable, configurable, non-enumerable property named <code>SVGPoint</code> whose value is the <a interface>DOMPoint</a> interface object.
145142

0 commit comments

Comments
 (0)