Skip to content

Commit

Permalink
[g] (2) In other news, loopCount became playCount in a formal and tou…
Browse files Browse the repository at this point in the history
…ching ceremony today.

git-svn-id: http://svn.whatwg.org/webapps@1105 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Oct 26, 2007
1 parent 006ed2a commit 80f253e
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 53 deletions.
68 changes: 34 additions & 34 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -13281,8 +13281,8 @@ The island of Shalott.&lt;/p></pre>

<dd><code title=attr-media-end><a href="#end">end</a></code>

<dd><code title=attr-media-loopcount><a
href="#loopcount">loopcount</a></code>
<dd><code title=attr-media-playcount><a
href="#playcount">playcount</a></code>

<dd><code title=attr-media-controls><a
href="#controls">controls</a></code>
Expand Down Expand Up @@ -13331,7 +13331,7 @@ The island of Shalott.&lt;/p></pre>
title=attr-media-loopstart><a href="#loopstart">loopstart</a></code>,
<code title=attr-media-loopend><a href="#loopend">loopend</a></code>,
<code title=attr-media-end><a href="#end">end</a></code>, <code
title=attr-media-loopcount><a href="#loopcount">loopcount</a></code>, and
title=attr-media-playcount><a href="#playcount">playcount</a></code>, and
<code title=attr-media-controls><a href="#controls">controls</a></code>
attributes are <a href="#media6" title="media element attributes">the
attributes common to all media elements</a>.
Expand Down Expand Up @@ -13500,8 +13500,8 @@ The island of Shalott.&lt;/p></pre>

<dd><code title=attr-media-end><a href="#end">end</a></code>

<dd><code title=attr-media-loopcount><a
href="#loopcount">loopcount</a></code>
<dd><code title=attr-media-playcount><a
href="#playcount">playcount</a></code>

<dd><code title=attr-media-controls><a
href="#controls">controls</a></code>
Expand Down Expand Up @@ -13541,7 +13541,7 @@ The island of Shalott.&lt;/p></pre>
title=attr-media-loopstart><a href="#loopstart">loopstart</a></code>,
<code title=attr-media-loopend><a href="#loopend">loopend</a></code>,
<code title=attr-media-end><a href="#end">end</a></code>, <code
title=attr-media-loopcount><a href="#loopcount">loopcount</a></code>, and
title=attr-media-playcount><a href="#playcount">playcount</a></code>, and
<code title=attr-media-controls><a href="#controls">controls</a></code>
attributes are <a href="#media6" title="media element attributes">the
attributes common to all media elements</a>.
Expand Down Expand Up @@ -13616,7 +13616,7 @@ The island of Shalott.&lt;/p></pre>
attribute float <a href="#end0" title=dom-media-end>end</a>;
attribute float <a href="#loopstart0" title=dom-media-loopStart>loopStart</a>;
attribute float <a href="#loopend0" title=dom-media-loopEnd>loopEnd</a>;
attribute unsigned long <a href="#loopcount0" title=dom-media-loopCount>loopCount</a>;
attribute unsigned long <a href="#playcount0" title=dom-media-playCount>playCount</a>;
attribute unsigned long <a href="#currentloop" title=dom-media-currentLoop>currentLoop</a>;

// cue points
Expand All @@ -13636,7 +13636,7 @@ The island of Shalott.&lt;/p></pre>
title=attr-media-loopstart><a href="#loopstart">loopstart</a></code>,
<code title=attr-media-loopend><a href="#loopend">loopend</a></code>,
<code title=attr-media-end><a href="#end">end</a></code>, <code
title=attr-media-loopcount><a href="#loopcount">loopcount</a></code>, and
title=attr-media-playcount><a href="#playcount">playcount</a></code>, and
<code title=attr-media-controls><a href="#controls">controls</a></code>,
apply to all <a href="#media5" title="media element">media elements</a>.
They are defined in this section.</p>
Expand Down Expand Up @@ -14422,14 +14422,14 @@ The island of Shalott.&lt;/p></pre>
href="#end">end</a></code> content attributes on the <a
href="#media5">media element</a> respectively.

