Skip to content

Commit

Permalink
[e] (0) Improve wording of Audio constructor further.
Browse files Browse the repository at this point in the history
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=24325
Affected topics: HTML

git-svn-id: http://svn.whatwg.org/webapps@8429 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jan 28, 2014
1 parent e6d8db6 commit 05ca621
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions complete.html
Expand Up @@ -25016,8 +25016,8 @@ <h4 id=the-audio-element><span class=secno>4.7.7 </span>The <dfn id=audio><code>
<p>A constructor is provided for creating <code><a href=#htmlaudioelement>HTMLAudioElement</a></code> objects (in addition to
the factory methods from DOM such as <code title="">createElement()</code>): <dfn id=dom-audio title=dom-Audio><code>Audio(<var title="">src</var>)</code></dfn>. When invoked as a
constructor, it must return a new <code><a href=#htmlaudioelement>HTMLAudioElement</a></code> object (a new <code><a href=#the-audio-element>audio</a></code>
element). The element must have its <code title=attr-media-preload><a href=#attr-media-preload>preload</a></code> attribute set
to the literal value "<code title=attr-media-preload-auto><a href=#attr-media-preload-auto>auto</a></code>". If the <var title="">src</var> argument is present, the object created must have its <code title=attr-media-src><a href=#attr-media-src>src</a></code> content attribute set to the provided value (this will <a href=#concept-media-load-algorithm-at-creation>cause the user agent to invoke</a> the object's
element). The element must be created with its <code title=attr-media-preload><a href=#attr-media-preload>preload</a></code> attribute set
to the literal value "<code title=attr-media-preload-auto><a href=#attr-media-preload-auto>auto</a></code>". If the <var title="">src</var> argument is present, the object created must be created with its <code title=attr-media-src><a href=#attr-media-src>src</a></code> content attribute set to the provided value (this will <a href=#concept-media-load-algorithm-at-creation>cause the user agent to invoke</a> the object's
<a href=#concept-media-load-algorithm title=concept-media-load-algorithm>resource selection algorithm</a> before returning).
The element's document must be the <a href=#active-document>active document</a>
of the <a href=#browsing-context>browsing context</a> of the <code><a href=#window>Window</a></code> object on which the interface
Expand Down
4 changes: 2 additions & 2 deletions index
Expand Up @@ -25016,8 +25016,8 @@ interface <dfn id=htmlaudioelement>HTMLAudioElement</dfn> : <a href=#htmlmediael
<p>A constructor is provided for creating <code><a href=#htmlaudioelement>HTMLAudioElement</a></code> objects (in addition to
the factory methods from DOM such as <code title="">createElement()</code>): <dfn id=dom-audio title=dom-Audio><code>Audio(<var title="">src</var>)</code></dfn>. When invoked as a
constructor, it must return a new <code><a href=#htmlaudioelement>HTMLAudioElement</a></code> object (a new <code><a href=#the-audio-element>audio</a></code>
element). The element must have its <code title=attr-media-preload><a href=#attr-media-preload>preload</a></code> attribute set
to the literal value "<code title=attr-media-preload-auto><a href=#attr-media-preload-auto>auto</a></code>". If the <var title="">src</var> argument is present, the object created must have its <code title=attr-media-src><a href=#attr-media-src>src</a></code> content attribute set to the provided value (this will <a href=#concept-media-load-algorithm-at-creation>cause the user agent to invoke</a> the object's
element). The element must be created with its <code title=attr-media-preload><a href=#attr-media-preload>preload</a></code> attribute set
to the literal value "<code title=attr-media-preload-auto><a href=#attr-media-preload-auto>auto</a></code>". If the <var title="">src</var> argument is present, the object created must be created with its <code title=attr-media-src><a href=#attr-media-src>src</a></code> content attribute set to the provided value (this will <a href=#concept-media-load-algorithm-at-creation>cause the user agent to invoke</a> the object's
<a href=#concept-media-load-algorithm title=concept-media-load-algorithm>resource selection algorithm</a> before returning).
The element's document must be the <a href=#active-document>active document</a>
of the <a href=#browsing-context>browsing context</a> of the <code><a href=#window>Window</a></code> object on which the interface
Expand Down
4 changes: 2 additions & 2 deletions source
Expand Up @@ -26446,9 +26446,9 @@ interface <dfn>HTMLAudioElement</dfn> : <span>HTMLMediaElement</span> {};</pre>
the factory methods from DOM such as <code data-x="">createElement()</code>): <dfn
data-x="dom-Audio"><code>Audio(<var data-x="">src</var>)</code></dfn>. When invoked as a
constructor, it must return a new <code>HTMLAudioElement</code> object (a new <code>audio</code>
element). The element must have its <code data-x="attr-media-preload">preload</code> attribute set
element). The element must be created with its <code data-x="attr-media-preload">preload</code> attribute set
to the literal value "<code data-x="attr-media-preload-auto">auto</code>". If the <var
data-x="">src</var> argument is present, the object created must have its <code
data-x="">src</var> argument is present, the object created must be created with its <code
data-x="attr-media-src">src</code> content attribute set to the provided value (this will <a
href="#concept-media-load-algorithm-at-creation">cause the user agent to invoke</a> the object's
<span data-x="concept-media-load-algorithm">resource selection algorithm</span> before returning).
Expand Down

0 comments on commit 05ca621

Please sign in to comment.