Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
Closes #376.
  • Loading branch information
jwilk authored and zcorpan committed Dec 3, 2015
1 parent 3a23548 commit 6f74880
Showing 1 changed file with 37 additions and 36 deletions.
73 changes: 37 additions & 36 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -2239,7 +2239,7 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
privileges as the user agent itself, vulnerabilities in the third-party software become as
dangerous as those in the user agent.</p>

<p>Since different users having differents sets of <span data-x="plugin">plugins</span> provides a
<p>Since different users having different sets of <span data-x="plugin">plugins</span> provides a
fingerprinting vector that increases the chances of users being uniquely identified, user agents
are encouraged to support the exact same set of <span data-x="plugin">plugins</span> for each
user.
Expand Down Expand Up @@ -4888,7 +4888,7 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
<p class="note">The use of the Gregorian calendar as the wire format in this specification is an
arbitrary choice resulting from the cultural biases of those involved in the decision. See also
the section discussing <a href="#input-author-notes">date, time, and number formats</a> in forms
<span w-nodev>(for authors), <a href="#input-impl-notes">implemention notes regarding
<span w-nodev>(for authors), <a href="#input-impl-notes">implementation notes regarding
localization of form controls</a>,</span> and the <code>time</code> element.</p>


Expand Down Expand Up @@ -5511,7 +5511,7 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
<p>Times in dates before the formation of UTC in the mid twentieth century must be expressed and
interpreted in terms of UT1 (contemporary Earth solar time at the 0&deg; longitude), not UTC (the
approximation of UT1 that ticks in SI seconds). Time before the formation of time zones must be
expressed and interpeted as UT1 times with explicit time zones that approximate the contemporary
expressed and interpreted as UT1 times with explicit time zones that approximate the contemporary
difference between the appropriate local time and the time observed at the location of Greenwich,
London.</p>

Expand Down Expand Up @@ -10459,7 +10459,7 @@ Transport Protocol">HTTP&lt;/abbr> today.&lt;/p></pre> <!-- DO NOT REWRAP THIS L

<p>When an element is in the <dfn>no-translate</dfn> state, the element's attribute values and the
values of its <code>Text</code> node children are to be left as-is when the page is localized,
e.g. because the element contains a person's name or a the name of a computer program.</p>
e.g. because the element contains a person's name or a name of a computer program.</p>

<p>The following attributes are <dfn>translatable attributes</dfn>:</p>

Expand Down Expand Up @@ -13869,7 +13869,7 @@ own thing rather than part of the extended sentence -->
&lt;p>But it has two paragraphs!&lt;/p>
&lt;/section>
&lt;section class="chapter">
&lt;h1>It Continutes: The Second Chapter&lt;/h1>
&lt;h1>It Continues: The Second Chapter&lt;/h1>
&lt;p>Bla dee bla, dee bla dee bla. Boom.&lt;/p>
&lt;/section>
&lt;section class="chapter">
Expand Down Expand Up @@ -18673,8 +18673,8 @@ this specification: the &lt;abbr>WHATWG&lt;/abbr> and the

<div class="example">

<!-- this is the hiragana for the word "kanji" ("chinese character") in japanese -->
<!-- in japanese, ruby-like typography is called "furigana" -->
<!-- this is the hiragana for the word "kanji" ("Chinese character") in Japanese -->
<!-- in Japanese, ruby-like typography is called "furigana" -->

<p>In this example, each ideograph in the Japanese text <span data-x=""
lang="ja">&#28450;&#23383;</span> is annotated with its reading in hiragana.</p>
Expand All @@ -18692,7 +18692,7 @@ this specification: the &lt;abbr>WHATWG&lt;/abbr> and the

<div class="example">

<!-- this is the zhuyin fuhao (aka bopomofo) for the word "hanzi" ("chinese character") in traditional chinese, as used in taiwan -->
<!-- this is the zhuyin fuhao (aka bopomofo) for the word "hanzi" ("Chinese character") in traditional Chinese, as used in Taiwan -->

