- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 01 Dec 2008 11:36:40 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv5243
Modified Files:
Overview.html
Log Message:
Fire 'waiting' after play() if playback is not immediately started. (whatwg r2496)
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1666
retrieving revision 1.1667
diff -u -d -r1.1666 -r1.1667
--- Overview.html 1 Dec 2008 11:25:10 -0000 1.1666
+++ Overview.html 1 Dec 2008 11:36:37 -0000 1.1667
@@ -14785,18 +14785,27 @@
</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 true, it must
- be set 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 true, it must
+ be set to false.</p>
+
+ <p>If this changed the value of <code title=dom-media-paused><a href=#dom-media-paused>paused</a></code>, the user agent must
+ <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a>
+ called <code title=event-play><a href=#event-play>play</a></code> at the element.</p>
+
+ </li>
<li><p>The <a href=#media-element>media element</a>'s <a href=#autoplaying-flag>autoplaying
flag</a> must be set to false.</li>
- <li><p>The method must then return.</li>
+ <li><p>If the <a href=#media-element>media element</a>'s <code title=dom-media-readyState><a href=#dom-media-readystate>readyState</a></code> attribute has a
+ value lower than <code title=dom-media-HAVE_FUTURE_DATA><a href=#dom-media-have_future_data>HAVE_FUTURE_DATA</a></code>, the
+ user agent must <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple
+ event</a> called <code title=event-waiting><a href=#event-waiting>waiting</a></code> at
+ the element.</li>
- <li><p>If the fourth step above changed the value of <code title=dom-media-paused><a href=#dom-media-paused>paused</a></code>, the user agent must
- <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a>
- called <code title=event-play><a href=#event-play>play</a></code> at the
- element.</li>
+ <li><p>The method must then return.</li>
</ol><hr><p>When the <dfn id=dom-media-pause title=dom-media-pause><code>pause()</code></dfn>
method is invoked, the user agent must run the following steps:<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
@@ -14965,7 +14974,7 @@
<li><p>If the <a href=#media-element>media element</a> was <a href=#potentially-playing>potentially
playing</a> immediately before it started seeking, but seeking
caused its <code title=dom-media-readyState><a href=#dom-media-readystate>readyState</a></code>
- attribute to change to a value lower than <code title=dom-media-HAVE_FUTURE_FRAME>HAVE_FUTURE_FRAME</code>, the
+ attribute to change to a value lower than <code title=dom-media-HAVE_FUTURE_DATA><a href=#dom-media-have_future_data>HAVE_FUTURE_DATA</a></code>, the
user agent must <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple
event</a> called <code title=event-waiting><a href=#event-waiting>waiting</a></code> at
the element.</li>
Received on Monday, 1 December 2008 11:36:50 UTC