[html5] r2489 - [gow] (2) Drop HAVE_SOME_DATA. (credit: ec)

whatwg at whatwg.org whatwg at whatwg.org
Sun Nov 30 22:53:29 PST 2008


Author: ianh
Date: 2008-11-30 22:53:28 -0800 (Sun, 30 Nov 2008)
New Revision: 2489

Modified:
   index
   source
Log:
[gow] (2) Drop HAVE_SOME_DATA. (credit: ec)

Modified: index
===================================================================
--- index	2008-11-30 21:43:40 UTC (rev 2488)
+++ index	2008-12-01 06:53:28 UTC (rev 2489)
@@ -17,7 +17,7 @@
   <div class=head>
    <p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
    <h1>HTML 5</h1>
-   <h2 class="no-num no-toc" id=draft-recommendation-—-date:-01-jan-1901>Draft Recommendation — 30 November 2008</h2>
+   <h2 class="no-num no-toc" id=draft-recommendation-—-date:-01-jan-1901>Draft Recommendation — 1 December 2008</h2>
    <p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
    <p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
    <dl><dt>Multiple-page version:</dt>
@@ -16976,10 +16976,9 @@
   // ready state
   const unsigned short <a href=#dom-media-have_nothing title=dom-media-HAVE_NOTHING>HAVE_NOTHING</a> = 0;
   const unsigned short <a href=#dom-media-have_metadata title=dom-media-HAVE_METADATA>HAVE_METADATA</a> = 1;
-  const unsigned short <a href=#dom-media-have_some_data title=dom-media-HAVE_SOME_DATA>HAVE_SOME_DATA</a> = 2;
-  const unsigned short <a href=#dom-media-have_current_data title=dom-media-HAVE_CURRENT_DATA>HAVE_CURRENT_DATA</a> = 3;
-  const unsigned short <a href=#dom-media-have_future_data title=dom-media-HAVE_FUTURE_DATA>HAVE_FUTURE_DATA</a> = 4;
-  const unsigned short <a href=#dom-media-have_enough_data title=dom-media-HAVE_ENOUGH_DATA>HAVE_ENOUGH_DATA</a> = 5;
+  const unsigned short <a href=#dom-media-have_current_data title=dom-media-HAVE_CURRENT_DATA>HAVE_CURRENT_DATA</a> = 2;
+  const unsigned short <a href=#dom-media-have_future_data title=dom-media-HAVE_FUTURE_DATA>HAVE_FUTURE_DATA</a> = 3;
+  const unsigned short <a href=#dom-media-have_enough_data title=dom-media-HAVE_ENOUGH_DATA>HAVE_ENOUGH_DATA</a> = 4;
   readonly attribute unsigned short <a href=#dom-media-readystate title=dom-media-readyState>readyState</a>;
   readonly attribute boolean <a href=#dom-media-seeking title=dom-media-seeking>seeking</a>;
 
@@ -17839,39 +17838,34 @@
 
    <dd>Enough of the resource has been obtained that the metadata
    attributes are initialized (e.g. the length is known). The API will
-   no longer raise an exception when seeking.</dd>
+   no longer raise an exception when seeking. No video data is
+   available for the immediate <a href=#current-playback-position>current playback position</a>,
+   </dd>
 
-   <dt><dfn id=dom-media-have_some_data title=dom-media-HAVE_SOME_DATA><code>HAVE_SOME_DATA</code></dfn> (numeric value 2)</dt>
+   <dt><dfn id=dom-media-have_current_data title=dom-media-HAVE_CURRENT_DATA><code>HAVE_CURRENT_DATA</code></dfn> (numeric value 2)</dt>
 
    <dd>Data for the immediate <a href=#current-playback-position>current playback position</a>
-   is not available, but there is at least one playback position for
-   which the <i>ready state</i> would have a value of <code title=dom-media-HAVE_CURRENT_DATA><a href=#dom-media-have_current_data>HAVE_CURRENT_DATA</a></code> or
-   greater.</dd>
-
-   <dt><dfn id=dom-media-have_current_data title=dom-media-HAVE_CURRENT_DATA><code>HAVE_CURRENT_DATA</code></dfn> (numeric value 3)</dt>
-
-   <dd>Data for the immediate <a href=#current-playback-position>current playback position</a>
    is available, but not enough data is available that the user agent
    could successfully advance the <a href=#current-playback-position>current playback
