[html5] r4201 - [giow] (1) Make <source> being inserted trigger load() even if the <video> isn't [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Oct 20 03:15:25 PDT 2009


Author: ianh
Date: 2009-10-20 03:15:22 -0700 (Tue, 20 Oct 2009)
New Revision: 4201

Modified:
   complete.html
   index
   source
Log:
[giow] (1) Make <source> being inserted trigger load() even if the <video> isn't in the document.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=7844

Modified: complete.html
===================================================================
--- complete.html	2009-10-20 09:17:34 UTC (rev 4200)
+++ complete.html	2009-10-20 10:15:22 UTC (rev 4201)
@@ -21986,8 +21986,7 @@
   <div class=impl>
 
   <p>If a <code><a href=#the-source-element>source</a></code> element is inserted as a child of a
-  <a href=#media-element>media element</a> that has no <code title=attr-media-src><a href=#attr-media-src>src</a></code> attribute and that is <a href=#in-a-document>in a
-  <code>Document</code></a> and whose <code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> has the value
+  <a href=#media-element>media element</a> that has no <code title=attr-media-src><a href=#attr-media-src>src</a></code> attribute and whose <code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> has the value
   <code title=dom-media-NETWORK_EMPTY><a href=#dom-media-network_empty>NETWORK_EMPTY</a></code>, the user
   agent must invoke the <a href=#media-element>media element</a>'s <a href=#concept-media-load-algorithm title=concept-media-load-algorithm>resource selection
   algorithm</a>.</p>
@@ -23102,14 +23101,8 @@
    abort the overall <a href=#concept-media-load-algorithm title=concept-media-load-algorithm>resource selection
    algorithm</a>.</li>
 
-  </ol><p>If a <a href=#media-element>media element</a> whose <code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> has the value
-  <code title=dom-media-NETWORK_EMPTY><a href=#dom-media-network_empty>NETWORK_EMPTY</a></code> is <a href=#insert-an-element-into-a-document title="insert an element into a document">inserted into a
-  document</a>, the user agent must invoke the <a href=#media-element>media
-  element</a>'s <a href=#concept-media-load-algorithm title=concept-media-load-algorithm>resource
-  selection algorithm</a>.</p>
+  </ol></div>
 
-  </div>
-
   <p>The <dfn id=attr-media-autobuffer title=attr-media-autobuffer><code>autobuffer</code></dfn>
   attribute is a <a href=#boolean-attribute>boolean attribute</a>. Its presence hints to
   the user agent that the author believes that the <a href=#media-element>media

Modified: index
===================================================================
--- index	2009-10-20 09:17:34 UTC (rev 4200)
+++ index	2009-10-20 10:15:22 UTC (rev 4201)
@@ -21815,8 +21815,7 @@
   <div class=impl>
 
   <p>If a <code><a href=#the-source-element>source</a></code> element is inserted as a child of a
-  <a href=#media-element>media element</a> that has no <code title=attr-media-src><a href=#attr-media-src>src</a></code> attribute and that is <a href=#in-a-document>in a
-  <code>Document</code></a> and whose <code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> has the value
+  <a href=#media-element>media element</a> that has no <code title=attr-media-src><a href=#attr-media-src>src</a></code> attribute and whose <code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> has the value
   <code title=dom-media-NETWORK_EMPTY><a href=#dom-media-network_empty>NETWORK_EMPTY</a></code>, the user
   agent must invoke the <a href=#media-element>media element</a>'s <a href=#concept-media-load-algorithm title=concept-media-load-algorithm>resource selection
   algorithm</a>.</p>
@@ -22931,14 +22930,8 @@
    abort the overall <a href=#concept-media-load-algorithm title=concept-media-load-algorithm>resource selection
    algorithm</a>.</li>
 
-  </ol><p>If a <a href=#media-element>media element</a> whose <code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> has the value
-  <code title=dom-media-NETWORK_EMPTY><a href=#dom-media-network_empty>NETWORK_EMPTY</a></code> is <a href=#insert-an-element-into-a-document title="insert an element into a document">inserted into a
-  document</a>, the user agent must invoke the <a href=#media-element>media
-  element</a>'s <a href=#concept-media-load-algorithm title=concept-media-load-algorithm>resource
-  selection algorithm</a>.</p>
+  </ol></div>
 
-  </div>
-
   <p>The <dfn id=attr-media-autobuffer title=attr-media-autobuffer><code>autobuffer</code></dfn>
   attribute is a <a href=#boolean-attribute>boolean attribute</a>. Its presence hints to
   the user agent that the author believes that the <a href=#media-element>media

Modified: source
===================================================================
--- source	2009-10-20 09:17:34 UTC (rev 4200)
+++ source	2009-10-20 10:15:22 UTC (rev 4201)
@@ -23412,8 +23412,7 @@
 
   <p>If a <code>source</code> element is inserted as a child of a
   <span>media element</span> that has no <code
-  title="attr-media-src">src</code> attribute and that is <span>in a
-  <code>Document</code></span> and whose <code
+  title="attr-media-src">src</code> attribute and whose <code
   title="dom-media-networkState">networkState</code> has the value
   <code title="dom-media-NETWORK_EMPTY">NETWORK_EMPTY</code>, the user
   agent must invoke the <span>media element</span>'s <span
@@ -24753,14 +24752,6 @@
 
   </ol>
 
-  <p>If a <span>media element</span> whose <code
-  title="dom-media-networkState">networkState</code> has the value
-  <code title="dom-media-NETWORK_EMPTY">NETWORK_EMPTY</code> is <span
-  title="insert an element into a document">inserted into a
-  document</span>, the user agent must invoke the <span>media
-  element</span>'s <span title="concept-media-load-algorithm">resource
-  selection algorithm</span>.</p>
-
   </div>
 
   <p>The <dfn




More information about the Commit-Watchers mailing list