html5/spec spec.html,1.1045,1.1046 video.html,1.869,1.870

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

Modified Files:
	spec.html video.html 
Log Message:
<video>: Make a network error not hide what's loaded so far. (whatwg r5118)

[updated by splitter]


Index: video.html
===================================================================
RCS file: /sources/public/html5/spec/video.html,v
retrieving revision 1.869
retrieving revision 1.870
diff -u -d -r1.869 -r1.870
--- video.html	25 Jun 2010 19:26:57 -0000	1.869
+++ video.html	29 Jun 2010 17:57:09 -0000	1.870
@@ -1732,12 +1732,15 @@
        event</a> named <code title="event-media-error"><a href="#event-media-error">error</a></code>
        at the <a href="#media-element">media element</a>.</p></li>
 
-       <li><p>Set the element's <code title="dom-media-networkState"><a href="#dom-media-networkstate">networkState</a></code> attribute to
+       <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 equal to <code title="dom-media-HAVE_NOTHING"><a href="#dom-media-have_nothing">HAVE_NOTHING</a></code>, set the
+       element's <code title="dom-media-networkState"><a href="#dom-media-networkstate">networkState</a></code> attribute to
        the <code title="dom-media-NETWORK_EMPTY"><a href="#dom-media-network_empty">NETWORK_EMPTY</a></code>
        value and <a href="webappapis.html#queue-a-task">queue a task</a> to <a href="webappapis.html#fire-a-simple-event">fire a simple
-       event</a> named <code title="event-media-emptied"><a href="#event-media-emptied">emptied</a></code> at the
-       element.</p></li> <!-- XXX shouldn't this be _IDLE? see
-       aborted-by-user state below -->
+       event</a> named <code title="event-media-emptied"><a href="#event-media-emptied">emptied</a></code>
+       at the element. Otherwise, set the element's <code title="dom-media-networkState"><a href="#dom-media-networkstate">networkState</a></code> attribute to
+       the <code title="dom-media-NETWORK_IDLE"><a href="#dom-media-network_idle">NETWORK_IDLE</a></code>
+       value.</p></li>
 
        <li><p>Set the element's <a href="#delaying-the-load-event-flag">delaying-the-load-event
        flag</a> to false. This stops <a href="the-end.html#delay-the-load-event" title="delay the load
@@ -1769,12 +1772,15 @@
        event</a> named <code title="event-media-error"><a href="#event-media-error">error</a></code>
        at the <a href="#media-element">media element</a>.</p></li>
 
-       <li><p>Set the element's <code title="dom-media-networkState"><a href="#dom-media-networkstate">networkState</a></code> attribute to
+       <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 equal to <code title="dom-media-HAVE_NOTHING"><a href="#dom-media-have_nothing">HAVE_NOTHING</a></code>, set the
+       element's <code title="dom-media-networkState"><a href="#dom-media-networkstate">networkState</a></code> attribute to
        the <code title="dom-media-NETWORK_EMPTY"><a href="#dom-media-network_empty">NETWORK_EMPTY</a></code>
        value and <a href="webappapis.html#queue-a-task">queue a task</a> to <a href="webappapis.html#fire-a-simple-event">fire a simple
-       event</a> named <code title="event-media-emptied"><a href="#event-media-emptied">emptied</a></code> at the
-       element.</p></li> <!-- XXX shouldn't this be _IDLE? see
-       aborted-by-user case below -->
+       event</a> named <code title="event-media-emptied"><a href="#event-media-emptied">emptied</a></code>
+       at the element. Otherwise, set the element's <code title="dom-media-networkState"><a href="#dom-media-networkstate">networkState</a></code> attribute to
+       the <code title="dom-media-NETWORK_IDLE"><a href="#dom-media-network_idle">NETWORK_IDLE</a></code>
+       value.</p></li>
 
        <li><p>Set the element's <a href="#delaying-the-load-event-flag">delaying-the-load-event
        flag</a> to false. This stops <a href="the-end.html#delay-the-load-event" title="delay the load

Index: spec.html
===================================================================
RCS file: /sources/public/html5/spec/spec.html,v
retrieving revision 1.1045
retrieving revision 1.1046
diff -u -d -r1.1045 -r1.1046
--- spec.html	25 Jun 2010 19:26:57 -0000	1.1045
+++ spec.html	29 Jun 2010 17:57:09 -0000	1.1046
@@ -334,7 +334,7 @@
     <a href="Overview.html">single page HTML</a>,
     <a href="spec.html">multipage HTML</a>,
     <a href="author/">author edition</a>.
-This is revision 1.4105.
+This is revision 1.4106.
    </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 Tuesday, 29 June 2010 17:57:13 UTC