Skip to content

Commit 07749c4

Browse files
committed
define Window
1 parent 3bc3860 commit 07749c4

File tree

2 files changed

+15
-14
lines changed

2 files changed

+15
-14
lines changed

cssom-view/Overview.html

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,8 @@ <h3 id=terminology><span class=secno>2.2 </span>Terminology</h3>
259259
2 Events. [<cite><a href="#ref-dom2events">DOM2Events</a></cite>]
260260

261261
<p><dfn id=html-element>HTML element</dfn>, <dfn
262-
id=htmlelement><code>HTMLElement</code></dfn>, <dfn id=view>view</dfn> and
263-
<dfn id=default-view>default view</dfn> are defined by HTML5. [<cite><a
262+
id=htmlelement><code>HTMLElement</code></dfn>, and <dfn
263+
id=window><code>Window</code></dfn> are defined by HTML5. [<cite><a
264264
href="#ref-html5">HTML5</a></cite>]
265265

266266
<p><dfn id=the-html-body-element>The HTML <code>body</code> element</dfn>
@@ -318,7 +318,7 @@ <h2 id=dom-features><span class=secno>3 </span>DOM Features</h2>
318318
<h2 id=extensions-to-the-window-interface><span class=secno>4
319319
</span>Extensions to the <code title="">Window</code> Interface</h2>
320320

321-
<pre class=idl>[Supplemental] interface <span>Window</span> {
321+
<pre class=idl>[Supplemental] interface <a href="#window">Window</a> {
322322
readonly attribute <a href="#document">Document</a> <a href="#dom-window-document" title=dom-window-document>document</a>;
323323
readonly attribute <a href="#media">Media</a> <a href="#dom-window-media" title=dom-window-media>media</a>;
324324
readonly attribute <a href="#screen">Screen</a> <a href="#dom-window-screen" title=dom-window-screen>screen</a>;
@@ -342,20 +342,20 @@ <h2 id=extensions-to-the-window-interface><span class=secno>4
342342
<p>The <dfn id=dom-window-document
343343
title=dom-window-document><code>document</code></dfn> attribute <em
344344
class=ct>must</em> return the <code><a
345-
href="#document">Document</a></code> object associated with the
346-
<code>Window</code> object.
345+
href="#document">Document</a></code> object associated with the <code><a
346+
href="#window">Window</a></code> object.
347347

348348
<p>The <dfn id=dom-window-media
349349
title=dom-window-media><code>media</code></dfn> attribute <em
350350
class=ct>must</em> return the <code><a href="#media">Media</a></code>
351-
object associated with the <code>Window</code> object. It always returns
352-
the same object.
351+
object associated with the <code><a href="#window">Window</a></code>
352+
object. It always returns the same object.
353353

354354
<p>The <dfn id=dom-window-screen
355355
title=dom-window-screen><code>screen</code></dfn> attribute <em
356356
class=ct>must</em> return the <code><a href="#screen">Screen</a></code>
357-
object associated with the <code>Window</code> object. It always returns
358-
the same object.
357+
object associated with the <code><a href="#window">Window</a></code>
358+
object. It always returns the same object.
359359

360360
<p>The <dfn id=dom-window-innerwidth><code>innerWidth</code></dfn>
361361
attribute <em class=ct>must</em> return the <a
@@ -566,14 +566,15 @@ <h2 id=extensions-to-the-document-interface><span class=secno>5
566566
</span>Extensions to the <code title="">Document</code> Interface</h2>
567567

568568
<pre class=idl>[Supplemental] interface <a href="#document">Document</a> {
569-
readonly attribute <span>Window</span> <a href="#dom-document-defaultview">defaultView</a>;
569+
readonly attribute <a href="#window">Window</a> <a href="#dom-document-defaultview">defaultView</a>;
570570
Element <a href="#dom-document-elementfrompoint">elementFromPoint</a>(float <var title="">x</var>, float <var title="">y</var>);
571571
<a href="#caretposition">CaretPosition</a> <a href="#dom-document-caretpositionfrompoint">caretPositionFromPoint</a>(float <var title="">x</var>, float <var title="">y</var>);
572572
};</pre>
573573

574574
<p>The <dfn id=dom-document-defaultview><code>defaultView</code></dfn>
575-
attribute <em class=ct>must</em> return the <code>Window</code> object
576-
associated with the <code><a href="#document">Document</a></code> object.
575+
attribute <em class=ct>must</em> return the <code><a
576+
href="#window">Window</a></code> object associated with the <code><a
577+
href="#document">Document</a></code> object.
577578

578579
<p>The <dfn id=dom-document-elementfrompoint
579580
title=elementfrompoint><code>elementFromPoint(<var title="">x</var>, <var

cssom-view/Overview.src.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ <h3 id="terminology">Terminology</h3>
131131
<p><dfn><code>MouseEvent</code></dfn> is defined in DOM Level 2 Events.
132132
[<cite><span>DOM2Events</span></cite>]</p>
133133

134-
<p><dfn>HTML element</dfn>, <dfn><code>HTMLElement</code></dfn>,
135-
<dfn>view</dfn> and <dfn>default view</dfn> are defined by HTML5.
134+
<p><dfn>HTML element</dfn>, <dfn><code>HTMLElement</code></dfn>, and
135+
<dfn><code>Window</code></dfn> are defined by HTML5.
136136
[<cite><span>HTML5</span></cite>]</p>
137137

138138
<p><dfn>The HTML <code>body</code> element</dfn> is the first

0 commit comments

Comments
 (0)