[html5] r2324 - [e] (0) Editorial fixes for bug 6103.

whatwg at whatwg.org whatwg at whatwg.org
Mon Oct 13 13:23:48 PDT 2008


Author: ianh
Date: 2008-10-13 13:23:48 -0700 (Mon, 13 Oct 2008)
New Revision: 2324

Modified:
   index
   source
Log:
[e] (0) Editorial fixes for bug 6103.

Modified: index
===================================================================
--- index	2008-10-11 01:51:37 UTC (rev 2323)
+++ index	2008-10-13 20:23:48 UTC (rev 2324)
@@ -16,7 +16,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 — 11 October 2008</h2>
+   <h2 class="no-num no-toc" id=draft-recommendation-—-date:-01-jan-1901>Draft Recommendation — 13 October 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>
@@ -443,11 +443,12 @@
        <li><a href=#playing-the-media-resource><span class=secno>4.8.10.7 </span>Playing the media resource</a></li>
        <li><a href=#seeking><span class=secno>4.8.10.8 </span>Seeking</a></li>
        <li><a href=#cue-ranges><span class=secno>4.8.10.9 </span>Cue ranges</a></li>
-       <li><a href=#user-interface><span class=secno>4.8.10.10 </span>User interface</a></li>
-       <li><a href=#time-ranges><span class=secno>4.8.10.11 </span>Time ranges</a></li>
-       <li><a href=#byte-ranges><span class=secno>4.8.10.12 </span>Byte ranges</a></li>
-       <li><a href=#mediaevents><span class=secno>4.8.10.13 </span>Event summary</a></li>
-       <li><a href=#security-and-privacy-considerations><span class=secno>4.8.10.14 </span>Security and privacy considerations</a></ol></li>
+       <li><a href=#playback-processing-model><span class=secno>4.8.10.10 </span>Playback processing model</a></li>
+       <li><a href=#user-interface><span class=secno>4.8.10.11 </span>User interface</a></li>
+       <li><a href=#time-ranges><span class=secno>4.8.10.12 </span>Time ranges</a></li>
+       <li><a href=#byte-ranges><span class=secno>4.8.10.13 </span>Byte ranges</a></li>
+       <li><a href=#mediaevents><span class=secno>4.8.10.14 </span>Event summary</a></li>
+       <li><a href=#security-and-privacy-considerations><span class=secno>4.8.10.15 </span>Security and privacy considerations</a></ol></li>
      <li><a href=#the-canvas-element><span class=secno>4.8.11 </span>The <code>canvas</code> element</a>
       <ol>
        <li><a href=#the-2d-context><span class=secno>4.8.11.1 </span>The 2D context</a>
@@ -16622,8 +16623,11 @@
            attribute boolean <a href=#dom-media-controls title=dom-media-controls>controls</a>;
            attribute float <a href=#dom-media-volume title=dom-media-volume>volume</a>;
            attribute boolean <a href=#dom-media-muted title=dom-media-muted>muted</a>;
-};</pre>
+};
 
+// <dfn class=XXX id=cuerangecallback>CueRangeCallback</dfn> waiting on WebIDL
+</pre>
+
   <p>The <dfn id=media-element-attributes>media element attributes</dfn>, <code title=attr-media-src><a href=#attr-media-src>src</a></code>, <code title=attr-media-autoplay><a href=#attr-media-autoplay>autoplay</a></code>, <code title=attr-media-start><a href=#attr-media-start>start</a></code>, <code title=attr-media-loopstart><a href=#attr-media-loopstart>loopstart</a></code>, <code title=attr-media-loopend><a href=#attr-media-loopend>loopend</a></code>, <code title=attr-media-end><a href=#attr-media-end>end</a></code>, <code title=attr-media-playcount><a href=#attr-media-playcount>playcount</a></code>, and <code title=attr-media-controls><a href=#attr-media-controls>controls</a></code>, apply to all <a href=#media-element title="media element">media elements</a>. They are defined in
   this section.</p>
 
@@ -17894,6 +17898,9 @@
   remove all the <a href=#cue-range title="cue range">cue ranges</a> of the
   <a href=#media-element>media element</a> which have the class name <var title="">className</var>.</p>
 
+
+  <h5 id=playback-processing-model><span class=secno>4.8.10.10 </span>Playback processing model</h5>
+
   <p>When the <a href=#current-playback-position>current playback position</a> of a <a href=#media-element>media
   element</a> changes (e.g. due to playback or seeking), the user
   agent must run the following steps. If the <a href=#current-playback-position>current playback
