Skip to content

Commit

Permalink
[e] (0) Fix some typos or copypasta.
Browse files Browse the repository at this point in the history
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=22004
Affected topics: Video and Audio

git-svn-id: http://svn.whatwg.org/webapps@7944 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jun 7, 2013
1 parent 8d11817 commit b46a040
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 21 deletions.
15 changes: 8 additions & 7 deletions complete.html
Expand Up @@ -28577,10 +28577,10 @@ <h5 id=ready-states><span class=secno>4.8.10.7 </span>Ready states</h5>
<dd>

<p>The user agent must <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a> named
<code title=event-media-canplay><a href=#event-media-canplay>canplay</a></code>.</p>
<code title=event-media-canplay><a href=#event-media-canplay>canplay</a></code> at the element.</p>

<p>If the element's <code title=dom-media-paused><a href=#dom-media-paused>paused</a></code> attribute is false, the user
agent must <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-media-playing><a href=#event-media-playing>playing</a></code>.</p>
agent must <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-media-playing><a href=#event-media-playing>playing</a></code> at the element.</p>

</dd>

Expand All @@ -28590,24 +28590,25 @@ <h5 id=ready-states><span class=secno>4.8.10.7 </span>Ready states</h5>
<dd>

<p>If the previous ready state was <code title=dom-media-HAVE_CURRENT_DATA><a href=#dom-media-have_current_data>HAVE_CURRENT_DATA</a></code> or less, the user agent must
<a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-media-canplay><a href=#event-media-canplay>canplay</a></code>, and, if the element's <code title=dom-media-paused><a href=#dom-media-paused>paused</a></code> attribute is false, <a href=#queue-a-task>queue a task</a> to
<a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-media-playing><a href=#event-media-playing>playing</a></code>.</p>
<a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-media-canplay><a href=#event-media-canplay>canplay</a></code> at the element, and, if the element's <code title=dom-media-paused><a href=#dom-media-paused>paused</a></code> attribute is false, <a href=#queue-a-task>queue a task</a> to
<a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-media-playing><a href=#event-media-playing>playing</a></code>
at the element.</p>

<p>If the <a href=#autoplaying-flag>autoplaying flag</a> is true, and the <code title=dom-media-paused><a href=#dom-media-paused>paused</a></code> attribute is true, and the <a href=#media-element>media element</a>
has an <code title=attr-media-autoplay><a href=#attr-media-autoplay>autoplay</a></code> attribute specified, and the
<a href=#media-element>media element</a>'s <code><a href=#document>Document</a></code>'s <a href=#active-sandboxing-flag-set>active sandboxing flag set</a>
does not have the <a href=#sandboxed-automatic-features-browsing-context-flag>sandboxed automatic features browsing context flag</a> set, then
the user agent may also set the <code title=dom-media-paused><a href=#dom-media-paused>paused</a></code> attribute to
false, set the element's <a href=#show-poster-flag>show poster flag</a> to false, <a href=#queue-a-task>queue a task</a> to
<a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-media-play><a href=#event-media-play>play</a></code>, and
<a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-media-playing><a href=#event-media-playing>playing</a></code>.</p>
<a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-media-play><a href=#event-media-play>play</a></code> at the element, and
<a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-media-playing><a href=#event-media-playing>playing</a></code> at the element.</p>

<p class=note>User agents do not need to support autoplay, and it is suggested that user
agents honor user preferences on the matter. Authors are urged to use the <code title=attr-media-autoplay><a href=#attr-media-autoplay>autoplay</a></code> attribute rather than using script to force the
video to play, so as to allow the user to override the behavior if so desired.</p>

<p>In any case, the user agent must finally <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple
event</a> named <code title=event-media-canplaythrough><a href=#event-media-canplaythrough>canplaythrough</a></code>.</p>
event</a> named <code title=event-media-canplaythrough><a href=#event-media-canplaythrough>canplaythrough</a></code> at the element.</p>

</dd>

Expand Down
15 changes: 8 additions & 7 deletions index
Expand Up @@ -28577,10 +28577,10 @@ interface <dfn id=htmlmediaelement>HTMLMediaElement</dfn> : <a href=#htmlelement
<dd>

<p>The user agent must <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a> named
<code title=event-media-canplay><a href=#event-media-canplay>canplay</a></code>.</p>
<code title=event-media-canplay><a href=#event-media-canplay>canplay</a></code> at the element.</p>

<p>If the element's <code title=dom-media-paused><a href=#dom-media-paused>paused</a></code> attribute is false, the user
agent must <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-media-playing><a href=#event-media-playing>playing</a></code>.</p>
agent must <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-media-playing><a href=#event-media-playing>playing</a></code> at the element.</p>

</dd>

Expand All @@ -28590,24 +28590,25 @@ interface <dfn id=htmlmediaelement>HTMLMediaElement</dfn> : <a href=#htmlelement
<dd>

