Skip to content

Commit

Permalink
[go] (2) Change loopstart and loopend to default to start and end res…
Browse files Browse the repository at this point in the history
…pectively if not set; clarify that the 'effective foo' values are based on DOM attributes, not content attributes.

git-svn-id: http://svn.whatwg.org/webapps@1056 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Oct 13, 2007
1 parent 1ff8dec commit 587d243
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 31 deletions.
36 changes: 21 additions & 15 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -14268,35 +14268,41 @@ The island of Shalott.&lt;/p></pre>
resource</a> at which playback is to begin. The default value is 0.

<p>The <dfn id=effective><var>effective start</var></dfn> is the smaller of
<code title=dom-media-start><a href="#start3">start</a></code> and the end
of the <a href="#media8">media resource</a>.
the <code title=dom-media-start><a href="#start3">start</a></code> DOM
attribute and the end of the <a href="#media8">media resource</a>.

<p>

<p>The <dfn id=loopstart
title=attr-media-loopstart><code>loopstart</code></dfn> content attribute
gives the offset into the <a href="#media8">media resource</a> at which
playback is to begin when looping a clip. The default value is 0.
playback is to begin when looping a clip. The default value of the <code
title=attr-media-loopStart><a href="#loopstart">loopstart</a></code>
content attribute is the value of the <code title=dom-media-start><a
href="#start3">start</a></code> DOM attribute.

<p>The <dfn id=effective0><var>effective loop start</var></dfn> is the
smaller of <code title=dom-media-loopStart><a
href="#loopstart0">loopStart</a></code> and the end of the <a
href="#media8">media resource</a>.
smaller of the <code title=dom-media-loopStart><a
href="#loopstart0">loopStart</a></code> DOM attribute and the end of the
<a href="#media8">media resource</a>.

<p>

<p>The <dfn id=loopend title=attr-media-loopend><code>loopend</code></dfn>
content attribute gives an offset into the <a href="#media8">media
resource</a> at which playback is to jump back to the <code
title=attr-media-loopstart><a href="#loopstart">loopstart</a></code>, when
looping the clip. The default value is infinity.
looping the clip. The default value of the <code
title=attr-media-loopEnd><a href="#loopend">loopend</a></code> content
attribute is the value of the <code title=dom-media-end><a
href="#end0">end</a></code> DOM attribute.

<p>The <dfn id=effective1><var>effective loop end</var></dfn> is the
greater of <code title=dom-media-start><a href="#start3">start</a></code>,
<code title=dom-media-loopStart><a
greater of the <code title=dom-media-start><a
href="#start3">start</a></code>, <code title=dom-media-loopStart><a
href="#loopstart0">loopStart</a></code>, and <code
title=dom-media-loopEnd><a href="#loopend0">loopEnd</a></code>, and the
end of the <a href="#media8">media resource</a>.
title=dom-media-loopEnd><a href="#loopend0">loopEnd</a></code> DOM
attributes, and the end of the <a href="#media8">media resource</a>.

<p>

Expand All @@ -14305,10 +14311,10 @@ The island of Shalott.&lt;/p></pre>
which playback is to end. The default value is infinity.

<p>The <dfn id=effective2><var>effective end</var></dfn> is the greater of
<code title=dom-media-start><a href="#start3">start</a></code>, <code
title=dom-media-loopStart><a href="#loopstart0">loopStart</a></code>,
<code title=dom-media-loopEnd><a href="#loopend0">end</a></code>, and the
end of the <a href="#media8">media resource</a>.
the <code title=dom-media-start><a href="#start3">start</a></code>, <code
title=dom-media-loopStart><a href="#loopstart0">loopStart</a></code>, and
<code title=dom-media-loopEnd><a href="#loopend0">end</a></code> DOM
attributes, and the end of the <a href="#media8">media resource</a>.

<p>

Expand Down
37 changes: 21 additions & 16 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -12153,41 +12153,46 @@ The island of Shalott.&lt;/p></pre>
resource</span> at which playback is to begin. The default value is
0.</p>

<p>The <dfn><var>effective start</var></dfn> is the smaller of <code
title="dom-media-start">start</code> and the end of the <span>media
resource</span>.<p></li>
<p>The <dfn><var>effective start</var></dfn> is the smaller of the
<code title="dom-media-start">start</code> DOM attribute and the end
of the <span>media resource</span>.<p></li>

<p>The <dfn
title="attr-media-loopstart"><code>loopstart</code></dfn> content
attribute gives the offset into the <span>media resource</span> at
which playback is to begin when looping a clip. The default value is
0.</p>
which playback is to begin when looping a clip. The default value of
the <code title="attr-media-loopStart">loopstart</code> content
attribute is the value of the <code
title="dom-media-start">start</code> DOM attribute.</p>

<p>The <dfn><var>effective loop start</var></dfn> is the smaller of
<code title="dom-media-loopStart">loopStart</code> and the end of
the <span>media resource</span>.<p></li>
the <code title="dom-media-loopStart">loopStart</code> DOM attribute
and the end of the <span>media resource</span>.<p></li>

<p>The <dfn title="attr-media-loopend"><code>loopend</code></dfn>
content attribute gives an offset into the <span>media
resource</span> at which playback is to jump back to the <code
title="attr-media-loopstart">loopstart</code>, when looping the
clip. The default value is infinity.</p>
clip. The default value of the <code
title="attr-media-loopEnd">loopend</code> content attribute is the
value of the <code title="dom-media-end">end</code> DOM
attribute.</p>

<p>The <dfn><var>effective loop end</var></dfn> is the greater of
<code title="dom-media-start">start</code>, <code
the <code title="dom-media-start">start</code>, <code
title="dom-media-loopStart">loopStart</code>, and <code
title="dom-media-loopEnd">loopEnd</code>, and the end of the
<span>media resource</span>.<p></li>
title="dom-media-loopEnd">loopEnd</code> DOM attributes, and the end
of the <span>media resource</span>.<p></li>

<p>The <dfn title="attr-media-end"><code>end</code></dfn> content
attribute gives an offset into the <span>media resource</span> at
which playback is to end. The default value is infinity.</p>

<p>The <dfn><var>effective end</var></dfn> is the greater of <code
title="dom-media-start">start</code>, <code
title="dom-media-loopStart">loopStart</code>, <code
title="dom-media-loopEnd">end</code>, and the end of the <span>media
resource</span>.<p></li>
<p>The <dfn><var>effective end</var></dfn> is the greater of the
<code title="dom-media-start">start</code>, <code
title="dom-media-loopStart">loopStart</code>, and <code
title="dom-media-loopEnd">end</code> DOM attributes, and the end of
the <span>media resource</span>.<p></li>

<p>The <code title="attr-media-start">start</code>, <code
title="attr-media-loopstart">loopstart</code>, <code
Expand Down

0 comments on commit 587d243

Please sign in to comment.