@@ -17963,25 +17970,8 @@
    list to "true" (active), and the "active" boolean of all the <a href=#cue-range title="cue range">cue ranges</a> in the <var title="">other
    ranges</var> list to "false" (inactive).</li>
 
-  </ol><!-- XXX the remainder of this subsection may be removed if we ever
-  get a way to mark up callbacks in IDL --><p>Invoking a callback (an object implementing one of the following
-  two interfaces) means calling its <code title="">handleEvent()</code> method.</p>
+  </ol><h5 id=user-interface><span class=secno>4.8.10.11 </span>User interface</h5>
 
-  <pre class=idl>interface <dfn id=voidcallback>VoidCallback</dfn> {
-  void <span title=dom-voidCallback-handleEvent>handleEvent</span>();
-};
-
-interface <dfn id=cuerangecallback>CueRangeCallback</dfn> {
-  void <span title=dom-cueRangeCallback-handleEvent>handleEvent</span>(in DOMString id);
-};</pre>
-
-  <p>The <dfn title=""><code>handleEvent</code></dfn> method of
-  objects implementing these interfaces is the entry point for the
-  callback represented by the object.</p>
-
-
-  <h5 id=user-interface><span class=secno>4.8.10.10 </span>User interface</h5>
-
   <p>The <dfn id=attr-media-controls title=attr-media-controls><code>controls</code></dfn>
   attribute is a <a href=#boolean-attribute>boolean attribute</a>. If the attribute is
   present, or if the <a href=#media-element>media element</a> is <a href=#without-script>without
@@ -18049,7 +18039,7 @@
 
 
 
-  <h5 id=time-ranges><span class=secno>4.8.10.11 </span>Time ranges</h5>
+  <h5 id=time-ranges><span class=secno>4.8.10.12 </span>Time ranges</h5>
 
   <p>Objects implementing the <code><a href=#timeranges>TimeRanges</a></code> interface
   represent a list of ranges (periods) of time.</p>
@@ -18096,7 +18086,7 @@
 
 
 
-  <h5 id=byte-ranges><span class=secno>4.8.10.12 </span>Byte ranges</h5>
+  <h5 id=byte-ranges><span class=secno>4.8.10.13 </span>Byte ranges</h5>
 
   <p>Objects implementing the <code><a href=#byteranges>ByteRanges</a></code> interface
   represent a list of ranges of bytes.</p>
@@ -18142,7 +18132,7 @@
 
 
 
-  <h5 id=mediaevents><span class=secno>4.8.10.13 </span>Event summary</h5>
+  <h5 id=mediaevents><span class=secno>4.8.10.14 </span>Event summary</h5>
 
   <p>The following events fire on <a href=#media-element title="media element">media
   elements</a> as part of the processing model described above:</p>
@@ -18212,7 +18202,7 @@
      <td>
     <tr><td><dfn id=event-timeupdate title=event-timeupdate><code>timeupdate</code></dfn>
      <td><code>Event</code>
-     <td>The <a href=#current-playback-position>current playback position</a> changed in an interesting way, for example discontinuously.
+     <td>The <a href=#current-playback-position>current playback position</a> changed as part of normal playback or in an especially interesting way, for example discontinuously.
      <td>
     <tr><td><dfn id=event-ended title=event-ended><code>ended</code></dfn>
      <td><code>Event</code>
@@ -18246,7 +18236,7 @@
      <td><code>Event</code>
      <td>Either the <code title=dom-media-volume><a href=#dom-media-volume>volume</a></code> attribute or the <code title=dom-media-muted><a href=#dom-media-muted>muted</a></code> attribute has changed. Fired after the relevant attribute's setter has returned.
      <td>
-  </table><h5 id=security-and-privacy-considerations><span class=secno>4.8.10.14 </span>Security and privacy considerations</h5>
+  </table><h5 id=security-and-privacy-considerations><span class=secno>4.8.10.15 </span>Security and privacy considerations</h5>
 
   <p class=XXX>Talk about making sure interactive media files
   (e.g. SVG) don't have access to the container DOM (XSS potential);