<p>In this example, each ideograph in the traditional Chinese text <span data-x=""
lang="zh-TW">&#28450;&#23383;</span> is annotated with its bopomofo reading.</p>
Expand All @@ -18708,7 +18708,7 @@ this specification: the &lt;abbr>WHATWG&lt;/abbr> and the

<div class="example">

<!-- this is the pinyin for the word "hanzi" ("chinese character") in simplified chinese, as used in mainland china -->
<!-- this is the pinyin for the word "hanzi" ("Chinese character") in simplified Chinese, as used in mainland China -->

<p>In this example, each ideograph in the simplified Chinese text <span data-x=""
lang="zh-CN">&#27721;&#23383;</span> is annotated with its pinyin reading.</p>
Expand Down Expand Up @@ -25646,7 +25646,7 @@ away, in a small house, on a hill, under a full moon...</pre> <!-- The End. -->

<p>In this example from 1997, a new-fangled currency symbol that looks like a curly E with two
bars in the middle instead of one is represented using an image. The alternative text gives the
character's pronunication.</p>
character's pronunciation.</p>

<pre>&lt;p>Only &lt;img src="euro.png" alt="euro ">5.99!</pre>

Expand Down Expand Up @@ -26440,7 +26440,7 @@ href="?audio">audio&lt;/a> test instead.)&lt;/p></pre>
start and end tags</a>, and the <code>title</code> element is also optional in <span data-x="an iframe
srcdoc document"><code>iframe</code> <code data-x="attr-iframe-srcdoc">srcdoc</code>
documents</span>, the markup in a <code data-x="attr-iframe-srcdoc">srcdoc</code> attribute can be
relatively succint despite representing an entire document, since only the contents of the
relatively succinct despite representing an entire document, since only the contents of the
<code>body</code> element need appear literally in the syntax. The other elements are still
present, but only by implication.</p>

Expand Down Expand Up @@ -28777,7 +28777,7 @@ interface <dfn>HTMLAudioElement</dfn> : <span>HTMLMediaElement</span> {};</pre>
<p>An <code>audio</code> element <span>represents</span> a sound or audio stream.</p>

