W3C home > Mailing lists > Public > public-html-commits@w3.org > April 2011

html5/spec spec.html,1.1443,1.1444 video.html,1.939,1.940

From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 15 Apr 2011 19:46:46 +0000
To: public-html-commits@w3.org
Message-Id: <E1QAoyd-0005Y6-0V@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv21307

Modified Files:
	spec.html video.html 
Log Message:
More tweaking of the event definitions, and some additional internal notes for future fixes. (whatwg r6014)

[updated by splitter]


Index: video.html
===================================================================
RCS file: /sources/public/html5/spec/video.html,v
retrieving revision 1.939
retrieving revision 1.940
diff -u -d -r1.939 -r1.940
--- video.html	15 Apr 2011 01:46:40 -0000	1.939
+++ video.html	15 Apr 2011 19:46:44 -0000	1.940
@@ -4669,17 +4669,17 @@
      </td><td><code><a href="infrastructure.html#event">Event</a></code>
      </td><td>The user agent estimates that if playback were to be started now, the <a href="#media-resource">media resource</a> could be rendered at the current playback rate all the way to its end without having to stop for further buffering.
      </td><td><code title="dom-media-readyState"><a href="#dom-media-readystate">readyState</a></code> is newly equal to <code title="dom-media-HAVE_ENOUGH_DATA"><a href="#dom-media-have_enough_data">HAVE_ENOUGH_DATA</a></code>.
-    </td></tr><tr><td><dfn id="event-media-waiting" title="event-media-waiting"><code>waiting</code></dfn>
-     </td><td><code><a href="infrastructure.html#event">Event</a></code>
-     </td><td>Playback has stopped because the next frame is not available, but the user agent expects that frame to become available in due course.
-     </td><td><code title="dom-media-readyState"><a href="#dom-media-readystate">readyState</a></code> is equal to or less than <code title="dom-media-HAVE_CURRENT_DATA"><a href="#dom-media-have_current_data">HAVE_CURRENT_DATA</a></code>, and <code title="dom-media-paused"><a href="#dom-media-paused">paused</a></code> is false. Either <code title="dom-media-seeking"><a href="#dom-media-seeking">seeking</a></code> is true, or the <a href="#current-playback-position">current playback position</a> is not contained in any of the ranges in <code title="dom-media-buffered"><a href="#dom-media-buffered">buffered</a></code>. It is possible for playback to stop for other reasons without <code title="dom-media-paused"><a href="#dom-media-paused">paused</a></code> being false, but those reasons do not fire this event: e.g.
-     <a href="#ended-playback" title="ended playback">playback ended</a>, or playback <a href="#stopped-due-to-errors">stopped due to errors</a>, or the element has <a href="#paused-for-user-interaction">paused for user interaction</a>.
     </td></tr><tr><td><dfn id="event-media-playing" title="event-media-playing"><code>playing</code></dfn>
      </td><td><code><a href="infrastructure.html#event">Event</a></code>
      </td><td>Playback has started after having been delayed due to lack of <a href="#media-data">media data</a>.
      </td><td>The element is newly <a href="#potentially-playing">potentially playing</a>, either because <code title="dom-media-readyState"><a href="#dom-media-readystate">readyState</a></code> is newly equal to or greater than <code title="dom-media-HAVE_FUTURE_DATA"><a href="#dom-media-have_future_data">HAVE_FUTURE_DATA</a></code>, or because <code title="dom-media-paused"><a href="#dom-media-paused">paused</a></code> is newly false. It is possible for playback to start without this event firing, e.g. if when playback would have started, 
      the element had been <a href="#paused-for-user-interaction">paused for user interaction</a>.
      
+    </td></tr><tr><td><dfn id="event-media-waiting" title="event-media-waiting"><code>waiting</code></dfn>
+     </td><td><code><a href="infrastructure.html#event">Event</a></code>
+     </td><td>Playback has stopped because the next frame is not available, but the user agent expects that frame to become available in due course.
+     </td><td><code title="dom-media-readyState"><a href="#dom-media-readystate">readyState</a></code> is equal to or less than <code title="dom-media-HAVE_CURRENT_DATA"><a href="#dom-media-have_current_data">HAVE_CURRENT_DATA</a></code>, and <code title="dom-media-paused"><a href="#dom-media-paused">paused</a></code> is false. Either <code title="dom-media-seeking"><a href="#dom-media-seeking">seeking</a></code> is true, or the <a href="#current-playback-position">current playback position</a> is not contained in any of the ranges in <code title="dom-media-buffered"><a href="#dom-media-buffered">buffered</a></code>. It is possible for playback to stop for other reasons without <code title="dom-media-paused"><a href="#dom-media-paused">paused</a></code> being false, but those reasons do not fire this event (and when those situations resolve, a separate <code title="event-media-playing"><a href="#event-media-playing">playing</a></code> event is not fired either): e.g.
+     <a href="#ended-playback" title="ended playback">playback ended</a>, or playback <a href="#stopped-due-to-errors">stopped due to errors</a>, or the element has <a href="#paused-for-user-interaction">paused for user interaction</a>.
    </td></tr></tbody><tbody><tr><td><dfn id="event-media-seeking" title="event-media-seeking"><code>seeking</code></dfn>
      </td><td><code><a href="infrastructure.html#event">Event</a></code>
      </td><td>The <code title="dom-media-seeking"><a href="#dom-media-seeking">seeking</a></code> IDL attribute changed to true and the seek operation is taking long enough that the user agent has time to fire the event.

Index: spec.html
===================================================================
RCS file: /sources/public/html5/spec/spec.html,v
retrieving revision 1.1443
retrieving revision 1.1444
diff -u -d -r1.1443 -r1.1444
--- spec.html	15 Apr 2011 01:46:40 -0000	1.1443
+++ spec.html	15 Apr 2011 19:46:44 -0000	1.1444
@@ -367,7 +367,7 @@
     <a href="Overview.html">single page HTML</a>,
     <a href="spec.html">multipage HTML</a>,
     <a href="author/">web developer edition</a>.
-This is revision 1.4835.
+This is revision 1.4836.
    </p> 
      <p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
    &#169; 2010 <a href="http://www.w3.org/"><abbr title="World Wide
Received on Friday, 15 April 2011 19:46:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 15 April 2011 19:46:50 GMT