[html5] r8447 - [giow] (3) Make the automatic pausing when you take a <video> out of a Document [...]
whatwg at whatwg.org
whatwg at whatwg.org
Thu Jan 30 14:17:27 PST 2014
Author: ianh
Date: 2014-01-30 14:17:26 -0800 (Thu, 30 Jan 2014)
New Revision: 8447
Modified:
complete.html
index
source
Log:
[giow] (3) Make the automatic pausing when you take a <video> out of a Document happen regardless of whether it's still loading or not.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=24350
Affected topics: Video and Audio
Modified: complete.html
===================================================================
--- complete.html 2014-01-30 21:51:44 UTC (rev 8446)
+++ complete.html 2014-01-30 22:17:26 UTC (rev 8447)
@@ -27536,8 +27536,12 @@
<ol><li><p>If the <a href=#media-element>media element</a>'s <code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> attribute has the value <code title=dom-media-NETWORK_EMPTY><a href=#dom-media-network_empty>NETWORK_EMPTY</a></code>, 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>.</li>
- <li><p>Set the <a href=#media-element>media element</a>'s <a href=#autoplaying-flag>autoplaying flag</a> to false.</li>
+ <li><p>Run the <a href=#internal-pause-steps>internal pause steps</a> for the <a href=#media-element>media element</a>.</li>
+ </ol><p>The <dfn id=internal-pause-steps>internal pause steps</dfn> for a <a href=#media-element>media element</a> are as follows:</p>
+
+ <ol><li><p>Set the <a href=#media-element>media element</a>'s <a href=#autoplaying-flag>autoplaying flag</a> to false.</li>
+
<li><p>If the <a href=#media-element>media element</a>'s <code title=dom-media-paused><a href=#dom-media-paused>paused</a></code> attribute
is false, run the following steps:</p>
@@ -27794,10 +27798,8 @@
<li><p>⌛ If the <a href=#media-element>media element</a> is <a href=#in-a-document>in a <code>Document</code></a>,
abort these steps.</li>
- <li><p>⌛ If the <a href=#media-element>media element</a>'s <code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> attribute has the value <code title=dom-media-NETWORK_EMPTY><a href=#dom-media-network_empty>NETWORK_EMPTY</a></code>, abort these steps.</li>
+ <li><p>⌛ Run the <a href=#internal-pause-steps>internal pause steps</a> for the <a href=#media-element>media element</a>.</p>
- <li><p>⌛ <a href=#dom-media-pause title=dom-media-pause>Pause</a> the <a href=#media-element>media element</a>.</p>
-
</ol></div>
Modified: index
===================================================================
--- index 2014-01-30 21:51:44 UTC (rev 8446)
+++ index 2014-01-30 22:17:26 UTC (rev 8447)
@@ -27536,8 +27536,12 @@
<ol><li><p>If the <a href=#media-element>media element</a>'s <code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> attribute has the value <code title=dom-media-NETWORK_EMPTY><a href=#dom-media-network_empty>NETWORK_EMPTY</a></code>, 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>.</li>
- <li><p>Set the <a href=#media-element>media element</a>'s <a href=#autoplaying-flag>autoplaying flag</a> to false.</li>
+ <li><p>Run the <a href=#internal-pause-steps>internal pause steps</a> for the <a href=#media-element>media element</a>.</li>
+ </ol><p>The <dfn id=internal-pause-steps>internal pause steps</dfn> for a <a href=#media-element>media element</a> are as follows:</p>
+
+ <ol><li><p>Set the <a href=#media-element>media element</a>'s <a href=#autoplaying-flag>autoplaying flag</a> to false.</li>
+
<li><p>If the <a href=#media-element>media element</a>'s <code title=dom-media-paused><a href=#dom-media-paused>paused</a></code> attribute
is false, run the following steps:</p>
@@ -27794,10 +27798,8 @@
<li><p>⌛ If the <a href=#media-element>media element</a> is <a href=#in-a-document>in a <code>Document</code></a>,
abort these steps.</li>
- <li><p>⌛ If the <a href=#media-element>media element</a>'s <code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> attribute has the value <code title=dom-media-NETWORK_EMPTY><a href=#dom-media-network_empty>NETWORK_EMPTY</a></code>, abort these steps.</li>
+ <li><p>⌛ Run the <a href=#internal-pause-steps>internal pause steps</a> for the <a href=#media-element>media element</a>.</p>
- <li><p>⌛ <a href=#dom-media-pause title=dom-media-pause>Pause</a> the <a href=#media-element>media element</a>.</p>
-
</ol></div>
Modified: source
===================================================================
--- source 2014-01-30 21:51:44 UTC (rev 8446)
+++ source 2014-01-30 22:17:26 UTC (rev 8447)
@@ -29429,6 +29429,14 @@
data-x="dom-media-NETWORK_EMPTY">NETWORK_EMPTY</code>, invoke the <span>media element</span>'s
<span data-x="concept-media-load-algorithm">resource selection algorithm</span>.</p></li>
+ <li><p>Run the <span>internal pause steps</span> for the <span>media element</span>.</p></li>
+
+ </ol>
+
+ <p>The <dfn>internal pause steps</dfn> for a <span>media element</span> are as follows:</p>
+
+ <ol>
+
<li><p>Set the <span>media element</span>'s <span>autoplaying flag</span> to false.</p></li>
<li><p>If the <span>media element</span>'s <code data-x="dom-media-paused">paused</code> attribute
@@ -29728,12 +29736,8 @@
<li><p>⌛ If the <span>media element</span> is <span>in a <code>Document</code></span>,
abort these steps.</p></li>
- <li><p>⌛ If the <span>media element</span>'s <code
- data-x="dom-media-networkState">networkState</code> attribute has the value <code
- data-x="dom-media-NETWORK_EMPTY">NETWORK_EMPTY</code>, abort these steps.</p></li>
+ <li><p>⌛ Run the <span>internal pause steps</span> for the <span>media element</span>.</p>
- <li><p>⌛ <span data-x="dom-media-pause">Pause</span> the <span>media element</span>.</p>
-
</ol>
</div>
More information about the Commit-Watchers
mailing list