<p>The <dfn id=loopcount
title=attr-media-loopcount><code>loopcount</code></dfn> content attribute
<p>The <dfn id=playcount
title=attr-media-playcount><code>playcount</code></dfn> content attribute
gives the number of times to play the clip. The default value is 1.

<p>The <dfn id=loopcount0
title=dom-media-loopCount><code>loopCount</code></dfn> DOM attribute must
<a href="#reflect">reflect</a> the <code title=attr-media-loopcount><a
href="#loopcount">loopcount</a></code> content attribute on the <a
<p>The <dfn id=playcount0
title=dom-media-playCount><code>playCount</code></dfn> DOM attribute must
<a href="#reflect">reflect</a> the <code title=attr-media-playcount><a
href="#playcount">playcount</a></code> content attribute on the <a
href="#media5">media element</a>. The value must be <a
href="#limited1">limited to only positive non-zero numbers</a>.

Expand All @@ -14442,22 +14442,22 @@ The island of Shalott.&lt;/p></pre>
href="#start3">start</a></code>, <code title=dom-media-loopStart><a
href="#loopstart0">loopStart</a></code>, <code title=dom-media-loopEnd><a
href="#loopend0">loopEnd</a></code>, <code title=dom-media-end><a
href="#end0">end</a></code>, and <code title=dom-media-loopCount><a
href="#loopcount0">loopCount</a></code> DOM attributes change value
href="#end0">end</a></code>, and <code title=dom-media-playCount><a
href="#playcount0">playCount</a></code> DOM attributes change value
(either through content attribute mutations reflecting into the DOM
attribute, or direct mutations of the DOM attribute), the user agent must
apply the following steps:

