Skip to content

Commit 1aca8fc

Browse files
committed
cosmetic changes
1 parent 75a7adf commit 1aca8fc

2 files changed

Lines changed: 38 additions & 36 deletions

File tree

cssom-view/Overview.html

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -318,17 +318,17 @@ <h2 id=extensions-to-the-window-interface><span class=secno>4.
318318
</span>Extensions to the <code title="">Window</code> Interface</h2>
319319

320320
<pre class=idl>[Supplemental] interface <a href="#window">Window</a> {
321-
readonly attribute <a href="#stylemedia">StyleMedia</a> <a href="#dom-window-stylemedia" title=dom-window-styleMedia>styleMedia</a>;
322-
readonly attribute <a href="#screen">Screen</a> <a href="#dom-window-screen" title=dom-window-screen>screen</a>;
321+
readonly attribute <a href="#stylemedia">StyleMedia</a> <a href="#dom-window-stylemedia" title=dom-Window-styleMedia>styleMedia</a>;
322+
readonly attribute <a href="#screen">Screen</a> <a href="#dom-window-screen" title=dom-Window-screen>screen</a>;
323323

324324
// viewport
325325
readonly attribute long <a href="#dom-window-innerwidth">innerWidth</a>;
326326
readonly attribute long <a href="#dom-window-innerheight">innerHeight</a>;
327327
readonly attribute long <a href="#dom-window-pagexoffset">pageXOffset</a>;
328328
readonly attribute long <a href="#dom-window-pageyoffset">pageYOffset</a>;
329-
void <a href="#dom-window-scroll" title=dom-window-scroll>scroll</a>(long <var title="">x</var>, long <var title="">y</var>);
330-
void <a href="#dom-window-scrollto" title=dom-window-scrollto>scrollTo</a>(long <var title="">x</var>, long <var title="">y</var>);
331-
void <a href="#dom-window-scrollby" title=dom-window-scrollby>scrollBy</a>(long <var title="">x</var>, long <var title="">y</var>);
329+
void <a href="#dom-window-scroll" title=dom-Window-scroll>scroll</a>(long <var title="">x</var>, long <var title="">y</var>);
330+
void <a href="#dom-window-scrollto" title=dom-Window-scrollto>scrollTo</a>(long <var title="">x</var>, long <var title="">y</var>);
331+
void <a href="#dom-window-scrollby" title=dom-Window-scrollby>scrollBy</a>(long <var title="">x</var>, long <var title="">y</var>);
332332

333333
// client
334334
readonly attribute long <a href="#dom-window-screenx">screenX</a>;
@@ -338,14 +338,14 @@ <h2 id=extensions-to-the-window-interface><span class=secno>4.
338338
};</pre>
339339

340340
<p>The <dfn id=dom-window-stylemedia
341-
title=dom-window-styleMedia><code>styleMedia</code></dfn> attribute <em
341+
title=dom-Window-styleMedia><code>styleMedia</code></dfn> attribute <em
342342
class=ct>must</em> return the <a
343343
href="#stylemedia"><code>StyleMedia</code></a> object associated with the
344344
<a href="#window"><code>Window</code></a> object. It always returns the
345345
same object.
346346

347347
<p>The <dfn id=dom-window-screen
348-
title=dom-window-screen><code>screen</code></dfn> attribute <em
348+
title=dom-Window-screen><code>screen</code></dfn> attribute <em
349349
class=ct>must</em> return the <a href="#screen"><code>Screen</code></a>
350350
object associated with the <a href="#window"><code>Window</code></a>
351351
object. It always returns the same object.
@@ -377,7 +377,7 @@ <h2 id=extensions-to-the-window-interface><span class=secno>4.
377377
of the top of the <a href="#viewport">viewport</a>.
378378