<p>If the previous ready state was <code title=dom-media-HAVE_CURRENT_DATA><a href=#dom-media-have_current_data>HAVE_CURRENT_DATA</a></code> or less, the user agent must
<a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-media-canplay><a href=#event-media-canplay>canplay</a></code>, and, if the element's <code title=dom-media-paused><a href=#dom-media-paused>paused</a></code> attribute is false, <a href=#queue-a-task>queue a task</a> to
<a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-media-playing><a href=#event-media-playing>playing</a></code>.</p>
<a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-media-canplay><a href=#event-media-canplay>canplay</a></code> at the element, and, if the element's <code title=dom-media-paused><a href=#dom-media-paused>paused</a></code> attribute is false, <a href=#queue-a-task>queue a task</a> to
<a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-media-playing><a href=#event-media-playing>playing</a></code>
at the element.</p>

<p>If the <a href=#autoplaying-flag>autoplaying flag</a> is true, and the <code title=dom-media-paused><a href=#dom-media-paused>paused</a></code> attribute is true, and the <a href=#media-element>media element</a>
has an <code title=attr-media-autoplay><a href=#attr-media-autoplay>autoplay</a></code> attribute specified, and the
<a href=#media-element>media element</a>'s <code><a href=#document>Document</a></code>'s <a href=#active-sandboxing-flag-set>active sandboxing flag set</a>
does not have the <a href=#sandboxed-automatic-features-browsing-context-flag>sandboxed automatic features browsing context flag</a> set, then
the user agent may also set the <code title=dom-media-paused><a href=#dom-media-paused>paused</a></code> attribute to
false, set the element's <a href=#show-poster-flag>show poster flag</a> to false, <a href=#queue-a-task>queue a task</a> to
<a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-media-play><a href=#event-media-play>play</a></code>, and
<a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-media-playing><a href=#event-media-playing>playing</a></code>.</p>
<a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-media-play><a href=#event-media-play>play</a></code> at the element, and
<a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-media-playing><a href=#event-media-playing>playing</a></code> at the element.</p>

<p class=note>User agents do not need to support autoplay, and it is suggested that user
agents honor user preferences on the matter. Authors are urged to use the <code title=attr-media-autoplay><a href=#attr-media-autoplay>autoplay</a></code> attribute rather than using script to force the
video to play, so as to allow the user to override the behavior if so desired.</p>

<p>In any case, the user agent must finally <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple
event</a> named <code title=event-media-canplaythrough><a href=#event-media-canplaythrough>canplaythrough</a></code>.</p>
event</a> named <code title=event-media-canplaythrough><a href=#event-media-canplaythrough>canplaythrough</a></code> at the element.</p>

</dd>

Expand Down
15 changes: 8 additions & 7 deletions source
Expand Up @@ -30412,11 +30412,11 @@ interface <dfn>HTMLMediaElement</dfn> : <span>HTMLElement</span> {
<dd>

<p>The user agent must <span>queue a task</span> to <span>fire a simple event</span> named
<code title="event-media-canplay">canplay</code>.</p>
<code title="event-media-canplay">canplay</code> at the element.</p>

<p>If the element's <code title="dom-media-paused">paused</code> attribute is false, the user
agent must <span>queue a task</span> to <span>fire a simple event</span> named <code
title="event-media-playing">playing</code>.</p>
title="event-media-playing">playing</code> at the element.</p>

</dd>

Expand All @@ -30429,9 +30429,10 @@ interface <dfn>HTMLMediaElement</dfn> : <span>HTMLElement</span> {
<p>If the previous ready state was <code
title="dom-media-HAVE_CURRENT_DATA">HAVE_CURRENT_DATA</code> or less, the user agent must
<span>queue a task</span> to <span>fire a simple event</span> named <code
title="event-media-canplay">canplay</code>, and, if the element's <code
title="event-media-canplay">canplay</code> at the element, and, if the element's <code
title="dom-media-paused">paused</code> attribute is false, <span>queue a task</span> to
<span>fire a simple event</span> named <code title="event-media-playing">playing</code>.</p>
<span>fire a simple event</span> named <code title="event-media-playing">playing</code>
at the element.</p>

<p>If the <span>autoplaying flag</span> is true, and the <code
title="dom-media-paused">paused</code> attribute is true, and the <span>media element</span>
Expand All @@ -30440,17 +30441,17 @@ interface <dfn>HTMLMediaElement</dfn> : <span>HTMLElement</span> {
does not have the <span>sandboxed automatic features browsing context flag</span> set, then
the user agent may also set the <code title="dom-media-paused">paused</code> attribute to
false, set the element's <span>show poster flag</span> to false, <span>queue a task</span> to
<span>fire a simple event</span> named <code title="event-media-play">play</code>, and
<span>fire a simple event</span> named <code title="event-media-play">play</code> at the element, and
<span>queue a task</span> to <span>fire a simple event</span> named <code
title="event-media-playing">playing</code>.</p>
title="event-media-playing">playing</code> at the element.</p>

<p class="note">User agents do not need to support autoplay, and it is suggested that user
agents honor user preferences on the matter. Authors are urged to use the <code
title="attr-media-autoplay">autoplay</code> attribute rather than using script to force the
video to play, so as to allow the user to override the behavior if so desired.</p>

<p>In any case, the user agent must finally <span>queue a task</span> to <span>fire a simple
event</span> named <code title="event-media-canplaythrough">canplaythrough</code>.</p>
event</span> named <code title="event-media-canplaythrough">canplaythrough</code> at the element.</p>

</dd>

Expand Down

0 comments on commit b46a040

Please sign in to comment.