- From: poot <cvsmail@w3.org>
- Date: Thu, 16 Oct 2008 06:05:11 +0900 (JST)
- To: public-html-diffs@w3.org
wrong argument name for new Audio(). (bug 6057) (whatwg r2334) http://www.w3.org/Bugs/Public/show_bug.cgi?id=6057 HTMLAudioElement http://people.w3.org/mike/diffs/html5/spec/Overview.1.1507.html#htmlaudioelement 4.8.8 The audio element http://people.w3.org/mike/diffs/html5/spec/Overview.1.1507.html#audio Audio() http://people.w3.org/mike/diffs/html5/spec/Overview.1.1507.html#dom-audio http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1506&r2=1.1507&f=h http://html5.org/tools/web-apps-tracker?from=2333&to=2334 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.1506 retrieving revision 1.1507 diff -u -d -r1.1506 -r1.1507 --- Overview.html 15 Oct 2008 20:16:09 -0000 1.1506 +++ Overview.html 15 Oct 2008 21:01:51 -0000 1.1507 @@ -13280,7 +13280,7 @@ <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> @@ -13303,7 +13303,7 @@ the <a href=#current-playback-position>current playback position</a>, at the specified <a href=#dom-media-volume title=dom-media-volume>volume</a> with the specified <a href=#dom-media-muted title=dom-media-muted>mute state</a>.<p>When an <code><a href=#audio>audio</a></code> element is not <a href=#potentially-playing>potentially playing</a>, audio must not play for the element.<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
Received on Wednesday, 15 October 2008 21:05:48 UTC