@@ -36719,10 +36709,10 @@
   <pre class=idl>interface <dfn id=database>Database</dfn> {
   void <a href=#dom-database-transaction title=dom-database-transaction>transaction</a>(in <a href=#sqltransactioncallback>SQLTransactionCallback</a> callback);
   void <a href=#dom-database-transaction title=dom-database-transaction>transaction</a>(in <a href=#sqltransactioncallback>SQLTransactionCallback</a> callback, in <a href=#sqltransactionerrorcallback>SQLTransactionErrorCallback</a> errorCallback);
-  void <a href=#dom-database-transaction title=dom-database-transaction>transaction</a>(in <a href=#sqltransactioncallback>SQLTransactionCallback</a> callback, in <a href=#sqltransactionerrorcallback>SQLTransactionErrorCallback</a> errorCallback, in <a href=#voidcallback>VoidCallback</a> successCallback);
+  void <a href=#dom-database-transaction title=dom-database-transaction>transaction</a>(in <a href=#sqltransactioncallback>SQLTransactionCallback</a> callback, in <a href=#sqltransactionerrorcallback>SQLTransactionErrorCallback</a> errorCallback, in <span>VoidCallback</span> successCallback);
 
   readonly attribute DOMString <a href=#dom-database-version title=dom-database-version>version</a>;
-  void <a href=#dom-database-changeversion title=dom-database-changeVersion>changeVersion</a>(in DOMString oldVersion, in DOMString newVersion, in <a href=#sqltransactioncallback>SQLTransactionCallback</a> callback, in <a href=#sqltransactionerrorcallback>SQLTransactionErrorCallback</a> errorCallback, in <a href=#voidcallback>VoidCallback</a> successCallback);
+  void <a href=#dom-database-changeversion title=dom-database-changeVersion>changeVersion</a>(in DOMString oldVersion, in DOMString newVersion, in <a href=#sqltransactioncallback>SQLTransactionCallback</a> callback, in <a href=#sqltransactionerrorcallback>SQLTransactionErrorCallback</a> errorCallback, in <span>VoidCallback</span> successCallback);
 };
 
 interface <dfn id=sqltransactioncallback>SQLTransactionCallback</dfn> {

Modified: source
===================================================================
--- source	2008-10-11 01:51:37 UTC (rev 2323)
+++ source	2008-10-13 20:23:48 UTC (rev 2324)
@@ -17735,8 +17735,11 @@
            attribute boolean <span title="dom-media-controls">controls</span>;
            attribute float <span title="dom-media-volume">volume</span>;
            attribute boolean <span title="dom-media-muted">muted</span>;
-};</pre>
+};
 
+// <dfn class="XXX">CueRangeCallback</dfn> waiting on WebIDL
+</pre>
+
   <p>The <dfn>media element attributes</dfn>, <code
   title="attr-media-src">src</code>, <code
   title="attr-media-autoplay">autoplay</code>, <code
@@ -19312,6 +19315,9 @@
   <span>media element</span> which have the class name <var
   title="">className</var>.</p>
 
+
+  <h5>Playback processing model</h5>
+
   <p>When the <span>current playback position</span> of a <span>media
   element</span> changes (e.g. due to playback or seeking), the user
   agent must run the following steps. If the <span>current playback
@@ -19391,26 +19397,7 @@
   </ol>
 
 
-  <!-- XXX the remainder of this subsection may be removed if we ever
-  get a way to mark up callbacks in IDL -->
 
-  <p>Invoking a callback (an object implementing one of the following
-  two interfaces) means calling its <code
-  title="">handleEvent()</code> method.</p>
-
-  <pre class="idl">interface <dfn>VoidCallback</dfn> {
-  void <span title="dom-voidCallback-handleEvent">handleEvent</span>();
-};
-
-interface <dfn>CueRangeCallback</dfn> {
-  void <span title="dom-cueRangeCallback-handleEvent">handleEvent</span>(in DOMString id);
-};</pre>
-
-  <p>The <dfn title=""><code>handleEvent</code></dfn> method of
-  objects implementing these interfaces is the entry point for the
-  callback represented by the object.</p>
-
-
   <h5>User interface</h5>
 
   <p>The <dfn title="attr-media-controls"><code>controls</code></dfn>
@@ -19680,7 +19667,7 @@
     <tr>
      <td><dfn title="event-timeupdate"><code>timeupdate</code></dfn>
      <td><code>Event</code>
-     <td>The <span>current playback position</span> changed in an interesting way, for example discontinuously.
+     <td>The <span>current playback position</span> changed as part of normal playback or in an especially interesting way, for example discontinuously.
      <td>
     <tr>
      <td><dfn title="event-ended"><code>ended</code></dfn>




More information about the Commit-Watchers mailing list