html5/spec Overview.html,1.1662,1.1663

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv20491

Modified Files:
	Overview.html 
Log Message:
Add another example for 'durationchange'. (whatwg r2492)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1662
retrieving revision 1.1663
diff -u -d -r1.1662 -r1.1663
--- Overview.html	1 Dec 2008 09:53:24 -0000	1.1662
+++ Overview.html	1 Dec 2008 09:59:16 -0000	1.1663
@@ -14534,7 +14534,12 @@
   <code title=event-durationchange><a href=#event-durationchange>durationchange</a></code> at the
   <a href=#media-element>media element</a>.<p class=example>If an "infinite" stream ends for some reason,
   then the duration would change from positive Infinity to the time of
-  the last frame or sample in the stream.<p><a href=#media-element title="media element">Media elements</a> have a
+  the last frame or sample in the stream, and the <code title=event-durationchange><a href=#event-durationchange>durationchange</a></code> event would be
+  fired. Similarly, if the user agent initially estimated the
+  <a href=#media-resource>media resource</a>'s duration instead of determining it
+  precisely, and later revises the estimate based on new information,
+  then the duration would change and the <code title=event-durationchange><a href=#event-durationchange>durationchange</a></code> event would be
+  fired.<p><a href=#media-element title="media element">Media elements</a> have a
   <dfn id=current-playback-position>current playback position</dfn>, which must initially be
   zero. The current position is a time.<p>The <dfn id=dom-media-currenttime title=dom-media-currentTime><code>currentTime</code></dfn>
   attribute must, on getting, return the <a href=#current-playback-position>current playback

Received on Monday, 1 December 2008 09:59:28 UTC