[html5] r7788 - [e] (0) Fix some typos or copypasta. Fixing https://www.w3.org/Bugs/Public/show_ [...]
whatwg at whatwg.org
whatwg at whatwg.org
Mon Apr 1 11:58:55 PDT 2013
Author: ianh
Date: 2013-04-01 11:58:54 -0700 (Mon, 01 Apr 2013)
New Revision: 7788
Modified:
complete.html
index
source
Log:
[e] (0) Fix some typos or copypasta.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=21442
Affected topics: Canvas, DOM APIs, HTML, Video and Audio, Workers
Modified: complete.html
===================================================================
--- complete.html 2013-04-01 18:20:08 UTC (rev 7787)
+++ complete.html 2013-04-01 18:58:54 UTC (rev 7788)
@@ -7084,7 +7084,7 @@
<dd>
- <p>Set <var title="">URL</var> to the the target URL of the
+ <p>Set <var title="">URL</var> to the target URL of the
redirect and return to the top of the <a href=#potentially-cors-enabled-fetch>potentially
CORS-enabled fetch</a> algorithm (this time, one of the
other branches below might be taken, based on the value of
@@ -8804,7 +8804,7 @@
</dd>
- <dt>The algorithm for for mapping a name to a certain element</dt>
+ <dt>The algorithm for mapping a name to a certain element</dt>
<dd>
@@ -23108,7 +23108,7 @@
<p>The IDL attribute <dfn id=dom-img-complete title=dom-img-complete><code>complete</code></dfn> must return
true if any of the following conditions is true:</p>
<ul class=brief><li>Both the <code title=attr-img-src><a href=#attr-img-src>src</a></code> attribute and the <code title=attr-img-srcset><a href=#attr-img-srcset>srcset</a></code> attributes are omitted.
- <li>The the <code title=attr-img-srcset><a href=#attr-img-srcset>srcset</a></code> attribute is omitted and the <code title=attr-img-src><a href=#attr-img-src>src</a></code> attribute's value is the empty string. <!-- we only have this hack for src="", not srcset=""; present but empty or bogus srcset="" still means complete=false if it's not in the img-error state -->
+ <li>The <code title=attr-img-srcset><a href=#attr-img-srcset>srcset</a></code> attribute is omitted and the <code title=attr-img-src><a href=#attr-img-src>src</a></code> attribute's value is the empty string. <!-- we only have this hack for src="", not srcset=""; present but empty or bogus srcset="" still means complete=false if it's not in the img-error state -->
<li>The final <a href=#concept-task title=concept-task>task</a> that is <a href=#queue-a-task title="queue a task">queued</a> by the <a href=#networking-task-source>networking task source</a> once the resource has been <a href=#fetch title=fetch>fetched</a> has been <a href=#queue-a-task title="queue a task">queued</a>, but has not yet been run, and the <code><a href=#the-img-element>img</a></code> element is not in the <a href=#img-error title=img-error>broken</a> state.
<li>The <code><a href=#the-img-element>img</a></code> element is <a href=#img-all title=img-all>completely available</a>.
</ul><p>Otherwise, the attribute must return false.</p>
@@ -29037,7 +29037,7 @@
<li><p>Create a <a href=#concept-task title=concept-task>task</a> to <a href=#fire-a-simple-event>fire a simple event</a>
named <var title="">event</var> at <var title="">target</var>.</li>
- <li><p>Add to the newly create <a href=#concept-task title=concept-task>task</a> to <var title="">events</var>, associated with the time <var title="">time</var>, the <a href=#text-track>text
+ <li><p>Add the newly create <a href=#concept-task title=concept-task>task</a> to <var title="">events</var>, associated with the time <var title="">time</var>, the <a href=#text-track>text
track</a> <var title="">track</var>, and the <a href=#text-track-cue>text track cue</a> <var title="">target</var>.</li>
<li><p>Add <var title="">track</var> to <var title="">affected tracks</var>.</li>
@@ -34358,7 +34358,7 @@
<p>The <dfn id=dom-context-2d-direction title=dom-context-2d-direction><code>direction</code></dfn> IDL attribute, on
getting, must return the current value. On setting, if the value is one of <code title=dom-context-2d-direction-ltr>ltr</code>, <code title=dom-context-2d-direction-rtl>rtl</code>, <!--<code
- title="dom-context-2d-direction-auto">auto</code>,--> or or <code title=dom-context-2d-direction-inherit>inherit</code>, then the value must be changed to the new
+ title="dom-context-2d-direction-auto">auto</code>,--> or <code title=dom-context-2d-direction-inherit>inherit</code>, then the value must be changed to the new
value. Otherwise, the new value must be ignored. When the object implementing the
<code><a href=#canvasdrawingstyles>CanvasDrawingStyles</a></code> interface is created, the <code title=dom-context-2d-direction><a href=#dom-context-2d-direction>direction</a></code> attribute must initially have the value <code title=dom-context-2d-direction-inherit>inherit</code>.</p>
@@ -36628,7 +36628,7 @@
<p>The <dfn id=dom-context-2d-fillrule title=dom-context-2d-fillRule><code>fillRule</code></dfn> attribute specifies the
context's <dfn id=current-fill-rule>current fill rule</dfn>. The two valid values are "<code title=dom-context-2d-fillRule-nonzero><a href=#dom-context-2d-fillrule-nonzero>nonzero</a></code>" and "<code title=dom-context-2d-fillRule-evenodd><a href=#dom-context-2d-fillrule-evenodd>evenodd</a></code>". On getting, it must return the current
- value. On setting, the current value must be changed to the new value. When the context is is
+ value. On setting, the current value must be changed to the new value. When the context is
created, the <code title=dom-context-2d-fillRule><a href=#dom-context-2d-fillrule>fillRule</a></code> attribute must initially have
the value "<code title=dom-context-2d-fillRule-nonzero><a href=#dom-context-2d-fillrule-nonzero>nonzero</a></code>".</p>
@@ -56459,7 +56459,7 @@
<h5 id=processing-model-2><span class=secno>4.11.5.2 </span>Processing model</h5>
- <p>If the there is no element with the ID given by an element's <code title=attr-contextmenu><a href=#attr-contextmenu>contextmenu</a></code> attribute's value in the element's <a href=#home-subtree>home
+ <p>If there is no element with the ID given by an element's <code title=attr-contextmenu><a href=#attr-contextmenu>contextmenu</a></code> attribute's value in the element's <a href=#home-subtree>home
subtree</a>, or if the first such element is not a <code><a href=#the-menu-element>menu</a></code> element whose <code title=attr-menu-type><a href=#attr-menu-type>type</a></code> attribute is in the <a href=#popup-menu-state title="popup menu state">popup
menu</a> state, then the element has no assigned context menu. Otherwise, the element's
assigned context menu is the first such element.</p>
@@ -56473,7 +56473,7 @@
<dd><p>The user agent must <a href=#concept-event-fire title=concept-event-fire>fire</a> a <a href=#concept-events-trusted title=concept-events-trusted>trusted</a> event with the name <code title=event-contextmenu>contextmenu</code>, that bubbles and is cancelable, and that uses the
<code><a href=#mouseevent>MouseEvent</a></code> interface, at the element for which the menu was requested. The context
information of the event must be initialized to the same values as the last
- <code><a href=#mouseevent>MouseEvent</a></code> user interaction event that was fired as part of the gesture that that
+ <code><a href=#mouseevent>MouseEvent</a></code> user interaction event that was fired as part of the gesture that
was interpreted as a request for the context menu.</dd>
<dt>Otherwise</dt>
@@ -68344,7 +68344,7 @@
<li><p>Cancel any instances of the <a href=#fetch title=fetch>fetch</a> algorithm in the context of
this <code><a href=#document>Document</a></code>, discarding any <a href=#concept-task title=concept-task>tasks</a> <a href=#queue-a-task title="queue a task">queued</a> for them, and discarding any further data received from the
- network for them. If this resulted in any any instances of the <a href=#fetch title=fetch>fetch</a>
+ network for them. If this resulted in any instances of the <a href=#fetch title=fetch>fetch</a>
algorithm being canceled or any <a href=#queue-a-task title="queue a task">queued</a> <a href=#concept-task title=concept-task>tasks</a> or any network data getting discarded, then set the
<code><a href=#document>Document</a></code>'s <var title=concept-document-salvageable><a href=#concept-document-salvageable>salvageable</a></var> state to
false.</li>
@@ -79395,7 +79395,7 @@
<a href=#worker>Worker</a> implements <a href=#abstractworker>AbstractWorker</a>;</pre>
<p>The <dfn id=dom-worker-terminate title=dom-Worker-terminate><code>terminate()</code></dfn> method, when invoked, must
- cause the "<a href=#terminate-a-worker>terminate a worker</a>" algorithm to be run on the worker with with the object
+ cause the "<a href=#terminate-a-worker>terminate a worker</a>" algorithm to be run on the worker with which the object
is associated.</p>
<p><code><a href=#worker>Worker</a></code> objects act as if they had an implicit <code><a href=#messageport>MessagePort</a></code> associated
Modified: index
===================================================================
--- index 2013-04-01 18:20:08 UTC (rev 7787)
+++ index 2013-04-01 18:58:54 UTC (rev 7788)
@@ -7084,7 +7084,7 @@
<dd>
- <p>Set <var title="">URL</var> to the the target URL of the
+ <p>Set <var title="">URL</var> to the target URL of the
redirect and return to the top of the <a href=#potentially-cors-enabled-fetch>potentially
CORS-enabled fetch</a> algorithm (this time, one of the
other branches below might be taken, based on the value of
@@ -8804,7 +8804,7 @@
</dd>
- <dt>The algorithm for for mapping a name to a certain element</dt>
+ <dt>The algorithm for mapping a name to a certain element</dt>
<dd>
@@ -23108,7 +23108,7 @@
<p>The IDL attribute <dfn id=dom-img-complete title=dom-img-complete><code>complete</code></dfn> must return
true if any of the following conditions is true:</p>
<ul class=brief><li>Both the <code title=attr-img-src><a href=#attr-img-src>src</a></code> attribute and the <code title=attr-img-srcset><a href=#attr-img-srcset>srcset</a></code> attributes are omitted.
- <li>The the <code title=attr-img-srcset><a href=#attr-img-srcset>srcset</a></code> attribute is omitted and the <code title=attr-img-src><a href=#attr-img-src>src</a></code> attribute's value is the empty string. <!-- we only have this hack for src="", not srcset=""; present but empty or bogus srcset="" still means complete=false if it's not in the img-error state -->
+ <li>The <code title=attr-img-srcset><a href=#attr-img-srcset>srcset</a></code> attribute is omitted and the <code title=attr-img-src><a href=#attr-img-src>src</a></code> attribute's value is the empty string. <!-- we only have this hack for src="", not srcset=""; present but empty or bogus srcset="" still means complete=false if it's not in the img-error state -->
<li>The final <a href=#concept-task title=concept-task>task</a> that is <a href=#queue-a-task title="queue a task">queued</a> by the <a href=#networking-task-source>networking task source</a> once the resource has been <a href=#fetch title=fetch>fetched</a> has been <a href=#queue-a-task title="queue a task">queued</a>, but has not yet been run, and the <code><a href=#the-img-element>img</a></code> element is not in the <a href=#img-error title=img-error>broken</a> state.
<li>The <code><a href=#the-img-element>img</a></code> element is <a href=#img-all title=img-all>completely available</a>.
</ul><p>Otherwise, the attribute must return false.</p>
@@ -29037,7 +29037,7 @@
<li><p>Create a <a href=#concept-task title=concept-task>task</a> to <a href=#fire-a-simple-event>fire a simple event</a>
named <var title="">event</var> at <var title="">target</var>.</li>
- <li><p>Add to the newly create <a href=#concept-task title=concept-task>task</a> to <var title="">events</var>, associated with the time <var title="">time</var>, the <a href=#text-track>text
+ <li><p>Add the newly create <a href=#concept-task title=concept-task>task</a> to <var title="">events</var>, associated with the time <var title="">time</var>, the <a href=#text-track>text
track</a> <var title="">track</var>, and the <a href=#text-track-cue>text track cue</a> <var title="">target</var>.</li>
<li><p>Add <var title="">track</var> to <var title="">affected tracks</var>.</li>
@@ -34358,7 +34358,7 @@
<p>The <dfn id=dom-context-2d-direction title=dom-context-2d-direction><code>direction</code></dfn> IDL attribute, on
getting, must return the current value. On setting, if the value is one of <code title=dom-context-2d-direction-ltr>ltr</code>, <code title=dom-context-2d-direction-rtl>rtl</code>, <!--<code
- title="dom-context-2d-direction-auto">auto</code>,--> or or <code title=dom-context-2d-direction-inherit>inherit</code>, then the value must be changed to the new
+ title="dom-context-2d-direction-auto">auto</code>,--> or <code title=dom-context-2d-direction-inherit>inherit</code>, then the value must be changed to the new
value. Otherwise, the new value must be ignored. When the object implementing the
<code><a href=#canvasdrawingstyles>CanvasDrawingStyles</a></code> interface is created, the <code title=dom-context-2d-direction><a href=#dom-context-2d-direction>direction</a></code> attribute must initially have the value <code title=dom-context-2d-direction-inherit>inherit</code>.</p>
@@ -36628,7 +36628,7 @@
<p>The <dfn id=dom-context-2d-fillrule title=dom-context-2d-fillRule><code>fillRule</code></dfn> attribute specifies the
context's <dfn id=current-fill-rule>current fill rule</dfn>. The two valid values are "<code title=dom-context-2d-fillRule-nonzero><a href=#dom-context-2d-fillrule-nonzero>nonzero</a></code>" and "<code title=dom-context-2d-fillRule-evenodd><a href=#dom-context-2d-fillrule-evenodd>evenodd</a></code>". On getting, it must return the current
- value. On setting, the current value must be changed to the new value. When the context is is
+ value. On setting, the current value must be changed to the new value. When the context is
created, the <code title=dom-context-2d-fillRule><a href=#dom-context-2d-fillrule>fillRule</a></code> attribute must initially have
the value "<code title=dom-context-2d-fillRule-nonzero><a href=#dom-context-2d-fillrule-nonzero>nonzero</a></code>".</p>
@@ -56459,7 +56459,7 @@
<h5 id=processing-model-2><span class=secno>4.11.5.2 </span>Processing model</h5>
- <p>If the there is no element with the ID given by an element's <code title=attr-contextmenu><a href=#attr-contextmenu>contextmenu</a></code> attribute's value in the element's <a href=#home-subtree>home
+ <p>If there is no element with the ID given by an element's <code title=attr-contextmenu><a href=#attr-contextmenu>contextmenu</a></code> attribute's value in the element's <a href=#home-subtree>home
subtree</a>, or if the first such element is not a <code><a href=#the-menu-element>menu</a></code> element whose <code title=attr-menu-type><a href=#attr-menu-type>type</a></code> attribute is in the <a href=#popup-menu-state title="popup menu state">popup
menu</a> state, then the element has no assigned context menu. Otherwise, the element's
assigned context menu is the first such element.</p>
@@ -56473,7 +56473,7 @@
<dd><p>The user agent must <a href=#concept-event-fire title=concept-event-fire>fire</a> a <a href=#concept-events-trusted title=concept-events-trusted>trusted</a> event with the name <code title=event-contextmenu>contextmenu</code>, that bubbles and is cancelable, and that uses the
<code><a href=#mouseevent>MouseEvent</a></code> interface, at the element for which the menu was requested. The context
information of the event must be initialized to the same values as the last
- <code><a href=#mouseevent>MouseEvent</a></code> user interaction event that was fired as part of the gesture that that
+ <code><a href=#mouseevent>MouseEvent</a></code> user interaction event that was fired as part of the gesture that
was interpreted as a request for the context menu.</dd>
<dt>Otherwise</dt>
@@ -68344,7 +68344,7 @@
<li><p>Cancel any instances of the <a href=#fetch title=fetch>fetch</a> algorithm in the context of
this <code><a href=#document>Document</a></code>, discarding any <a href=#concept-task title=concept-task>tasks</a> <a href=#queue-a-task title="queue a task">queued</a> for them, and discarding any further data received from the
- network for them. If this resulted in any any instances of the <a href=#fetch title=fetch>fetch</a>
+ network for them. If this resulted in any instances of the <a href=#fetch title=fetch>fetch</a>
algorithm being canceled or any <a href=#queue-a-task title="queue a task">queued</a> <a href=#concept-task title=concept-task>tasks</a> or any network data getting discarded, then set the
<code><a href=#document>Document</a></code>'s <var title=concept-document-salvageable><a href=#concept-document-salvageable>salvageable</a></var> state to
false.</li>
@@ -79395,7 +79395,7 @@
<a href=#worker>Worker</a> implements <a href=#abstractworker>AbstractWorker</a>;</pre>
<p>The <dfn id=dom-worker-terminate title=dom-Worker-terminate><code>terminate()</code></dfn> method, when invoked, must
- cause the "<a href=#terminate-a-worker>terminate a worker</a>" algorithm to be run on the worker with with the object
+ cause the "<a href=#terminate-a-worker>terminate a worker</a>" algorithm to be run on the worker with which the object
is associated.</p>
<p><code><a href=#worker>Worker</a></code> objects act as if they had an implicit <code><a href=#messageport>MessagePort</a></code> associated
Modified: source
===================================================================
--- source 2013-04-01 18:20:08 UTC (rev 7787)
+++ source 2013-04-01 18:58:54 UTC (rev 7788)
@@ -6609,7 +6609,7 @@
<dd>
- <p>Set <var title="">URL</var> to the the target URL of the
+ <p>Set <var title="">URL</var> to the target URL of the
redirect and return to the top of the <span>potentially
CORS-enabled fetch</span> algorithm (this time, one of the
other branches below might be taken, based on the value of
@@ -8618,7 +8618,7 @@
</dd>
- <dt>The algorithm for for mapping a name to a certain element</dt>
+ <dt>The algorithm for mapping a name to a certain element</dt>
<dd>
@@ -24247,7 +24247,7 @@
true if any of the following conditions is true:</p>
<ul class="brief">
<li>Both the <code title="attr-img-src">src</code> attribute and the <code title="attr-img-srcset">srcset</code> attributes are omitted.
- <li>The the <code title="attr-img-srcset">srcset</code> attribute is omitted and the <code title="attr-img-src">src</code> attribute's value is the empty string. <!-- we only have this hack for src="", not srcset=""; present but empty or bogus srcset="" still means complete=false if it's not in the img-error state -->
+ <li>The <code title="attr-img-srcset">srcset</code> attribute is omitted and the <code title="attr-img-src">src</code> attribute's value is the empty string. <!-- we only have this hack for src="", not srcset=""; present but empty or bogus srcset="" still means complete=false if it's not in the img-error state -->
<li>The final <span title="concept-task">task</span> that is <span title="queue a task">queued</span> by the <span>networking task source</span> once the resource has been <span title="fetch">fetched</span> has been <span title="queue a task">queued</span>, but has not yet been run, and the <code>img</code> element is not in the <span title="img-error">broken</span> state.
<li>The <code>img</code> element is <span title="img-all">completely available</span>.
</ul>
@@ -30984,7 +30984,7 @@
<li><p>Create a <span title="concept-task">task</span> to <span>fire a simple event</span>
named <var title="">event</var> at <var title="">target</var>.</p></li>
- <li><p>Add to the newly create <span title="concept-task">task</span> to <var
+ <li><p>Add the newly create <span title="concept-task">task</span> to <var
title="">events</var>, associated with the time <var title="">time</var>, the <span>text
track</span> <var title="">track</var>, and the <span>text track cue</span> <var
title="">target</var>.</p></li>
@@ -41506,7 +41506,7 @@
getting, must return the current value. On setting, if the value is one of <code
title="dom-context-2d-direction-ltr">ltr</code>, <code
title="dom-context-2d-direction-rtl">rtl</code>, <!--<code
- title="dom-context-2d-direction-auto">auto</code>,--> or or <code
+ title="dom-context-2d-direction-auto">auto</code>,--> or <code
title="dom-context-2d-direction-inherit">inherit</code>, then the value must be changed to the new
value. Otherwise, the new value must be ignored. When the object implementing the
<code>CanvasDrawingStyles</code> interface is created, the <code
@@ -44235,7 +44235,7 @@
context's <dfn>current fill rule</dfn>. The two valid values are "<code
title="dom-context-2d-fillRule-nonzero">nonzero</code>" and "<code
title="dom-context-2d-fillRule-evenodd">evenodd</code>". On getting, it must return the current
- value. On setting, the current value must be changed to the new value. When the context is is
+ value. On setting, the current value must be changed to the new value. When the context is
created, the <code title="dom-context-2d-fillRule">fillRule</code> attribute must initially have
the value "<code title="dom-context-2d-fillRule-nonzero">nonzero</code>".</p>
@@ -66973,7 +66973,7 @@
<h5>Processing model</h5>
- <p>If the there is no element with the ID given by an element's <code
+ <p>If there is no element with the ID given by an element's <code
title="attr-contextmenu">contextmenu</code> attribute's value in the element's <span>home
subtree</span>, or if the first such element is not a <code>menu</code> element whose <code
title="attr-menu-type">type</code> attribute is in the <span title="popup menu state">popup
@@ -66993,7 +66993,7 @@
title="event-contextmenu">contextmenu</code>, that bubbles and is cancelable, and that uses the
<code>MouseEvent</code> interface, at the element for which the menu was requested. The context
information of the event must be initialized to the same values as the last
- <code>MouseEvent</code> user interaction event that was fired as part of the gesture that that
+ <code>MouseEvent</code> user interaction event that was fired as part of the gesture that
was interpreted as a request for the context menu.</p></dd>
<dt>Otherwise</dt>
@@ -80859,7 +80859,7 @@
<li><p>Cancel any instances of the <span title="fetch">fetch</span> algorithm in the context of
this <code>Document</code>, discarding any <span title="concept-task">tasks</span> <span
title="queue a task">queued</span> for them, and discarding any further data received from the
- network for them. If this resulted in any any instances of the <span title="fetch">fetch</span>
+ network for them. If this resulted in any instances of the <span title="fetch">fetch</span>
algorithm being canceled or any <span title="queue a task">queued</span> <span
title="concept-task">tasks</span> or any network data getting discarded, then set the
<code>Document</code>'s <var title="concept-document-salvageable">salvageable</var> state to
@@ -92937,7 +92937,7 @@
<span>Worker</span> implements <span>AbstractWorker</span>;</pre>
<p>The <dfn title="dom-Worker-terminate"><code>terminate()</code></dfn> method, when invoked, must
- cause the "<span>terminate a worker</span>" algorithm to be run on the worker with with the object
+ cause the "<span>terminate a worker</span>" algorithm to be run on the worker with which the object
is associated.</p>
<p><code>Worker</code> objects act as if they had an implicit <code>MessagePort</code> associated
More information about the Commit-Watchers
mailing list