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

html5/spec Overview.html,1.4950,1.4951

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 02 Jun 2011 23:53:54 +0000
To: public-html-commits@w3.org
Message-Id: <E1QSHi6-0002A3-Is@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv8286

Modified Files:
	Overview.html 
Log Message:
Add a note about HAVE_METADATA vs HAVE_CURRENT_DATA (whatwg r6177)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4950
retrieving revision 1.4951
diff -u -d -r1.4950 -r1.4951
--- Overview.html	2 Jun 2011 23:49:02 -0000	1.4950
+++ Overview.html	2 Jun 2011 23:53:50 -0000	1.4951
@@ -23609,7 +23609,11 @@
    playback rate</a>, would not overtake the available data before
    playback reaches the end of the <a href="#media-resource">media resource</a>.</dd>
 
-  </dl><div class="impl">
+  </dl><p class="note">In practice, the difference between <code title="dom-media-HAVE_METADATA"><a href="#dom-media-have_metadata">HAVE_METADATA</a></code> and <code title="dom-media-HAVE_CURRENT_DATA"><a href="#dom-media-have_current_data">HAVE_CURRENT_DATA</a></code> is
+  negligible. Really the only time the difference is relevant is when
+  painting a <code><a href="#the-video-element">video</a></code> element onto a <code><a href="#the-canvas-element">canvas</a></code>,
+  where it distinguishes the case where something will be drawn (<code title="dom-media-HAVE_CURRENT_DATA"><a href="#dom-media-have_current_data">HAVE_CURRENT_DATA</a></code> or
+  greater) from the case where nothing is drawn (<code title="dom-media-HAVE_METADATA"><a href="#dom-media-have_metadata">HAVE_METADATA</a></code> or less).<div class="impl">
 
   <p>When the ready state of a <a href="#media-element">media element</a> whose <code title="dom-media-networkState"><a href="#dom-media-networkstate">networkState</a></code> is not <code title="dom-media-NETWORK_EMPTY"><a href="#dom-media-network_empty">NETWORK_EMPTY</a></code> changes, the
   user agent must follow the steps given below:</p>
Received on Thursday, 2 June 2011 23:53:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 2 June 2011 23:53:57 GMT