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=21442
Affected topics: Canvas, DOM APIs, HTML, Video and Audio, Workers

git-svn-id: http://svn.whatwg.org/webapps@7788 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Apr 1, 2013
1 parent 4865ad5 commit 2c557d1
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 30 deletions.
20 changes: 10 additions & 10 deletions complete.html
Expand Up @@ -7084,7 +7084,7 @@ <h4 id=cors-enabled-fetch><span class=secno>2.6.7 </span>CORS-enabled fetch</h4>

<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
Expand Down Expand Up @@ -8804,7 +8804,7 @@ <h4 id=dom-tree-accessors><span class=secno>3.1.4 </span><dfn>DOM tree accessors

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

Expand Down Expand Up @@ -23108,7 +23108,7 @@ <h4 id=the-img-element><span class=secno>4.8.1 </span>The <dfn><code>img</code><
<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>
Expand Down Expand Up @@ -29037,7 +29037,7 @@ <h5 id=playing-the-media-resource><span class=secno>4.8.10.8 </span>Playing the
<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>
Expand Down Expand Up @@ -34358,7 +34358,7 @@ <h6 id=text-styles><span class=secno>4.8.11.2.5 </span>Text styles</h6>

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

Expand Down Expand Up @@ -36628,7 +36628,7 @@ <h6 id=drawing-paths-to-the-canvas><span class=secno>4.8.11.2.13 </span>Drawing

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

Expand Down Expand Up @@ -56459,7 +56459,7 @@ <h5 id=declaring-a-context-menu><span class=secno>4.11.5.1 </span>Declaring a co

<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>
Expand All @@ -56473,7 +56473,7 @@ <h5 id=processing-model-2><span class=secno>4.11.5.2 </span>Processing model</h5
<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>
Expand Down Expand Up @@ -68344,7 +68344,7 @@ <h4 id=aborting-a-document-load><span class=secno>6.6.12 </span>Aborting a docum

<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>
Expand Down Expand Up @@ -79395,7 +79395,7 @@ <h5 id=the-abstractworker-abstract-interface><span class=secno>9.2.6.1 </span>Th
<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
Expand Down
20 changes: 10 additions & 10 deletions index
Expand Up @@ -7084,7 +7084,7 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d

<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
Expand Down Expand Up @@ -8804,7 +8804,7 @@ partial /*sealed*/ interface <dfn id=document>Document</dfn> {

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

Expand Down Expand Up @@ -23108,7 +23108,7 @@ interface <dfn id=htmlimageelement>HTMLImageElement</dfn> : <a href=#htmlelement
<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>
Expand Down Expand Up @@ -29037,7 +29037,7 @@ interface <dfn id=htmlaudioelement>HTMLAudioElement</dfn> : <a href=#htmlmediael
<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>
Expand Down Expand Up @@ -34358,7 +34358,7 @@ hairline width with transform. ack Shaun Morris. --></div>

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

Expand Down Expand Up @@ -36628,7 +36628,7 @@ v6DVT (also check for '- -' bits in the part above) --><p>The <dfn id=dom-contex

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

Expand Down Expand Up @@ -56459,7 +56459,7 @@ fur

<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>
Expand All @@ -56473,7 +56473,7 @@ fur
<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>
Expand Down Expand Up @@ -68344,7 +68344,7 @@ dictionary <dfn id=pagetransitioneventinit>PageTransitionEventInit</dfn> : <a hr

<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>
Expand Down Expand Up @@ -79395,7 +79395,7 @@ interface <dfn id=worker>Worker</dfn> : <a href=#eventtarget>EventTarget</a> {
<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
Expand Down

0 comments on commit 2c557d1

Please sign in to comment.