-   position</a> at all without immediately reverting to the <code title=dom-media-HAVE_SOME_DATA><a href=#dom-media-have_some_data>HAVE_SOME_DATA</a></code> state. For
+   position</a> at all without immediately reverting to the <code title=dom-media-HAVE_METADATA><a href=#dom-media-have_metadata>HAVE_METADATA</a></code> state. For
    example, in video this corresponds to the user agent having data
    from the current frame, but not the next frame.</dd>
 
-   <dt><dfn id=dom-media-have_future_data title=dom-media-HAVE_FUTURE_DATA><code>HAVE_FUTURE_DATA</code></dfn> (numeric value 4)</dt>
+   <dt><dfn id=dom-media-have_future_data title=dom-media-HAVE_FUTURE_DATA><code>HAVE_FUTURE_DATA</code></dfn> (numeric value 3)</dt>
 
    <dd>Data for the immediate <a href=#current-playback-position>current playback position</a>
    is available, as well as enough data for the user agent to advance
    the <a href=#current-playback-position>current playback position</a> at least a little
-   without immediately reverting to the <code title=dom-media-HAVE_SOME_DATA><a href=#dom-media-have_some_data>HAVE_SOME_DATA</a></code> state. For
+   without immediately reverting to the <code title=dom-media-HAVE_METADATA><a href=#dom-media-have_metadata>HAVE_METADATA</a></code> state. For
    example, In video this corresponds to the user agent having data
    for at least the current frame and the next frame.</dd>
 
-   <dt><dfn id=dom-media-have_enough_data title=dom-media-HAVE_ENOUGH_DATA><code>HAVE_ENOUGH_DATA</code></dfn> (numeric value 5)</dt>
+   <dt><dfn id=dom-media-have_enough_data title=dom-media-HAVE_ENOUGH_DATA><code>HAVE_ENOUGH_DATA</code></dfn> (numeric value 4)</dt>
 
    <dd>Data for the immediate <a href=#current-playback-position>current playback position</a>
    is available, as well as enough data for the user agent to advance
    the <a href=#current-playback-position>current playback position</a> at least a little
-   without immediately reverting to the <code title=dom-media-HAVE_SOME_DATA><a href=#dom-media-have_some_data>HAVE_SOME_DATA</a></code> state, and,
+   without immediately reverting to the <code title=dom-media-HAVE_METADATA><a href=#dom-media-have_metadata>HAVE_METADATA</a></code> state, and,
    in addition, the user agent estimates that data is being fetched at
    a rate where the <a href=#current-playback-position>current playback position</a>, if it were
    to advance at the rate given by the <code title=dom-media-defaultPlaybackRate><a href=#dom-media-defaultplaybackrate>defaultPlaybackRate</a></code>
@@ -17893,9 +17887,9 @@
    <!-- going up to current for the first time -->
 
    <dt id=handling-first-frame-available>If the prevous ready state
-   was <code title=dom-media-HAVE_METADATA><a href=#dom-media-have_metadata>HAVE_METADATA</a></code> or
-   <code title=dom-media-HAVE_SOME_DATA><a href=#dom-media-have_some_data>HAVE_SOME_DATA</a></code>, and
+   was <code title=dom-media-HAVE_METADATA><a href=#dom-media-have_metadata>HAVE_METADATA</a></code> and
    the new ready state is <code title=dom-media-HAVE_CURRENT_DATA><a href=#dom-media-have_current_data>HAVE_CURRENT_DATA</a></code></dt>
+
    <dd>
 
     <p id=fire-loadeddata>If this is the first time this occurs for
@@ -17950,7 +17944,7 @@
 
   </dl><p class=note>It is possible for the ready state of a media
   element to jump between these states discontinuously. For example,