<!-- v2 (actually v3) suggestions:
* Audio syntesis. Use cases from Charles Pritchard:
* Audio synthesis. Use cases from Charles Pritchard:
> Use a sound of varying pitch to hint to a user the location of their
> mouse (is it hovering over a button, is it x/y pixels away from the edge
> of the screen, how close is it to the center).
Expand Down Expand Up @@ -32409,7 +32409,7 @@ interface <dfn>HTMLMediaElement</dfn> : <span>HTMLElement</span> {
sliding window on an infinite stream. This is the behaviour seen with DVRs viewing live TV, for
instance.</p>

<p>User agents should adopt adopt a very liberal and optimistic view of what is seekable. User
<p>User agents should adopt a very liberal and optimistic view of what is seekable. User
agents should also buffer recent content where possible to enable seeking to be fast.</p>

<p class="example">For instance, consider a large video file served on an HTTP server without
Expand Down Expand Up @@ -33797,7 +33797,7 @@ interface <dfn>MediaController</dfn> : <span>EventTarget</span> {
Used with the <code data-x="attr-media-mediagroup">mediagroup</code> attribute, these elements can
also be kept synchronised.</p>

<p>In this example, a sign-languge interpreter track from a movie file is overlaid on the primary
<p>In this example, a sign-language interpreter track from a movie file is overlaid on the primary
video track of that same video file using two <code>video</code> elements, some CSS, and an
implicit <code>MediaController</code>:</p>

Expand Down Expand Up @@ -35568,7 +35568,7 @@ red:89
data-x="event-media-cuechange">cuechange</code> event to update the current annotations. (In
particular, using the <code data-x="event-media-timeupdate">timeupdate</code> event would be less
appropriate as it would require doing work even when the cues haven't changed, and, more
importantly, would introduce a higher latency between when the metatata cues become active and
importantly, would introduce a higher latency between when the metadata cues become active and
when the display is updated, since <code data-x="event-media-timeupdate">timeupdate</code> events
are rate-limited.)</p>

Expand Down Expand Up @@ -35664,7 +35664,7 @@ red:89
that are <span data-x="text track showing">showing</span> and whose <span>text track kind</span> is
<code data-x="dom-TextTrack-kind-chapters">chapters</code> should be used. Such tracks must be
interpreted according to the <span>rules for constructing the chapter tree from a text
track</span>. When seeking in response to a user maniplating a chapter selection interface, user
track</span>. When seeking in response to a user manipulating a chapter selection interface, user
agents should not use the <i>approximate-for-speed</i> flag.</p>

<p>The <dfn><code data-x="dom-media-controls">controls</code></dfn> IDL attribute must
Expand Down Expand Up @@ -42587,7 +42587,7 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<p>For each <code>img</code> element <var>candidate</var> whose <span>form owner</span>
is the <code>form</code> element, run these substeps:</p>

<ol><!-- this is the same as the above list, except 'name' xrefs to something differnet -->
<ol><!-- this is the same as the above list, except 'name' xrefs to something different -->

<li><p>If <var>candidate</var> has an <code data-x="attr-id">id</code> attribute, add
an entry to <var>sourced names</var> with that <code data-x="attr-id">id</code>
Expand Down Expand Up @@ -46544,7 +46544,7 @@ ldh-str = &lt; as defined in <a href="https://tools.ietf.org/html/rfc1034#
and the element's <span data-x="concept-input-max">maximum</span>, with the smaller value
first.</p></li>

<li><p>Othwerwise, let the element's <span data-x="concept-fe-values">values</span> be the two
<li><p>Otherwise, let the element's <span data-x="concept-fe-values">values</span> be the two
values, with the smaller value first.</p></li>

<li><p>Let the element's <span data-x="concept-fe-value">value</span> be the result of
Expand Down Expand Up @@ -49216,7 +49216,7 @@ You cannot submit this form when the field is incorrect.</samp></pre>
attribute's current state, to the values in <var>values</var>.</p></li>

<li><p>Set the element's <span data-x="concept-fe-value">value</span> to the concatenation of the
strings in in <span data-x="concept-fe-values">values</span>, separating each value from the next
strings in <span data-x="concept-fe-values">values</span>, separating each value from the next
by a U+002C COMMA character (,).</p></li>

</ol>
Expand Down Expand Up @@ -58839,7 +58839,7 @@ dictionary <dfn>RelatedEventInit</dfn> : <span>EventInit</span> {
not have boxes (their properties merely affect other boxes).</p>

<p class="note">If an element to which another element is anchored changes rendering, the anchored
element will be be repositioned accordingly. (In other words, the requirements above are live,
element will be repositioned accordingly. (In other words, the requirements above are live,
they are not just calculated once per anchored element.)</p>

<p class="note">The '<span data-x="css-position-absolute-anchored">absolute-anchored</span>'
Expand Down Expand Up @@ -61598,7 +61598,7 @@ interface <dfn>Path2D</dfn> {
to 1.0 (fully opaque) for all pixels, and attempts to change the alpha component of any pixel must
be silently ignored.</p>

<p class="note">Thus, such a bitmap starts off as fully-opaque black instead of fully-tranparent
<p class="note">Thus, such a bitmap starts off as fully-opaque black instead of fully-transparent
black; <code data-x="dom-context-2d-clearRect">clearRect()</code> always results in fully-opaque
black pixels, every fourth byte from <code
data-x="dom-context-2d-getImageData">getImageData()</code> is always 255, the <code
Expand Down Expand Up @@ -62388,7 +62388,7 @@ idea from Mihai:
debugging).</p></li>

<li><p>If the number of elements in <var>a</var> is odd, then let <var>a</var>
be the concatentation of two copies of <var>a</var>.</p></li>
be the concatenation of two copies of <var>a</var>.</p></li>

<li><p>Let the object's <span>dash list</span> be <var>a</var>.</p></li>

Expand Down Expand Up @@ -64769,7 +64769,7 @@ try {
<p>If a radial gradient or repeated pattern is used when the transformation matrix is singular,
the resulting style must be transparent black (otherwise the gradient or pattern would be
collapsed to a point or line, leaving the other pixels undefined). Linear gradients and solid
colours always define all points even with singular tranformation matrices.</p>
colours always define all points even with singular transformation matrices.</p>

</div>

Expand Down Expand Up @@ -66588,7 +66588,7 @@ partial dictionary <span>MouseEventInit</span> {
is given by the <span>hit region's label</span>.</p>

<p class="note">Thus, for instance, a user agent on a touch-screen device could provide haptic
feedback when the user croses over a <span>hit region's bounding circumference</span>, and then
feedback when the user crosses over a <span>hit region's bounding circumference</span>, and then
read the <span>hit region's label</span> to the user. Similarly, a desktop user agent with a
virtual accessibility focus separate from the keyboard input focus could allow the user to
navigate through the hit regions, using the virtual DOM tree described above to enable
Expand Down Expand Up @@ -68740,7 +68740,7 @@ Demos:
Allowing authors to keep track of where content originates
http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-May/019620.html

Helping people seaching for content filtered by license
Helping people searching for content filtered by license
http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-May/019668.html

Allowing authors to annotate their documents to explain things for readers
Expand Down Expand Up @@ -69270,7 +69270,7 @@ Demos:
as the <span>item types</span> should not be automatically dereferenced.</p>

<p class="note">A specification could define that its <span data-x="item types">item type</span>
can be derefenced to provide the user with help information, for example. In fact, vocabulary
can be dereferenced to provide the user with help information, for example. In fact, vocabulary
authors are encouraged to provide useful information at the given <span>URL</span>.</p>

<p><span>Item types</span> are opaque identifiers, and user agents must not dereference unknown
Expand Down Expand Up @@ -70586,7 +70586,7 @@ Demos:
data-x="concept-item">item</span> with one <code data-x="md-vcard-related-url">url</code>
property and one <code data-x="md-vcard-related-rel">rel</code> properties.</p>

<p>Any number of properties with the name <code data-x="md-vcard-related">orrelated</code> may be
<p>Any number of properties with the name <code data-x="md-vcard-related">related</code> may be
present within each <span data-x="concept-item">item</span> with the type <code
data-x="md-vcard">http://microformats.org/profile/hcard</code>.</p>

Expand Down Expand Up @@ -77146,7 +77146,7 @@ dictionary <dfn>DragEventInit</dfn> : <span>MouseEventInit</span> {
original data.</p>


<dt>Any keyword with eight characters or more, beginning with the an <span>ASCII
<dt>Any keyword with eight characters or more, beginning with an <span>ASCII
case-insensitive</span> match for the string "<code data-x="">string:</code>"</dt>

<dd><p>Indicates that items with <span>the drag data item kind</span> <i>Plain Unicode string</i>
Expand Down Expand Up @@ -84038,7 +84038,7 @@ NETWORK:
after this step will both be slashes, the URL path separator character.)</p></li>

<li><p>Apply the <span>URL parser</span> steps to the <var>base URL</var>, so that the
components from its <span>parsed URL</span> can be used by the subseqent steps of this
components from its <span>parsed URL</span> can be used by the subsequent steps of this
algorithm.</p></li>

<li><p>Let <var>explicit URLs</var> be an initially empty list of <span data-x="absolute
Expand Down Expand Up @@ -89323,7 +89323,7 @@ scheduleWork(); // queues a task to do lots of work</pre>
object</span> as the <span>source browsing context</span>.</p>

<!-- we don't call this with <span>exceptions enabled</span>, since that would risk leaving the
browser in an unusuable state (or would require that we catch and rethrow the exception, and
browser in an unusable state (or would require that we catch and rethrow the exception, and
this API is deprecated so we're not worried about keeping it sane) -->

</li>
Expand Down Expand Up @@ -90825,7 +90825,7 @@ interface <dfn>MimeType</dfn> {

<p class="warning">If the values returned by the <code
data-x="dom-MimeType-description">description</code> or <code
data-x="dom-MimeType-suffixes">suffxies</code> attributes vary between versions of a
data-x="dom-MimeType-suffixes">suffixes</code> attributes vary between versions of a
<span>plugin</span>, they can be used both as a fingerprinting vector and, even more importantly,
as a trivial way to determine what security vulnerabilities a <span>plugin</span> (and thus a
browser) may have. It is thus highly recommended that the <code
Expand Down Expand Up @@ -93480,7 +93480,7 @@ function receiver(e) {
<p>Authors who accept messages from any origin are encouraged to consider the risks of a
denial-of-service attack. An attacker could send a high volume of messages; if the receiving page
performs expensive computation or causes network traffic to be sent for each such message, the
attacker's message could be multplied into a denial-of-service attack. Authors are encouraged to
attacker's message could be multiplied into a denial-of-service attack. Authors are encouraged to
employ rate limiting (only accepting a certain number of messages per minute) to make such attacks
impractical.</p>

Expand Down Expand Up @@ -109492,7 +109492,7 @@ input[type=password i] { binding: <i>input-password</i>; }
data-x="attr-input-type-password">Password</span> state, the element is expected to render as an
'inline-block' box rendered as a text field whose contents are obscured.</p>

<p>If these text fields provide a text selection, then, when the user changes the currect
<p>If these text fields provide a text selection, then, when the user changes the current
selection in such a binding, the user agent is expected to <span>queue a task</span> to <span>fire
a simple event</span> that bubbles named <code data-x="event-select">select</code> at the element,
using the <span>user interaction task source</span> as the task source.</p>
Expand Down Expand Up @@ -109980,7 +109980,7 @@ textarea { binding: <i>textarea</i>; white-space: pre-wrap; }</pre>

<p>When the <i>textarea</i> binding applies to a <code>textarea</code> element, the
element is expected to render as an 'inline-block' box rendered as a multiline text field. If this
text field provides a selection, then, when the user changes the currect selection in such a
text field provides a selection, then, when the user changes the current selection in such a
binding, the user agent is expected to <span>queue a task</span> to <span>fire a simple
event</span> that bubbles named <code data-x="event-select">select</code> at the element, using
the <span>user interaction task source</span> as the task source.</p>
Expand Down Expand Up @@ -110140,7 +110140,7 @@ keygen { binding: <i>keygen</i>; }</pre>
surface.</p>

<p>Otherwise, it is a <code>frame</code> element; render its <span>nested browsing
context</span>, positoned and sized to fit the rectangle.</p>
context</span>, positioned and sized to fit the rectangle.</p>

</li>

Expand Down Expand Up @@ -112275,7 +112275,7 @@ if (s = prompt('What is your name?')) {
Obsoletes:
https://tools.ietf.org/html/rfc2854

Include a request to retire RFC 2854 persuant to section 6.4 of RFC 2026.
Include a request to retire RFC 2854 pursuant to section 6.4 of RFC 2026.
-->

<dl>
Expand Down Expand Up @@ -118381,6 +118381,7 @@ INSERT INTERFACES HERE
Jacques Distler,
Jake Verbaten,
Jakub &#321;opusza&#324;ski,
Jakub Wilk,
James Craig,
James Graham,
James Greene,
Expand Down

0 comments on commit 6f74880

Please sign in to comment.