<ol>
<li>
<p>If the <code title=dom-media-loopCount><a
href="#loopcount0">loopCount</a></code> DOM attribute's value is less
<p>If the <code title=dom-media-playCount><a
href="#playcount0">playCount</a></code> DOM attribute's value is less
than or equal to the <code title=dom-media-currentLoop><a
href="#currentloop">currentLoop</a></code> DOM attribute's value, then
the <code title=dom-media-currentLoop><a
href="#currentloop">currentLoop</a></code> DOM attribute's value must be
set to <span><code title=dom-media-loopCount><a
href="#loopcount0">loopCount</a></code>-1</span> (which will make the
set to <span><code title=dom-media-playCount><a
href="#playcount0">playCount</a></code>-1</span> (which will make the
current loop the last loop).

<li>
Expand Down Expand Up @@ -14487,8 +14487,8 @@ The island of Shalott.&lt;/p></pre>
<li>
<p>If the <code title=dom-media-currentLoop><a
href="#currentloop">currentLoop</a></code> is less than <span><code
title=dom-media-loopCount><a
href="#loopcount0">loopCount</a></code>-1</span>, and the <a
title=dom-media-playCount><a
href="#playcount0">playCount</a></code>-1</span>, and the <a
href="#current">current playback position</a> is after the <var><a
href="#effective1">effective loop end</a></var>, the user agent must <a
href="#seek" title=dom-media-seek>seek</a> to the <var><a
Expand All @@ -14499,8 +14499,8 @@ The island of Shalott.&lt;/p></pre>
<li>
<p>If the <code title=dom-media-currentLoop><a
href="#currentloop">currentLoop</a></code> is equal to <span><code
title=dom-media-loopCount><a
href="#loopcount0">loopCount</a></code>-1</span>, and the <a
title=dom-media-playCount><a
href="#playcount0">playCount</a></code>-1</span>, and the <a
href="#current">current playback position</a> is after the <var><a
href="#effective2">effective end</a></var>, the user agent must <a
href="#seek" title=dom-media-seek>seek</a> to the <var><a
Expand Down Expand Up @@ -14575,8 +14575,8 @@ The island of Shalott.&lt;/p></pre>
href="#defaultplaybackrate">defaultPlaybackRate</a></code> attribute,
would not overtake the available data before playback reaches the <a
href="#effective2">effective end</a> of the <a href="#media8">media
resource</a> on the last <a href="#loopcount0"
title=dom-media-loopCount>loop</a>.
resource</a> on the last <a href="#playcount0"
title=dom-media-playCount>loop</a>.
</dl>

<p>When the ready state of a <a href="#media5">media element</a> whose
Expand Down Expand Up @@ -14700,8 +14700,8 @@ The island of Shalott.&lt;/p></pre>
href="#effective2">effective end</a></var> of the <a href="#media8">media
resource</a>, and the <code title=dom-media-currentLoop><a
href="#currentloop">currentLoop</a></code> attribute is equal to
<span><code title=dom-media-loopCount><a
href="#loopcount0">loopCount</a></code>-1</span>.
<span><code title=dom-media-playCount><a
href="#playcount0">playCount</a></code>-1</span>.

<p>A <a href="#media5">media element</a> is said to have <dfn
id=stopped>stopped due to errors</dfn> when the element's <code
Expand Down Expand Up @@ -14781,8 +14781,8 @@ The island of Shalott.&lt;/p></pre>

<p>When <code title=dom-media-currentLoop><a
href="#currentloop">currentLoop</a></code> is less than <span><code
title=dom-media-loopCount><a
href="#loopcount0">loopCount</a></code>-1</span> and the <a
title=dom-media-playCount><a
href="#playcount0">playCount</a></code>-1</span> and the <a
href="#current">current playback position</a> reaches the <var><a
href="#effective1">effective loop end</a></var>, then the user agent must
<a href="#seek" title=dom-media-seek>seek</a> to the <var><a
Expand All @@ -14793,8 +14793,8 @@ The island of Shalott.&lt;/p></pre>

<p>When <code title=dom-media-currentLoop><a
href="#currentloop">currentLoop</a></code> is equal to the <span><code
title=dom-media-loopCount><a
href="#loopcount0">loopCount</a></code>-1</span> and the <a
title=dom-media-playCount><a
href="#playcount0">playCount</a></code>-1</span> and the <a
href="#current">current playback position</a> reaches the <var><a
href="#effective2">effective end</a></var>, then the user agent must
follow these steps:
Expand Down Expand Up @@ -15021,8 +15021,8 @@ The island of Shalott.&lt;/p></pre>
<li>
<p>If <code title=dom-media-currentLoop><a
href="#currentloop">currentLoop</a></code> is equal to the value of
<code title=dom-media-loopCount><a
href="#loopcount0">loopCount</a></code>, let <var title="">max</var> be
<code title=dom-media-playCount><a
href="#playcount0">playCount</a></code>, let <var title="">max</var> be
the <var><a href="#effective2">effective end</a></var>. Otherwise, let
it be the <var><a href="#effective1">effective loop end</a></var>.

Expand Down
38 changes: 19 additions & 19 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -11157,7 +11157,7 @@ The island of Shalott.&lt;/p></pre>
<dd><code title="attr-media-loopstart">loopstart</code></dd>
<dd><code title="attr-media-loopend">loopend</code></dd>
<dd><code title="attr-media-end">end</code></dd>
<dd><code title="attr-media-loopcount">loopcount</code></dd>
<dd><code title="attr-media-playcount">playcount</code></dd>
<dd><code title="attr-media-controls">controls</code></dd>
<dd><code title="attr-dim-width">width</code></dd>
<dd><code title="attr-dim-height">height</code></dd>
Expand Down Expand Up @@ -11199,7 +11199,7 @@ The island of Shalott.&lt;/p></pre>
title="attr-media-loopstart">loopstart</code>, <code
title="attr-media-loopend">loopend</code>, <code
title="attr-media-end">end</code>, <code
title="attr-media-loopcount">loopcount</code>, and <code
title="attr-media-playcount">playcount</code>, and <code
title="attr-media-controls">controls</code> attributes are <span
title="media element attributes">the attributes common to all media
elements</span>.</p>
Expand Down Expand Up @@ -11362,7 +11362,7 @@ The island of Shalott.&lt;/p></pre>
<dd><code title="attr-media-loopstart">loopstart</code></dd>
<dd><code title="attr-media-loopend">loopend</code></dd>
<dd><code title="attr-media-end">end</code></dd>
<dd><code title="attr-media-loopcount">loopcount</code></dd>
<dd><code title="attr-media-playcount">playcount</code></dd>
<dd><code title="attr-media-controls">controls</code></dd>
<dt>DOM interface:</dt>
<dd>
Expand Down Expand Up @@ -11398,7 +11398,7 @@ The island of Shalott.&lt;/p></pre>
title="attr-media-loopstart">loopstart</code>, <code
title="attr-media-loopend">loopend</code>, <code
title="attr-media-end">end</code>, <code
title="attr-media-loopcount">loopcount</code>, and <code
title="attr-media-playcount">playcount</code>, and <code
title="attr-media-controls">controls</code> attributes are <span
title="media element attributes">the attributes common to all media
elements</span>.</p>
Expand Down Expand Up @@ -11479,7 +11479,7 @@ The island of Shalott.&lt;/p></pre>
attribute float <span title="dom-media-end">end</span>;
attribute float <span title="dom-media-loopStart">loopStart</span>;
attribute float <span title="dom-media-loopEnd">loopEnd</span>;
attribute unsigned long <span title="dom-media-loopCount">loopCount</span>;
attribute unsigned long <span title="dom-media-playCount">playCount</span>;
attribute unsigned long <span title="dom-media-currentLoop">currentLoop</span>;

// cue points
Expand All @@ -11499,7 +11499,7 @@ The island of Shalott.&lt;/p></pre>
title="attr-media-loopstart">loopstart</code>, <code
title="attr-media-loopend">loopend</code>, <code
title="attr-media-end">end</code>, <code
title="attr-media-loopcount">loopcount</code>, and <code
title="attr-media-playcount">playcount</code>, and <code
title="attr-media-controls">controls</code>, apply to all <span
title="media element">media elements</span>. They are defined in
this section.</p>
Expand Down Expand Up @@ -12281,13 +12281,13 @@ The island of Shalott.&lt;/p></pre>
<span>media element</span> respectively.</p>

<p>The <dfn
title="attr-media-loopcount"><code>loopcount</code></dfn> content
title="attr-media-playcount"><code>playcount</code></dfn> content
attribute gives the number of times to play the clip. The default
value is 1.</p>

<p>The <dfn title="dom-media-loopCount"><code>loopCount</code></dfn>
<p>The <dfn title="dom-media-playCount"><code>playCount</code></dfn>
DOM attribute must <span>reflect</span> the <code
title="attr-media-loopcount">loopcount</code> content attribute on
title="attr-media-playcount">playcount</code> content attribute on
the <span>media element</span>. The value must be <span>limited to
only positive non-zero numbers</span>.</p>

Expand All @@ -12300,20 +12300,20 @@ The island of Shalott.&lt;/p></pre>
title="dom-media-loopStart">loopStart</code>, <code
title="dom-media-loopEnd">loopEnd</code>, <code
title="dom-media-end">end</code>, and <code
title="dom-media-loopCount">loopCount</code> DOM attributes change
title="dom-media-playCount">playCount</code> DOM attributes change
value (either through content attribute mutations reflecting into
the DOM attribute, or direct mutations of the DOM attribute), the
user agent must apply the following steps:</p>

<ol>

<li><p>If the <code title="dom-media-loopCount">loopCount</code>
<li><p>If the <code title="dom-media-playCount">playCount</code>
DOM attribute's value is less than or equal to the <code
title="dom-media-currentLoop">currentLoop</code> DOM attribute's
value, then the <code
title="dom-media-currentLoop">currentLoop</code> DOM attribute's
value must be set to <span><code
title="dom-media-loopCount">loopCount</code>-1</span> (which will
title="dom-media-playCount">playCount</code>-1</span> (which will
make the current loop the last loop).</p></li>

<li><p>If the <span>media element</span>'s <code
Expand All @@ -12338,7 +12338,7 @@ The island of Shalott.&lt;/p></pre>

<li><p>If the <code
title="dom-media-currentLoop">currentLoop</code> is less than
<span><code title="dom-media-loopCount">loopCount</code>-1</span>,
<span><code title="dom-media-playCount">playCount</code>-1</span>,
and the <span>current playback position</span> is after the
<var>effective loop end</var>, the user agent must <span
title="dom-media-seek">seek</span> to the <var>effective loop
Expand All @@ -12347,7 +12347,7 @@ The island of Shalott.&lt;/p></pre>

<li><p>If the <code
title="dom-media-currentLoop">currentLoop</code> is equal to
<span><code title="dom-media-loopCount">loopCount</code>-1</span>,
<span><code title="dom-media-playCount">playCount</code>-1</span>,
and the <span>current playback position</span> is after the
<var>effective end</var>, the user agent must <span
title="dom-media-seek">seek</span> to the <var>effective end</var>
Expand Down Expand Up @@ -12418,7 +12418,7 @@ The island of Shalott.&lt;/p></pre>
attribute, would not overtake the available data before playback
reaches the <span>effective end</span> of the <span>media
resource</span> on the last <span
title="dom-media-loopCount">loop</span>.</dd>
title="dom-media-playCount">loop</span>.</dd>

</dl>

Expand Down Expand Up @@ -12539,7 +12539,7 @@ The island of Shalott.&lt;/p></pre>
<var>effective end</var> of the <span>media resource</span>, and the
<code title="dom-media-currentLoop">currentLoop</code> attribute is
equal to <span><code
title="dom-media-loopCount">loopCount</code>-1</span>.</p>
title="dom-media-playCount">playCount</code>-1</span>.</p>

<p>A <span>media element</span> is said to have <dfn>stopped due to
errors</dfn> when the element's <code
Expand Down Expand Up @@ -12612,7 +12612,7 @@ The island of Shalott.&lt;/p></pre>

<p>When <code title="dom-media-currentLoop">currentLoop</code> is
less than <span><code
title="dom-media-loopCount">loopCount</code>-1</span> and the
title="dom-media-playCount">playCount</code>-1</span> and the
<span>current playback position</span> reaches the <var>effective
loop end</var>, then the user agent must <span
title="dom-media-seek">seek</span> to the <var>effective loop
Expand All @@ -12623,7 +12623,7 @@ The island of Shalott.&lt;/p></pre>

<p>When <code title="dom-media-currentLoop">currentLoop</code> is
equal to the <span><code
title="dom-media-loopCount">loopCount</code>-1</span> and the
title="dom-media-playCount">playCount</code>-1</span> and the
<span>current playback position</span> reaches the <var>effective
end</var>, then the user agent must follow these steps:</p>

Expand Down Expand Up @@ -12842,7 +12842,7 @@ The island of Shalott.&lt;/p></pre>

<li><p>If <code title="dom-media-currentLoop">currentLoop</code> is
equal to the value of <code
title="dom-media-loopCount">loopCount</code>, let <var
title="dom-media-playCount">playCount</code>, let <var
title="">max</var> be the <var>effective end</var>. Otherwise, let
it be the <var>effective loop end</var>.</p></li>

Expand Down

0 comments on commit 80f253e

Please sign in to comment.