-  the state of a media element can jump straight from <code title=dom-media-HAVE_SOME_DATA><a href=#dom-media-have_some_data>HAVE_SOME_DATA</a></code> to <code title=dom-media-HAVE_ENOUGH_DATA><a href=#dom-media-have_enough_data>HAVE_ENOUGH_DATA</a></code> without
+  the state of a media element can jump straight from <code title=dom-media-HAVE_METADATA><a href=#dom-media-have_metadata>HAVE_METADATA</a></code> to <code title=dom-media-HAVE_ENOUGH_DATA><a href=#dom-media-have_enough_data>HAVE_ENOUGH_DATA</a></code> without
   passing through the <code title=dom-media-HAVE_CURRENT_DATA><a href=#dom-media-have_current_data>HAVE_CURRENT_DATA</a></code> and
   <code title=dom-media-HAVE_FUTURE_DATA><a href=#dom-media-have_future_data>HAVE_FUTURE_DATA</a></code>
   states.</p>
@@ -18039,7 +18033,7 @@
   <a href=#paused-for-user-interaction>paused for user interaction</a>.</p>
 
   <p>A <a href=#media-element>media element</a> is said to have <dfn id=ended-playback>ended
-  playback</dfn> when the element's <code title=dom-media-readyState><a href=#dom-media-readystate>readyState</a></code> attribute is <code title=dom-media-HAVE_METADATA><a href=#dom-media-have_metadata>HAD_METADATA</a></code> or greater, and
+  playback</dfn> when the element's <code title=dom-media-readyState><a href=#dom-media-readystate>readyState</a></code> attribute is <code title=dom-media-HAVE_METADATA><a href=#dom-media-have_metadata>HAVE_METADATA</a></code> or greater, and
   the <a href=#current-playback-position>current playback position</a> is the end of the
   <a href=#media-resource>media resource</a>, and the <a href=#media-element>media element</a> does
   not have a <code title=attr-media-loop><a href=#attr-media-loop>loop</a></code> attribute

Modified: source
===================================================================
--- source	2008-11-30 21:43:40 UTC (rev 2488)
+++ source	2008-12-01 06:53:28 UTC (rev 2489)
@@ -18237,10 +18237,9 @@
   // ready state
   const unsigned short <span title="dom-media-HAVE_NOTHING">HAVE_NOTHING</span> = 0;
   const unsigned short <span title="dom-media-HAVE_METADATA">HAVE_METADATA</span> = 1;
-  const unsigned short <span title="dom-media-HAVE_SOME_DATA">HAVE_SOME_DATA</span> = 2;
-  const unsigned short <span title="dom-media-HAVE_CURRENT_DATA">HAVE_CURRENT_DATA</span> = 3;
-  const unsigned short <span title="dom-media-HAVE_FUTURE_DATA">HAVE_FUTURE_DATA</span> = 4;
-  const unsigned short <span title="dom-media-HAVE_ENOUGH_DATA">HAVE_ENOUGH_DATA</span> = 5;
+  const unsigned short <span title="dom-media-HAVE_CURRENT_DATA">HAVE_CURRENT_DATA</span> = 2;
+  const unsigned short <span title="dom-media-HAVE_FUTURE_DATA">HAVE_FUTURE_DATA</span> = 3;
+  const unsigned short <span title="dom-media-HAVE_ENOUGH_DATA">HAVE_ENOUGH_DATA</span> = 4;
   readonly attribute unsigned short <span title="dom-media-readyState">readyState</span>;
   readonly attribute boolean <span title="dom-media-seeking">seeking</span>;
 
@@ -19270,43 +19269,37 @@
 
    <dd>Enough of the resource has been obtained that the metadata
    attributes are initialized (e.g. the length is known). The API will
-   no longer raise an exception when seeking.</dd>
+   no longer raise an exception when seeking. No video data is
+   available for the immediate <span>current playback position</span>,
+   </dd>
 
-   <dt><dfn title="dom-media-HAVE_SOME_DATA"><code>HAVE_SOME_DATA</code></dfn> (numeric value 2)</dt>
+   <dt><dfn title="dom-media-HAVE_CURRENT_DATA"><code>HAVE_CURRENT_DATA</code></dfn> (numeric value 2)</dt>
 
    <dd>Data for the immediate <span>current playback position</span>
