[html5] r8083 - [giow] (3) Make media.startDate return the same object until the time changes. ( [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Jul 24 10:03:21 PDT 2013


Author: ianh
Date: 2013-07-24 10:03:20 -0700 (Wed, 24 Jul 2013)
New Revision: 8083

Modified:
   complete.html
   index
   source
Log:
[giow] (3) Make media.startDate return the same object until the time changes. (also, typo in dependencies section)
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=22714
Affected topics: HTML, Video and Audio

Modified: complete.html
===================================================================
--- complete.html	2013-07-23 23:39:48 UTC (rev 8082)
+++ complete.html	2013-07-24 17:03:20 UTC (rev 8083)
@@ -256,7 +256,7 @@
 
   <header class=head id=head><p><a href=http://www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 23 July 2013</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 24 July 2013</h2>
    </hgroup><dl><dt><strong>Web developer edition:</strong></dt>
     <dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
     <dt>Multiple-page version:</dt>
@@ -3433,7 +3433,7 @@
 
     <p>For readability, character encodings are sometimes referenced in this specification with a
     case that differs from the canonical case given in the encoding standard. (For example,
-    "UTF-16LE" instead of "utf16-le".)</p>
+    "UTF-16LE" instead of "utf-16le".)</p>
 
    </dd>
 
@@ -28723,10 +28723,14 @@
 
   <p>Some video files also have an explicit date and time corresponding to the zero time in the
   <a href=#media-timeline>media timeline</a>, known as the <dfn id=timeline-offset>timeline offset</dfn>. Initially, the
-  <a href=#timeline-offset>timeline offset</a> must be set to Not-a-Number (NaN).</p>
+  <a href=#timeline-offset>timeline offset</a> must be set to Not-a-Number (NaN). Each <a href=#media-element>media element</a>
+  has a <dfn id=current-timeline-offset-date-object>current timeline offset <code>Date</code> object</dfn>. Whenever a <a href=#media-element>media
+  element</a>'s <a href=#timeline-offset>timeline offset</a> changes value, the user agent must <a href=#create-a-date-object>create a
+  <code>Date</code> object</a> to represent the new <a href=#timeline-offset>timeline offset</a>, and let that
+  new object be the new <a href=#current-timeline-offset-date-object>current timeline offset <code>Date</code> object</a>.</p>
 
-  <p>The <dfn id=dom-media-startdate title=dom-media-startDate><code>startDate</code></dfn> attribute must return <a href=#create-a-date-object title="create a Date object">a new <code>Date</code> object</a> representing the current
-  <a href=#timeline-offset>timeline offset</a>.</p>
+  <p>The <dfn id=dom-media-startdate title=dom-media-startDate><code>startDate</code></dfn> attribute must return the
+  <a href=#current-timeline-offset-date-object>current timeline offset <code>Date</code> object</a>.</p>
 
   </div>
 

Modified: index
===================================================================
--- index	2013-07-23 23:39:48 UTC (rev 8082)
+++ index	2013-07-24 17:03:20 UTC (rev 8083)
@@ -256,7 +256,7 @@
 
   <header class=head id=head><p><a href=http://www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 23 July 2013</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 24 July 2013</h2>
    </hgroup><dl><dt><strong>Web developer edition:</strong></dt>
     <dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
     <dt>Multiple-page version:</dt>
@@ -3433,7 +3433,7 @@
 
     <p>For readability, character encodings are sometimes referenced in this specification with a
     case that differs from the canonical case given in the encoding standard. (For example,
-    "UTF-16LE" instead of "utf16-le".)</p>
+    "UTF-16LE" instead of "utf-16le".)</p>
 
    </dd>
 
@@ -28723,10 +28723,14 @@
 
   <p>Some video files also have an explicit date and time corresponding to the zero time in the
   <a href=#media-timeline>media timeline</a>, known as the <dfn id=timeline-offset>timeline offset</dfn>. Initially, the
-  <a href=#timeline-offset>timeline offset</a> must be set to Not-a-Number (NaN).</p>
+  <a href=#timeline-offset>timeline offset</a> must be set to Not-a-Number (NaN). Each <a href=#media-element>media element</a>
+  has a <dfn id=current-timeline-offset-date-object>current timeline offset <code>Date</code> object</dfn>. Whenever a <a href=#media-element>media
+  element</a>'s <a href=#timeline-offset>timeline offset</a> changes value, the user agent must <a href=#create-a-date-object>create a
+  <code>Date</code> object</a> to represent the new <a href=#timeline-offset>timeline offset</a>, and let that
+  new object be the new <a href=#current-timeline-offset-date-object>current timeline offset <code>Date</code> object</a>.</p>
 
-  <p>The <dfn id=dom-media-startdate title=dom-media-startDate><code>startDate</code></dfn> attribute must return <a href=#create-a-date-object title="create a Date object">a new <code>Date</code> object</a> representing the current
-  <a href=#timeline-offset>timeline offset</a>.</p>
+  <p>The <dfn id=dom-media-startdate title=dom-media-startDate><code>startDate</code></dfn> attribute must return the
+  <a href=#current-timeline-offset-date-object>current timeline offset <code>Date</code> object</a>.</p>
 
   </div>
 

Modified: source
===================================================================
--- source	2013-07-23 23:39:48 UTC (rev 8082)
+++ source	2013-07-24 17:03:20 UTC (rev 8083)
@@ -2213,7 +2213,7 @@
 
     <p>For readability, character encodings are sometimes referenced in this specification with a
     case that differs from the canonical case given in the encoding standard. (For example,
-    "UTF-16LE" instead of "utf16-le".)</p>
+    "UTF-16LE" instead of "utf-16le".)</p>
 
    </dd>
 
@@ -30559,11 +30559,14 @@
 
   <p>Some video files also have an explicit date and time corresponding to the zero time in the
   <span>media timeline</span>, known as the <dfn>timeline offset</dfn>. Initially, the
-  <span>timeline offset</span> must be set to Not-a-Number (NaN).</p>
+  <span>timeline offset</span> must be set to Not-a-Number (NaN). Each <span>media element</span>
+  has a <dfn>current timeline offset <code>Date</code> object</dfn>. Whenever a <span>media
+  element</span>'s <span>timeline offset</span> changes value, the user agent must <span>create a
+  <code>Date</code> object</span> to represent the new <span>timeline offset</span>, and let that
+  new object be the new <span>current timeline offset <code>Date</code> object</span>.</p>
 
-  <p>The <dfn title="dom-media-startDate"><code>startDate</code></dfn> attribute must return <span
-  title="create a Date object">a new <code>Date</code> object</span> representing the current
-  <span>timeline offset</span>.</p>
+  <p>The <dfn title="dom-media-startDate"><code>startDate</code></dfn> attribute must return the
+  <span>current timeline offset <code>Date</code> object</span>.</p>
 
   </div>
 




More information about the Commit-Watchers mailing list