Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[e] (0) wrong argument name for new Audio(). (bug 6057)
git-svn-id: http://svn.whatwg.org/webapps@2334 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Oct 15, 2008
1 parent be6d959 commit 7109cbe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions index
Expand Up @@ -16336,7 +16336,7 @@ href="?audio"&gt;audio&lt;/a&gt; test instead.)&lt;/p&gt;</pre>
<dt>DOM interface:</dt>
<dd>
<pre class=idl>[NamedConstructor=<a href=#dom-audio title=dom-Audio>Audio</a>(),
NamedConstructor=<a href=#dom-audio-u title=dom-Audio-u>Audio</a>(in DOMString url)]
NamedConstructor=<a href=#dom-audio-s title=dom-Audio-s>Audio</a>(in DOMString src)]
interface <dfn id=htmlaudioelement>HTMLAudioElement</dfn> : <a href=#htmlmediaelement>HTMLMediaElement</a> {
// no members
};</pre>
Expand Down Expand Up @@ -16373,7 +16373,7 @@ interface <dfn id=htmlaudioelement>HTMLAudioElement</dfn> : <a href=#htmlmediael

<p>Two constructors are provided for creating
<code><a href=#htmlaudioelement>HTMLAudioElement</a></code> objects (in addition to the factory
methods from DOM Core such as <code title="">createElement()</code>): <dfn id=dom-audio title=dom-Audio><code>Audio()</code></dfn> and <dfn id=dom-audio-u title=dom-Audio-u><code>Audio(<var title="">url</var>)</code></dfn>. When invoked as constructors,
methods from DOM Core such as <code title="">createElement()</code>): <dfn id=dom-audio title=dom-Audio><code>Audio()</code></dfn> and <dfn id=dom-audio-s title=dom-Audio-s><code>Audio(<var title="">src</var>)</code></dfn>. When invoked as constructors,
these must return a new <code><a href=#htmlaudioelement>HTMLAudioElement</a></code> object (a new
<code><a href=#audio>audio</a></code> element). If the <var title="">src</var> argument
is present, the object created must have its <code title=dom-media-src><a href=#dom-media-src>src</a></code> content attribute set to the
Expand Down
6 changes: 3 additions & 3 deletions source
Expand Up @@ -17405,7 +17405,7 @@ href="?audio">audio&lt;/a> test instead.)&lt;/p></pre>
<dt>DOM interface:</dt>
<dd>
<pre class="idl">[NamedConstructor=<span title="dom-Audio">Audio</span>(),
NamedConstructor=<span title="dom-Audio-u">Audio</span>(in DOMString url)]
NamedConstructor=<span title="dom-Audio-s">Audio</span>(in DOMString src)]
interface <dfn>HTMLAudioElement</dfn> : <span>HTMLMediaElement</span> {
// no members
};</pre>
Expand Down Expand Up @@ -17457,8 +17457,8 @@ interface <dfn>HTMLAudioElement</dfn> : <span>HTMLMediaElement</span> {
methods from DOM Core such as <code
title="">createElement()</code>): <dfn
title="dom-Audio"><code>Audio()</code></dfn> and <dfn
title="dom-Audio-u"><code>Audio(<var
title="">url</var>)</code></dfn>. When invoked as constructors,
title="dom-Audio-s"><code>Audio(<var
title="">src</var>)</code></dfn>. When invoked as constructors,
these must return a new <code>HTMLAudioElement</code> object (a new
<code>audio</code> element). If the <var title="">src</var> argument
is present, the object created must have its <code
Expand Down

0 comments on commit 7109cbe

Please sign in to comment.