Skip to content

Commit

Permalink
[e] (0) Minor cleanup of the Window definition
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@738 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Apr 14, 2007
1 parent 05c7aa6 commit 86ecd1a
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions index
Expand Up @@ -22643,18 +22643,19 @@ XXX selection ranges -->
http://lxr.mozilla.org/mozilla/source/dom/public/idl/base/nsIDOMWindow.idl
-->

<p>The <code><a href="#window">Window</a></code> object must provide the
following constructors:
<p>In addition, <code><a href="#window">Window</a></code> objects must
provide the following constructors:

<dl>
<dt><dfn id=audio2 title=dom-audio><code>Audio()</code></dfn>

<dt><dfn id=audio3 title=dom-audio><code>Audio(<var
<dt><dfn id=audio3 title=dom-audio-s><code>Audio(<var
title="">src</var>)</code></dfn>

<dd>
<p>Constructs an <code><a
href="#htmlaudioelement">HTMLAudioElement</a></code> object. If the <var
<p>When invoked as constructors, these must return a new <code><a
href="#htmlaudioelement">HTMLAudioElement</a></code> object (a new
<code><a href="#audio1">audio</a></code> element). If the <var
title=src>src</var> argument is present, the object created must have
its <code title=dom-media-src><a href="#src6">src</a></code> content
attribute set to the provided value.
Expand All @@ -22668,7 +22669,7 @@ XXX selection ranges -->
title="">w</var>, in unsigned long <var title="">h</var>)</code></dfn>

<dd>
<p>Constructs an <code><a
<p>When invoked as corstructors, these must return a new <code><a
href="#htmlimageelement">HTMLImageElement</a></code> object (a new
<code><a href="#img">img</a></code> element). If the <var
title="">h</var> argument is present, the new object's <code
Expand All @@ -22687,13 +22688,18 @@ XXX selection ranges -->
title="">name</var>, in DOMString <var title="">value</var>)</code></dfn>

<dd>
<p>Constructs an <code>HTMLOptionElement</code> object (a new
<code>option</code> element). <span class=big-issue>need to define
argument processing</span>
<p>When invoked as constructors, these must return a new
<code>HTMLOptionElement</code> object (a new <code>option</code>
element). <span class=big-issue>need to define argument
processing</span>
</dl>

<p class=big-issue>And when constructors are invoked but without using the
constructor syntax...?

<p class=note><code><a href="#window">Window</a></code> objects also <a
href="#get" title=dom-item>have an implicit [[Get]] method</a>.
href="#get" title=dom-item>have an implicit [[Get]] method</a> which
returns <span>nested browsing contexts</span>.

<h3 id=user-prompts><span class=secno>4.2. </span>User prompts</h3>
<!--
Expand Down Expand Up @@ -22827,9 +22833,6 @@ XXX selection ranges -->
must be the given browsing context name. Otherwise, it has no name.
</ol>

<p class=big-issue>this section should move to somewhere where we define
browsing contexts.

<h3 id=history><span class=secno>4.4. </span>Session history and navigation</h3>

<h4 id=the-session><span class=secno>4.4.1. </span>The <dfn
Expand Down

0 comments on commit 86ecd1a

Please sign in to comment.