379379
<p>When the <dfn id=dom-window-scroll
380-
title=dom-window-scroll><code>scroll(<var title="">x</var>,<var
380+
title=dom-Window-scroll><code>scroll(<var title="">x</var>,<var
381381
title="">y</var>)</code></dfn> method is invoked these steps <em
382382
class=ct>must</em> be run:
383383

@@ -435,17 +435,17 @@ <h2 id=extensions-to-the-window-interface><span class=secno>4.
435435
</ol>
436436

437437
<p>When the <dfn id=dom-window-scrollto
438-
title=dom-window-scrollto><code>scrollTo(<var title="">x</var>,<var
438+
title=dom-Window-scrollto><code>scrollTo(<var title="">x</var>,<var
439439
title="">y</var>)</code></dfn> method is invoked, the user agent <em
440440
class=ct>must</em> act as if the <a href="#dom-window-scroll"><code
441-
title=dom-window-scroll>scroll()</code></a> method was invoked with the
441+
title=dom-Window-scroll>scroll()</code></a> method was invoked with the
442442
same arguments.
443443

444444
<p>When the <dfn id=dom-window-scrollby
445-
title=dom-window-scrollby><code>scrollBy(<var title="">x</var>,<var
445+
title=dom-Window-scrollby><code>scrollBy(<var title="">x</var>,<var
446446
title="">y</var>)</code></dfn> method is invoked, the user agent <em
447447
class=ct>must</em> act as if the <a href="#dom-window-scroll"><code
448-
title=dom-window-scroll>scroll()</code></a> method was invoked with <var
448+
title=dom-Window-scroll>scroll()</code></a> method was invoked with <var
449449
title="">x</var> plus <a
450450
href="#dom-window-pagexoffset"><code>pageXOffset</code></a> as first
451451
argument and <var title="">y</var> plus <a
@@ -476,11 +476,11 @@ <h3 id=the-stylemedia-interface><span class=secno>4.1. </span>The <code
476476
title="">StyleMedia</code> Interface</h3>
477477

478478
<pre class=idl>interface <dfn id=stylemedia>StyleMedia</dfn> {
479-
readonly attribute DOMString <a href="#dom-stylemedia-type">type</a>;
479+
readonly attribute DOMString <a href="#dom-stylemedia-type" title=dom-StyleMedia-type>type</a>;
480480
boolean <a href="#dom-stylemedia-matchmedium" title=dom-StyleMedia-matchMedium>matchMedium</a>(DOMString <var title="">mediaquery</var>);
481481

482-
void <span title=dom-StyleMedia-addMediumListener>addMediumListener</span>(DOMString <var title="">mediaquery</var>, <a href="#mediaquerycallback">MediaQueryCallback</a> <var title="">listener</var>);
483-
void <span title=dom-StyleMedia-removeMediumListener>removeMediumListener</span>(DOMString <var title="">mediaquery</var>, <a href="#mediaquerycallback">MediaQueryCallback</a> <var title="">listener</var>);
482+
void <span title=dom-StyleMedia-addMediumListener>addMediumListener</span>(DOMString <var title="">mediaquery</var>, <a href="#mediaquerycallback">MediaQueryCallback</a> <var title="">mediaquerycallback</var>);
483+
void <span title=dom-StyleMedia-removeMediumListener>removeMediumListener</span>(DOMString <var title="">mediaquery</var>, <a href="#mediaquerycallback">MediaQueryCallback</a> <var title="">mediaquerycallback</var>);
484484
};
485485

486486
[Callback=FunctionOnly, NoInterfaceObject]
@@ -495,7 +495,8 @@ <h3 id=the-stylemedia-interface><span class=secno>4.1. </span>The <code
495495
};
496496
</pre>
497497

498-
<p>The <dfn id=dom-stylemedia-type><code>type</code></dfn> attribute <em
498+
<p>The <dfn id=dom-stylemedia-type
499+
title=dom-StyleMedia-type><code>type</code></dfn> attribute <em
499500
class=ct>must</em> return the string that represents the media type used
500501
for rendering the <a href="#document"><code>Document</code></a>. The media
501502
types are defined by CSS 2.1 (<code title="">screen</code>,

cssom-view/Overview.src.html

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -189,17 +189,17 @@ <h2 id="dom-features">DOM Features</h2>
189189
<h2 id="extensions-to-the-window-interface">Extensions to the <code title="">Window</code> Interface</h2>
190190

191191
<pre class="idl">[Supplemental] interface <span>Window</span> {
192-
readonly attribute <span>StyleMedia</span> <span title="dom-window-styleMedia">styleMedia</span>;
193-
readonly attribute <span>Screen</span> <span title="dom-window-screen">screen</span>;
192+
readonly attribute <span>StyleMedia</span> <span title="dom-Window-styleMedia">styleMedia</span>;
193+
readonly attribute <span>Screen</span> <span title="dom-Window-screen">screen</span>;
194194

195195
// viewport
196196
readonly attribute long <span>innerWidth</span>;
197197
readonly attribute long <span>innerHeight</span>;
198198
readonly attribute long <span>pageXOffset</span>;
199199
readonly attribute long <span>pageYOffset</span>;
200-
void <span title="dom-window-scroll">scroll</span>(long <var title="">x</var>, long <var title="">y</var>);
201-
void <span title="dom-window-scrollto">scrollTo</span>(long <var title="">x</var>, long <var title="">y</var>);
202-
void <span title="dom-window-scrollby">scrollBy</span>(long <var title="">x</var>, long <var title="">y</var>);
200+
void <span title="dom-Window-scroll">scroll</span>(long <var title="">x</var>, long <var title="">y</var>);
201+
void <span title="dom-Window-scrollto">scrollTo</span>(long <var title="">x</var>, long <var title="">y</var>);
202+
void <span title="dom-Window-scrollby">scrollBy</span>(long <var title="">x</var>, long <var title="">y</var>);
203203

204204
// client
205205
readonly attribute long <span>screenX</span>;
@@ -210,13 +210,13 @@ <h2 id="extensions-to-the-window-interface">Extensions to the <code title="">Win
210210

211211

212212
<p>The
213-
<dfn id="dom-window-stylemedia" title="dom-window-styleMedia"><code>styleMedia</code></dfn>
213+
<dfn id="dom-window-stylemedia" title="dom-Window-styleMedia"><code>styleMedia</code></dfn>
214214
attribute <em class="ct">must</em> return the <code>StyleMedia</code>
215215
object associated with the <code>Window</code> object. It always returns
216216
the same object.</p>
217217

218218
<p>The
219-
<dfn id="dom-window-screen" title="dom-window-screen"><code>screen</code></dfn>
219+
<dfn id="dom-window-screen" title="dom-Window-screen"><code>screen</code></dfn>
220220
attribute <em class="ct">must</em> return the <code>Screen</code> object
221221
associated with the <code>Window</code> object. It always returns the same
222222
object.</p>
@@ -250,7 +250,7 @@ <h2 id="extensions-to-the-window-interface">Extensions to the <code title="">Win
250250
of the <span>viewport</span>.</p>
251251

252252
<p>When the
253-
<dfn id="dom-window-scroll" title="dom-window-scroll"><code>scroll(<var title="">x</var>,<var title="">y</var>)</code></dfn>
253+
<dfn id="dom-window-scroll" title="dom-Window-scroll"><code>scroll(<var title="">x</var>,<var title="">y</var>)</code></dfn>
254254
method is invoked these steps <em class="ct">must</em> be run:</p>
255255

256256
<ol>
@@ -297,15 +297,15 @@ <h2 id="extensions-to-the-window-interface">Extensions to the <code title="">Win
297297
</ol>
298298

299299
<p>When the
300-
<dfn id="dom-window-scrollto" title="dom-window-scrollto"><code>scrollTo(<var title="">x</var>,<var title="">y</var>)</code></dfn>
300+
<dfn id="dom-window-scrollto" title="dom-Window-scrollto"><code>scrollTo(<var title="">x</var>,<var title="">y</var>)</code></dfn>
301301
method is invoked, the user agent <em class="ct">must</em> act as if the
302-
<code title="dom-window-scroll">scroll()</code> method was invoked with
302+
<code title="dom-Window-scroll">scroll()</code> method was invoked with
303303
the same arguments.</p>
304304

305305
<p>When the
306-
<dfn id="dom-window-scrollby" title="dom-window-scrollby"><code>scrollBy(<var title="">x</var>,<var title="">y</var>)</code></dfn>
306+
<dfn id="dom-window-scrollby" title="dom-Window-scrollby"><code>scrollBy(<var title="">x</var>,<var title="">y</var>)</code></dfn>
307307
method is invoked, the user agent <em class="ct">must</em> act as if the
308-
<code title="dom-window-scroll">scroll()</code> method was invoked with
308+
<code title="dom-Window-scroll">scroll()</code> method was invoked with
309309
<var title="">x</var> plus <code>pageXOffset</code> as first argument and
310310
<var title="">y</var> plus <code>pageYOffset</code> as second
311311
argument.</p>
@@ -337,11 +337,11 @@ <h2 id="extensions-to-the-window-interface">Extensions to the <code title="">Win
337337
<h3 id="the-stylemedia-interface">The <code title="">StyleMedia</code> Interface</h3>
338338

339339
<pre class="idl">interface <dfn id="stylemedia">StyleMedia</dfn> {
340-
readonly attribute DOMString <span>type</span>;
340+
readonly attribute DOMString <span title="dom-StyleMedia-type">type</span>;
341341
boolean <span title="dom-StyleMedia-matchMedium">matchMedium</span>(DOMString <var title="">mediaquery</var>);
342342

343-
void <span title="dom-StyleMedia-addMediumListener">addMediumListener</span>(DOMString <var title="">mediaquery</var>, <span>MediaQueryCallback</span> <var title="">listener</var>);
344-
void <span title="dom-StyleMedia-removeMediumListener">removeMediumListener</span>(DOMString <var title="">mediaquery</var>, <span>MediaQueryCallback</span> <var title="">listener</var>);
343+
void <span title="dom-StyleMedia-addMediumListener">addMediumListener</span>(DOMString <var title="">mediaquery</var>, <span>MediaQueryCallback</span> <var title="">mediaquerycallback</var>);
344+
void <span title="dom-StyleMedia-removeMediumListener">removeMediumListener</span>(DOMString <var title="">mediaquery</var>, <span>MediaQueryCallback</span> <var title="">mediaquerycallback</var>);
345345
};
346346

347347
[Callback=FunctionOnly, NoInterfaceObject]
@@ -356,11 +356,12 @@ <h3 id="the-stylemedia-interface">The <code title="">StyleMedia</code> Interface
356356
};
357357
</pre>
358358

359-
<p>The <dfn id="dom-stylemedia-type"><code>type</code></dfn> attribute
360-
<em class="ct">must</em> return the string that represents the media type
361-
used for rendering the <code>Document</code>. The media types are defined
362-
by CSS 2.1 (<code title="">screen</code>, <code>print</code>, et cetera).
363-
[<cite><span>CSS21</span></cite>]</p>
359+
<p>The
360+
<dfn id="dom-stylemedia-type" title="dom-StyleMedia-type"><code>type</code></dfn>
361+
attribute <em class="ct">must</em> return the string that represents the
362+
media type used for rendering the <code>Document</code>. The media types
363+
are defined by CSS 2.1 (<code title="">screen</code>, <code>print</code>,
364+
et cetera). [<cite><span>CSS21</span></cite>]</p>
364365

365366
<div class="example">
366367
<p>The following snippet determines whether the page is rendered using

0 commit comments

Comments
 (0)