Skip to content

Commit

Permalink
[giow] (0) Revert r8083, since it leads to weird behaviour worse than…
Browse files Browse the repository at this point in the history
… 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 16c0c59
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 24 deletions.
12 changes: 4 additions & 8 deletions complete.html
Expand Up @@ -28721,14 +28721,10 @@ <h5 id=offsets-into-the-media-resource><span class=secno>4.8.10.6 </span>Offsets

<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>

Expand Down
12 changes: 4 additions & 8 deletions index
Expand Up @@ -28721,14 +28721,10 @@ interface <dfn id=htmlmediaelement>HTMLMediaElement</dfn> : <a href=#htmlelement

<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>

Expand Down
13 changes: 5 additions & 8 deletions source
Expand Up @@ -30559,14 +30559,11 @@ interface <dfn>HTMLMediaElement</dfn> : <span>HTMLElement</span> {

<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>

Expand Down

0 comments on commit 16c0c59

Please sign in to comment.