Skip to content
Permalink
Browse files

[giow] (0) Revert r8083, since it leads to weird behaviour worse than…

… just returning a new object each time. (It seems this isn't implemented by anyone yet anyway.)

Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=22714
Affected topics: Video and Audio

git-svn-id: http://svn.whatwg.org/webapps@8094 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jul 26, 2013
1 parent 21617f9 commit 16c0c59b451cd112a65ca10a588af8d16e54b4f6
Showing with 13 additions and 24 deletions.
  1. +4 −8 complete.html
  2. +4 −8 index
  3. +5 −8 source

<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). 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 the
<a href=#current-timeline-offset-date-object>current timeline offset <code>Date</code> object</a>.</p>
<a href=#timeline-offset>timeline offset</a> must be set to Not-a-Number (NaN).</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>

</div>

12 index

<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). 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 the
<a href=#current-timeline-offset-date-object>current timeline offset <code>Date</code> object</a>.</p>
<a href=#timeline-offset>timeline offset</a> must be set to Not-a-Number (NaN).</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>

</div>

13 source

<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). 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 the
<span>current timeline offset <code>Date</code> object</span>.</p>
<span>timeline offset</span> must be set to Not-a-Number (NaN).</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>

</div>

0 comments on commit 16c0c59

Please sign in to comment.
You can’t perform that action at this time.