Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[e] (0) Typos: round 3.
git-svn-id: http://svn.whatwg.org/webapps@2967 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Apr 19, 2009
1 parent 004f5b0 commit 2ff706d
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 61 deletions.
60 changes: 30 additions & 30 deletions index
Expand Up @@ -1985,10 +1985,10 @@
strings.</p>

<p>Comparing two strings in a <dfn id=case-sensitive>case-sensitive</dfn> manner means
comparing them exactly, codepoint for codepoint.</p>
comparing them exactly, code point for code point.</p>

<p>Comparing two strings in an <dfn id=ascii-case-insensitive>ASCII case-insensitive</dfn>
manner means comparing them exactly, codepoint for codepoint, except
manner means comparing them exactly, code point for code point, except
that the characters in the range U+0041 .. U+005A (i.e. LATIN
CAPITAL LETTER A to LATIN CAPITAL LETTER Z) and the corresponding
characters in the range U+0061 .. U+007A (i.e. LATIN SMALL LETTER A
Expand Down Expand Up @@ -2084,8 +2084,8 @@
string, the user agent must remove any U+000A LINE FEED (LF) and
U+000D CARRIAGE RETURN (CR) characters from that string.</p>

<p>The <dfn id=codepoint-length>codepoint length</dfn> of a string is the number of
Unicode codepoints in that string.</p>
<p>The <dfn id=code-point-length>code-point length</dfn> of a string is the number of
Unicode code points in that string.</p>

</div>

Expand Down Expand Up @@ -3957,7 +3957,7 @@
</ol></li>

<li><p>Replace any characters in <var title="">input</var> that
have a Unicode codepoint greater than U+FFFF (i.e. any characters
have a Unicode code point greater than U+FFFF (i.e. any characters
that are not in the basic multilingual plane) with the
two-character string "<code title="">00</code>".</li>

Expand Down Expand Up @@ -4307,7 +4307,7 @@
<p>Parse <var title="">url</var> in the manner defined by RFC
3986, with the following exceptions:</p>

<ul><li>Add all characters with codepoints less than or equal to
<ul><li>Add all characters with code points less than or equal to
U+0020 or greater than or equal to U+007F to the
&lt;unreserved&gt; production.</li>

Expand Down Expand Up @@ -6315,7 +6315,7 @@ interface <dfn id=htmloptionscollection-0>HTMLOptionsCollection</dfn> {

<p>The <dfn id=dom-tokenlist-item title=dom-tokenlist-item><code>item(<var title="">index</var>)</code></dfn> method must <a href=#split-a-string-on-spaces title="split a
string on spaces">split the underlying string on spaces</a>, sort
the resulting list of tokens by Unicode codepoint<!-- XXX that's
the resulting list of tokens by Unicode code point<!-- XXX that's
basically nonsense. What sort order do we want here? It should be
the cheapest one possible that is well-defined for all Unicode. -->,
remove exact duplicates, and then return the <var title="">index</var>th item in this list. If <var title="">index</var> is equal to or greater than the number of
Expand Down Expand Up @@ -10427,7 +10427,7 @@ people expect to have work and what is necessary.
literal string "<code title="">text/html;</code>", optionally
followed by any number of <a href=#space-character title="space character">space
characters</a>, followed by the literal string "<code title="">charset=</code>", followed by the character encoding name
of <a href=#charset>the character encoding declaration</a>.</p>
of the <a href=#character-encoding-declaration>character encoding declaration</a>.</p>

<p>If the document contains a <code><a href=#meta>meta</a></code> element in the
<a href=#attr-meta-http-equiv-content-type title=attr-meta-http-equiv-content-type>Encoding
Expand Down Expand Up @@ -15863,8 +15863,7 @@ brighter. A &lt;b&gt;rat&lt;/b&gt; scurries past the corner wall.&lt;/p&gt;</pre
<p>The requirements on handling the <code><a href=#the-bdo-element>bdo</a></code> element for the
bidi algorithm may be implemented indirectly through the style
layer. For example, an HTML+CSS user agent should implement these
requirements by implementing the CSS <code>unicode-bidi</code>
property. <a href=#refsCSS21>[CSS21]</a></p>
requirements by implementing the CSS 'unicode-bidi' property. <a href=#refsCSS21>[CSS21]</a></p>

</div>

Expand Down Expand Up @@ -31910,7 +31909,7 @@ interface <dfn id=htmlformelement>HTMLFormElement</dfn> : <a href=#htmlelement>H
flag</a></span>.</p>

<p>If the <code><a href=#the-input-element>input</a></code> element has a <a href=#maximum-allowed-value-length>maximum allowed
value length</a>, then the <a href=#codepoint-length>codepoint length</a> of the
value length</a>, then the <a href=#code-point-length>code-point length</a> of the
value of the element's <code title=attr-input-value><a href=#attr-input-value>value</a></code>
attribute must be equal to or less than the element's <a href=#maximum-allowed-value-length>maximum
allowed value length</a>.</p>
Expand Down Expand Up @@ -33456,7 +33455,7 @@ interface <dfn id=htmloptionelement>HTMLOptionElement</dfn> : <a href=#htmleleme

<p>If the <code><a href=#the-textarea-element>textarea</a></code> element has a <a href=#maximum-allowed-value-length>maximum allowed
value length</a>, then the element's children must be such that
the <a href=#codepoint-length>codepoint length</a> of the value of the element's
the <a href=#code-point-length>code-point length</a> of the value of the element's
<code><a href=#textcontent>textContent</a></code> DOM attribute is equal to or less than the
element's <a href=#maximum-allowed-value-length>maximum allowed value length</a>.</p>

Expand Down Expand Up @@ -34233,13 +34232,13 @@ interface <dfn id=htmloptionelement>HTMLOptionElement</dfn> : <a href=#htmleleme
<div class=impl>

<p><strong>Constraint validation:</strong> If an element has a
<a href=#maximum-allowed-value-length>maximum allowed value length</a>, and its <var title="">dirty value flag</var> is false, and the <a href=#codepoint-length>codepoint
<a href=#maximum-allowed-value-length>maximum allowed value length</a>, and its <var title="">dirty value flag</var> is false, and the <a href=#code-point-length>code-point
length</a> of the element's <a href=#concept-fe-value title=concept-fe-value>value</a> is greater than the element's
<a href=#maximum-allowed-value-length>maximum allowed value length</a>, then the element is
<a href=#suffering-from-being-too-long>suffering from being too long</a>.</p>

<p>User agents may prevent the user from causing the element's <a href=#concept-fe-value title=concept-fe-value>value</a> to be set to a value whose
<a href=#codepoint-length>codepoint length</a> is greater than the element's
<a href=#code-point-length>code-point length</a> is greater than the element's
<a href=#maximum-allowed-value-length>maximum allowed value length</a>.</p>

</div>
Expand Down Expand Up @@ -34734,7 +34733,7 @@ interface <dfn id=htmloptionelement>HTMLOptionElement</dfn> : <a href=#htmleleme
attribute must return the empty string if the element is not a
<a href=#candidate-for-constraint-validation>candidate for constraint validation</a> or if it is one but
it <a href=#concept-fv-valid title=concept-fv-valid>satisfies its constraints</a>;
otherwise, it must return a suitably localised message that the user
otherwise, it must return a suitably localized message that the user
agent would show the user if this were the only form with a validity
constraint problem. If the element is <a href=#suffering-from-a-custom-error>suffering from a custom
error</a>, then the <a href=#custom-validity-error-message>custom validity error message</a>
Expand Down Expand Up @@ -35381,7 +35380,7 @@ interface <dfn id=htmloptionelement>HTMLOptionElement</dfn> : <a href=#htmleleme
replace the character by a string consisting of a U+0026
AMPERSAND character (&amp;), one of more characters in the range
U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9) representing the
Unicode codepoint of the character in base ten, and finally a
Unicode code point of the character in base ten, and finally a
U+003B SEMICOLON character (;).</li>

<li>
Expand Down Expand Up @@ -43661,7 +43660,7 @@ style/default.css</pre>
that the user agent is checking for the availability of
updates.</li>

</ol><p>The remainder of the steps run asychronously.</p>
</ol><p>The remainder of the steps run asynchronously.</p>

<p>If <var title="">cache group</var> already has an
<a href=#application-cache>application cache</a> in it, then this is an <dfn id=concept-appcache-upgrade title=concept-appcache-upgrade>upgrade attempt</dfn>. Otherwise,
Expand Down Expand Up @@ -51617,9 +51616,9 @@ interface <dfn id=messageport>MessagePort</dfn> {
</ol><p>The various types of content mentioned above are described in the
next few sections.</p>

<p>In addition, there are some restrictions on how <span>character
encoding declarations</span> are to be serialized, as discussed in
the section on that topic.</p>
<p>In addition, there are some restrictions on how <a href=#character-encoding-declaration title="character encoding declaration">character encoding
declarations</a> are to be serialized, as discussed in the
section on that topic.</p>

<div class=note>

Expand Down Expand Up @@ -52684,13 +52683,13 @@ interface <dfn id=messageport>MessagePort</dfn> {
<dt>If it is in the range 0x41 (ASCII 'A') to 0x5A (ASCII
'Z')</dt>

<dd>Append the Unicode character with codepoint <span title=""><var title="">b</var>+0x20</span> to <var title="">attribute
<dd>Append the Unicode character with code point <span title=""><var title="">b</var>+0x20</span> to <var title="">attribute
name</var> (where <var title="">b</var> is the value of the
byte at <var title="">position</var>).</dd>

<dt>Anything else</dt>

<dd>Append the Unicode character with the same codepoint as the
<dd>Append the Unicode character with the same code point as the
value of the byte at <var title="">position</var>) to <var title="">attribute name</var>. (It doesn't actually matter how
bytes outside the ASCII range are handled here, since only
ASCII characters can contribute to the detection of a character
Expand Down Expand Up @@ -52739,10 +52738,10 @@ interface <dfn id=messageport>MessagePort</dfn> {
value of <var title="">attribute value</var>.</li>

<li>Otherwise, if the value of the byte at <var title="">position</var> is in the range 0x41 (ASCII 'A') to
0x5A (ASCII 'Z'), then append a Unicode character to <var title="">attribute value</var> whose codepoint is 0x20 more
0x5A (ASCII 'Z'), then append a Unicode character to <var title="">attribute value</var> whose code point is 0x20 more
than the value of the byte at <var title="">position</var>.</li>

<li>Otherwise, append a Unicode character to <var title="">attribute value</var> whose codepoint is the same as
<li>Otherwise, append a Unicode character to <var title="">attribute value</var> whose code point is the same as
the value of the byte at <var title="">position</var>.</li>

<li>Return to the second step in these substeps.</li>
Expand All @@ -52759,13 +52758,13 @@ interface <dfn id=messageport>MessagePort</dfn> {
<dt>If it is in the range 0x41 (ASCII 'A') to 0x5A (ASCII
'Z')</dt>

<dd>Append the Unicode character with codepoint <span title=""><var title="">b</var>+0x20</span> to <var title="">attribute
<dd>Append the Unicode character with code point <span title=""><var title="">b</var>+0x20</span> to <var title="">attribute
value</var> (where <var title="">b</var> is the value of the
byte at <var title="">position</var>). Advance <var title="">position</var> to the next byte.</dd>

<dt>Anything else</dt>

<dd>Append the Unicode character with the same codepoint as the
<dd>Append the Unicode character with the same code point as the
value of the byte at <var title="">position</var>) to <var title="">attribute value</var>. Advance <var title="">position</var> to the next byte.</dd>

</dl></li>
Expand All @@ -52784,13 +52783,13 @@ interface <dfn id=messageport>MessagePort</dfn> {
<dt>If it is in the range 0x41 (ASCII 'A') to 0x5A (ASCII
'Z')</dt>

<dd>Append the Unicode character with codepoint <span title=""><var title="">b</var>+0x20</span> to <var title="">attribute
<dd>Append the Unicode character with code point <span title=""><var title="">b</var>+0x20</span> to <var title="">attribute
value</var> (where <var title="">b</var> is the value of the
byte at <var title="">position</var>).</dd>

<dt>Anything else</dt>

<dd>Append the Unicode character with the same codepoint as the
<dd>Append the Unicode character with the same code point as the
value of the byte at <var title="">position</var>) to <var title="">attribute value</var>.</dd>

</dl></li>
Expand Down Expand Up @@ -58289,7 +58288,7 @@ http://lxr.mozilla.org/seamonkey/search?string=nested
all element and attribute local names that the API wouldn't support
to a set of names that <em>are</em> allowed, by replacing any
character that isn't supported with the uppercase letter U and the
six digits of the character's Unicode codepoint when expressed in
six digits of the character's Unicode code point when expressed in
hexadecimal, using digits 0-9 and capital letters A-F as the
symbols, in increasing numeric order.</p>

Expand Down Expand Up @@ -63842,6 +63841,7 @@ interface <dfn id=timeouthandler>TimeoutHandler</dfn> {
Mike Schinkel,
Mike Shaver,
Mikko Rantalainen,
Mohamed Zergaoui<!-- Innovimax SARL -->,
Neil Deakin,
Neil Rashbrook,
Neil Soiffer,
Expand Down Expand Up @@ -63914,6 +63914,7 @@ interface <dfn id=timeouthandler>TimeoutHandler</dfn> {
Thomas O'Connor,
Tim Altman,
Tim Johansson,
Todd Moody,
Tom Pike,
Tommy Thorsen,
Travis Leithead,
Expand Down Expand Up @@ -64209,7 +64210,6 @@ TODO (or delay):
2045's definition doesn't really help either, since it's part
of something else, and doesn't mention whitespace, etc.)
XXX * reference [UTC] in the various places that use it.
XXX * make codepoint vs code point consistent
XXX * dolphinling suggests having a way to mark certain parts of a
form as being dependent on another (mutually exclusive parts of
a form)
Expand Down

0 comments on commit 2ff706d

Please sign in to comment.