-   is not available, but there is at least one playback position for
-   which the <i>ready state</i> would have a value of <code
-   title="dom-media-HAVE_CURRENT_DATA">HAVE_CURRENT_DATA</code> or
-   greater.</dd>
-
-   <dt><dfn title="dom-media-HAVE_CURRENT_DATA"><code>HAVE_CURRENT_DATA</code></dfn> (numeric value 3)</dt>
-
-   <dd>Data for the immediate <span>current playback position</span>
    is available, but not enough data is available that the user agent
    could successfully advance the <span>current playback
    position</span> at all without immediately reverting to the <code
-   title="dom-media-HAVE_SOME_DATA">HAVE_SOME_DATA</code> state. For
+   title="dom-media-HAVE_METADATA">HAVE_METADATA</code> state. For
    example, in video this corresponds to the user agent having data
    from the current frame, but not the next frame.</dd>
 
-   <dt><dfn title="dom-media-HAVE_FUTURE_DATA"><code>HAVE_FUTURE_DATA</code></dfn> (numeric value 4)</dt>
+   <dt><dfn title="dom-media-HAVE_FUTURE_DATA"><code>HAVE_FUTURE_DATA</code></dfn> (numeric value 3)</dt>
 
    <dd>Data for the immediate <span>current playback position</span>
    is available, as well as enough data for the user agent to advance
    the <span>current playback position</span> at least a little
    without immediately reverting to the <code
-   title="dom-media-HAVE_SOME_DATA">HAVE_SOME_DATA</code> state. For
+   title="dom-media-HAVE_METADATA">HAVE_METADATA</code> state. For
    example, In video this corresponds to the user agent having data
    for at least the current frame and the next frame.</dd>
 
-   <dt><dfn title="dom-media-HAVE_ENOUGH_DATA"><code>HAVE_ENOUGH_DATA</code></dfn> (numeric value 5)</dt>
+   <dt><dfn title="dom-media-HAVE_ENOUGH_DATA"><code>HAVE_ENOUGH_DATA</code></dfn> (numeric value 4)</dt>
 
    <dd>Data for the immediate <span>current playback position</span>
    is available, as well as enough data for the user agent to advance
    the <span>current playback position</span> at least a little
    without immediately reverting to the <code
-   title="dom-media-HAVE_SOME_DATA">HAVE_SOME_DATA</code> state, and,
+   title="dom-media-HAVE_METADATA">HAVE_METADATA</code> state, and,
    in addition, the user agent estimates that data is being fetched at
    a rate where the <span>current playback position</span>, if it were
    to advance at the rate given by the <code
@@ -19341,10 +19334,10 @@
    <!-- going up to current for the first time -->
 
    <dt id="handling-first-frame-available">If the prevous ready state
-   was <code title="dom-media-HAVE_METADATA">HAVE_METADATA</code> or
-   <code title="dom-media-HAVE_SOME_DATA">HAVE_SOME_DATA</code>, and
+   was <code title="dom-media-HAVE_METADATA">HAVE_METADATA</code> and
    the new ready state is <code
    title="dom-media-HAVE_CURRENT_DATA">HAVE_CURRENT_DATA</code></dt>
+
    <dd>
 
     <p id="fire-loadeddata">If this is the first time this occurs for
@@ -19416,7 +19409,7 @@
   <p class="note">It is possible for the ready state of a media
   element to jump between these states discontinuously. For example,
   the state of a media element can jump straight from <code
-  title="dom-media-HAVE_SOME_DATA">HAVE_SOME_DATA</code> to <code
+  title="dom-media-HAVE_METADATA">HAVE_METADATA</code> to <code
   title="dom-media-HAVE_ENOUGH_DATA">HAVE_ENOUGH_DATA</code> without
   passing through the <code
   title="dom-media-HAVE_CURRENT_DATA">HAVE_CURRENT_DATA</code> and
@@ -19526,7 +19519,7 @@
   <p>A <span>media element</span> is said to have <dfn>ended
   playback</dfn> when the element's <code
   title="dom-media-readyState">readyState</code> attribute is <code
-  title="dom-media-HAVE_METADATA">HAD_METADATA</code> or greater, and
+  title="dom-media-HAVE_METADATA">HAVE_METADATA</code> or greater, and
   the <span>current playback position</span> is the end of the
   <span>media resource</span>, and the <span>media element</span> does
   not have a <code title="attr-media-loop">loop</code> attribute




More information about the Commit-Watchers mailing list