[html5] r8429 - [e] (0) Improve wording of Audio constructor further. Fixing https://www.w3.org/ [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Jan 28 12:29:44 PST 2014


Author: ianh
Date: 2014-01-28 12:29:43 -0800 (Tue, 28 Jan 2014)
New Revision: 8429

Modified:
   complete.html
   index
   source
Log:
[e] (0) Improve wording of Audio constructor further.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=24325
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2014-01-28 20:17:38 UTC (rev 8428)
+++ complete.html	2014-01-28 20:29:43 UTC (rev 8429)
@@ -25016,8 +25016,8 @@
   <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

Modified: index
===================================================================
--- index	2014-01-28 20:17:38 UTC (rev 8428)
+++ index	2014-01-28 20:29:43 UTC (rev 8429)
@@ -25016,8 +25016,8 @@
   <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

Modified: source
===================================================================
--- source	2014-01-28 20:17:38 UTC (rev 8428)
+++ source	2014-01-28 20:29:43 UTC (rev 8429)
@@ -26446,9 +26446,9 @@
   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).




More information about the Commit-Watchers mailing list