[html5] r4077 - [e] (0) Make spec consistent in its use of ASCII and Unicode character reference [...]
whatwg at whatwg.org
whatwg at whatwg.org
Sun Oct 4 23:41:15 PDT 2009
Author: ianh
Date: 2009-10-04 23:41:14 -0700 (Sun, 04 Oct 2009)
New Revision: 4077
Modified:
index
source
vocabs-index
Log:
[e] (0) Make spec consistent in its use of ASCII and Unicode character references and it's references to bytes sequences.
Modified: index
===================================================================
--- index 2009-10-05 03:31:43 UTC (rev 4076)
+++ index 2009-10-05 06:41:14 UTC (rev 4077)
@@ -1730,7 +1730,7 @@
<p>Attribute names are said to be <dfn id=xml-compatible>XML-compatible</dfn> if they
match the <a href=http://www.w3.org/TR/REC-xml/#NT-Name><code title="">Name</code></a> production defined in XML, they contain no
- U+003A COLON (:) characters, and their first three characters are
+ U+003A COLON characters (:), and their first three characters are
not an <a href=#ascii-case-insensitive>ASCII case-insensitive</a> match for the string
"<code title="">xml</code>". <a href=#refsXML>[XML]</a></p>
@@ -2402,9 +2402,9 @@
those that have the Unicode property "White_Space". <a href=#refsUNICODE>[UNICODE]</a></p>
<p>The <dfn id=alphanumeric-ascii-characters>alphanumeric ASCII characters</dfn> are those in the
- ranges U+0030 DIGIT ZERO .. U+0039 DIGIT NINE, U+0041 LATIN CAPITAL
- LETTER A .. U+005A LATIN CAPITAL LETTER Z, U+0061 LATIN SMALL LETTER
- A .. U+007A LATIN SMALL LETTER Z.</p>
+ ranges U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9), U+0041 LATIN
+ CAPITAL LETTER A to U+005A LATIN CAPITAL LETTER Z, U+0061 LATIN
+ SMALL LETTER A to U+007A LATIN SMALL LETTER Z.</p>
<p>Some of the micro-parsers described below follow the pattern of
having an <var title="">input</var> variable that holds the string
@@ -2538,7 +2538,7 @@
<li><p>If <var title="">position</var> is past the end of <var title="">input</var>, return an error.</li>
<li><p>If the next character is not one of U+0030 DIGIT ZERO (0)
- .. U+0039 DIGIT NINE (9), then return an error.</li>
+ to U+0039 DIGIT NINE (9), then return an error.</li>
<!-- Ok. At this point we know we have a number. It might have
trailing garbage which we'll ignore, but it's a number, and we
@@ -2547,7 +2547,7 @@
<li>
<p><i>Loop</i>: If the next character is one of U+0030 DIGIT ZERO
- (0) .. U+0039 DIGIT NINE (9):</p>
+ (0) to U+0039 DIGIT NINE (9):</p>
<ol><li>Multiply <var title="">value</var> by ten.</li>
@@ -2571,14 +2571,14 @@
<p>A string is a <dfn id=valid-integer>valid integer</dfn> if it consists of one or
more characters in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT
- NINE (9), optionally prefixed with a U+002D HYPHEN-MINUS ("-")
- character.</p>
+ NINE (9), optionally prefixed with a U+002D HYPHEN-MINUS character
+ (-).</p>
- <p>A <a href=#valid-integer>valid integer</a> without a U+002D HYPHEN-MINUS ("-")
+ <p>A <a href=#valid-integer>valid integer</a> without a U+002D HYPHEN-MINUS (-)
prefix represents the number that is represented in base ten by that
string of digits. A <a href=#valid-integer>valid integer</a> <em>with</em> a
- U+002D HYPHEN-MINUS ("-") prefix represents the number represented
- in base ten by the string of digits that follows the U+002D
+ U+002D HYPHEN-MINUS (-) prefix represents the number represented in
+ base ten by the string of digits that follows the U+002D
HYPHEN-MINUS, subtracted from zero.</p>
<div class=impl>
@@ -2610,7 +2610,7 @@
<li>
<p>If the character indicated by <var title="">position</var> (the
- first character) is a U+002D HYPHEN-MINUS ("-") character:</p>
+ first character) is a U+002D HYPHEN-MINUS character (-):</p>
<ol><li>Let <var title="">sign</var> be "negative".</li>
@@ -2627,7 +2627,7 @@
</li>
<li><p>If the next character is not one of U+0030 DIGIT ZERO (0)
- .. U+0039 DIGIT NINE (9), then return an error.</li>
+ to U+0039 DIGIT NINE (9), then return an error.</li>
<!-- Ok. At this point we know we have a number. It might have
trailing garbage which we'll ignore, but it's a number, and we
@@ -2635,7 +2635,7 @@
<li>
- <p>If the next character is one of U+0030 DIGIT ZERO (0) .. U+0039
+ <p>If the next character is one of U+0030 DIGIT ZERO (0) to U+0039
DIGIT NINE (9):</p>
<ol><li>Multiply <var title="">value</var> by ten.</li>
@@ -2662,14 +2662,14 @@
<p>A string is a <dfn id=valid-floating-point-number>valid floating point number</dfn> if it
consists of:</p>
- <ol class=brief><li>Optionally, a U+002D HYPHEN-MINUS ("-") character.</li>
+ <ol class=brief><li>Optionally, a U+002D HYPHEN-MINUS character (-).</li>
<li>A series of one or more characters in the range U+0030 DIGIT
ZERO (0) to U+0039 DIGIT NINE (9).</li>
<li>Optionally:
- <ol><li>A single U+002E FULL STOP (".") character.</li>
+ <ol><li>A single U+002E FULL STOP character (.).</li>
<li>A series of one or more characters in the range U+0030 DIGIT
ZERO (0) to U+0039 DIGIT NINE (9).</li>
@@ -2678,11 +2678,11 @@
<li>Optionally:
- <ol><li>Either a U+0065 LATIN SMALL LETTER E character or a U+0045
- LATIN CAPITAL LETTER E character.</li>
+ <ol><li>Either a U+0065 LATIN SMALL LETTER E character (e) or a
+ U+0045 LATIN CAPITAL LETTER E character (E).</li>
- <li>Optionally, a U+002D HYPHEN-MINUS ("-") character or U+002B
- PLUS SIGN ("+") character.</li>
+ <li>Optionally, a U+002D HYPHEN-MINUS character (-) or U+002B
+ PLUS SIGN character (+).</li>
<li>A series of one or more characters in the range U+0030 DIGIT
ZERO (0) to U+0039 DIGIT NINE (9).</li>
@@ -2695,11 +2695,11 @@
interpreted as base ten (including the decimal point and the number
after the decimal point, if any, and interpreting the significand as
a negative number if the whole string starts with a U+002D
- HYPHEN-MINUS ("-") character and the number is not zero), and where
+ HYPHEN-MINUS character (-) and the number is not zero), and where
the exponent is the number after the E, if any (interpreted as a
- negative number if there is a U+002D HYPHEN-MINUS ("-") character
+ negative number if there is a U+002D HYPHEN-MINUS character (-)
between the E and the number and the number is not zero, or else
- ignoring a U+002B PLUS SIGN ("+") character between the E and the
+ ignoring a U+002B PLUS SIGN character (+) between the E and the
number if there is one). If there is no E, then the exponent is
treated as zero.</p>
@@ -2738,7 +2738,7 @@
<li>
<p>If the character indicated by <var title="">position</var> is a
- U+002D HYPHEN-MINUS ("-") character:</p>
+ U+002D HYPHEN-MINUS character (-):</p>
<ol><li>Change <var title="">value</var> and <var title="">divisor</var> to −1.</li>
@@ -2750,7 +2750,7 @@
</ol></li>
<li><p>If the character indicated by <var title="">position</var>
- is not one of U+0030 DIGIT ZERO (0) .. U+0039 DIGIT NINE (9), then
+ is not one of U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9), then
return an error.</li>
<!-- Ok. At this point we know we have a number. It might have
@@ -2764,13 +2764,13 @@
<li>If <var title="">position</var> is past the end of <var title="">input</var>, return <var title="">value</var>.</li>
<li><p>If the character indicated by <var title="">position</var>
- is a U+002E FULL STOP ("."), run these substeps:</p>
+ is a U+002E FULL STOP (.), run these substeps:</p>
<ol><li><p>Advance <var title="">position</var> to the next
character.</li>
<li><p>If <var title="">position</var> is past the end of <var title="">input</var>, or if the character indicated by <var title="">position</var> is not one of U+0030 DIGIT ZERO (0)
- .. U+0039 DIGIT NINE (9), then return <var title="">value</var>.</li>
+ to U+0039 DIGIT NINE (9), then return <var title="">value</var>.</li>
<li><p><i>Fraction loop</i>: Multiply <var title="">divisor</var>
by ten.</li>
@@ -2785,15 +2785,15 @@
<li><p>If <var title="">position</var> is past the end of <var title="">input</var>, then return <var title="">value</var>.</li>
<li><p>If the character indicated by <var title="">position</var>
- is one of U+0030 DIGIT ZERO (0) .. U+0039 DIGIT NINE (9), return
+ is one of U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9), return
to the step labeled <i>fraction loop</i> in these
substeps.</li>
</ol></li>
<li><p>If the character indicated by <var title="">position</var>
- is a U+0065 LATIN SMALL LETTER E character or a U+0045 LATIN
- CAPITAL LETTER E character, run these substeps:</p>
+ is a U+0065 LATIN SMALL LETTER E character (e) or a U+0045 LATIN
+ CAPITAL LETTER E character (E), run these substeps:</p>
<ol><li><p>Advance <var title="">position</var> to the next
character.</li>
@@ -2803,7 +2803,7 @@
<li>
<p>If the character indicated by <var title="">position</var> is
- a U+002D HYPHEN-MINUS ("-") character:</p>
+ a U+002D HYPHEN-MINUS character (-):</p>
<ol><li>Change <var title="">exponent</var> to −1.</li>
@@ -2812,8 +2812,7 @@
<li><p>If <var title="">position</var> is past the end of <var title="">input</var>, then return <var title="">value</var>.</li>
- </ol><p>Otherwise, if the character indicated by <var title="">position</var> is a U+002B PLUS SIGN ("+")
- character:</p>
+ </ol><p>Otherwise, if the character indicated by <var title="">position</var> is a U+002B PLUS SIGN character (+):</p>
<ol><li>Advance <var title="">position</var> to the next
character.</li>
@@ -2823,7 +2822,7 @@
</ol></li>
<li><p>If the character indicated by <var title="">position</var>
- is not one of U+0030 DIGIT ZERO (0) .. U+0039 DIGIT NINE (9),
+ is not one of U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9),
then return <var title="">value</var>.</li>
<li><p><a href=#collect-a-sequence-of-characters>Collect a sequence of characters</a> in the range
@@ -2899,9 +2898,8 @@
to that character.</li>
<li>If the string contains any other characters in the range U+0030
- DIGIT ZERO to U+0039 DIGIT NINE, but <var title="">denominator</var> was
- given a value in the step 6, return nothing and abort these
- steps.</li>
+ DIGIT ZERO (0) to U+0039 DIGIT NINE (9), but <var title="">denominator</var> was given a value in the step 6, return
+ nothing and abort these steps.</li>
<li>Otherwise, if <var title="">denominator</var> was given a value
in step 6, return <var title="">number1</var> and <var title="">denominator</var> and abort these steps.</li>
@@ -2928,8 +2926,8 @@
steps.</li>
<li>If the string contains any other characters in the range U+0030
- DIGIT ZERO to U+0039 DIGIT NINE, return nothing and abort these
- steps.</li>
+ DIGIT ZERO (0) to U+0039 DIGIT NINE (9), return nothing and abort
+ these steps.</li>
<li>Otherwise, return <var title="">number1</var> and
<var title="">number2</var>.</li>
@@ -2941,15 +2939,15 @@
<ol><li>Starting at the given starting position, ignore all characters
in the given string until the first character that is either a
U+002E FULL STOP or one of the ten characters in the range U+0030
- DIGIT ZERO to U+0039 DIGIT NINE.</li>
+ DIGIT ZERO (0) to U+0039 DIGIT NINE (9).</li>
<li>If there are no such characters, return nothing and abort these
steps.</li>
<li>Starting with the character matched in step 1, collect all the
consecutive characters that are either a U+002E FULL STOP or one of
- the ten characters in the range U+0030 DIGIT ZERO to U+0039 DIGIT
- NINE, and assign this string of one or more characters to
+ the ten characters in the range U+0030 DIGIT ZERO (0) to U+0039
+ DIGIT NINE (9), and assign this string of one or more characters to
<var title="">string</var>.</li>
<li>If <var title="">string</var> consists of just a single U+002E
@@ -3012,7 +3010,7 @@
<li><p>If <var title="">position</var> is past the end of <var title="">input</var>, return an error.</li>
<li><p>If the next character is not one of U+0031 DIGIT ONE (1)
- .. U+0039 DIGIT NINE (9), then return an error.</li>
+ to U+0039 DIGIT NINE (9), then return an error.</li>
<!-- Ok. At this point we know we have a number. It might have
trailing garbage which we'll ignore, but it's a number, and we
@@ -3033,7 +3031,7 @@
character.</li>
<li><p>If the next character is not one of U+0030 DIGIT ZERO (0)
- .. U+0039 DIGIT NINE (9), then return <var title="">value</var>
+ to U+0039 DIGIT NINE (9), then return <var title="">value</var>
as an integer.</li>
<li><p><a href=#collect-a-sequence-of-characters>Collect a sequence of characters</a> in the range
@@ -3098,7 +3096,7 @@
<li><p>Let <var title="">started</var> be false. This variable is
set to true when the parser sees a number or a U+002D HYPHEN-MINUS
- ("-") character.</li>
+ character (-).</li>
<li><p>Let <var title="">got number</var> be false. This variable
is set to true when the parser sees a number.</li>
@@ -3133,8 +3131,8 @@
</ol></dd>
- <dt>A character in the range U+0030 DIGIT ZERO .. U+0039 DIGIT
- NINE</dt>
+ <dt>A character in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT
+ NINE (9)</dt>
<dd>
@@ -3342,7 +3340,7 @@
parsed.</li>
<li><p>If the last character in <var title="">raw input</var> is a
- U+002C COMMA character (","), then remove that character from <var title="">raw input</var>.</li>
+ U+002C COMMA character (,), then remove that character from <var title="">raw input</var>.</li>
<li><p><a href=#split-a-string-on-commas title="split a string on commas">Split the string <var title="">raw input</var> on commas</a>. Let <var title="">raw
tokens</var> be the resulting list of tokens.</li>
@@ -3411,7 +3409,7 @@
<li>
<p>If the character at <var title="">position</var> is a U+0025
- PERCENT SIGN (%) character, then set <var title="">unit</var> to
+ PERCENT SIGN character (%), then set <var title="">unit</var> to
<i>percentage</i>.</p>
<p>Otherwise, if the character at <var title="">position</var>
@@ -3443,8 +3441,8 @@
<p>The <dfn id=concept-datetime-digit title=concept-datetime-digit>digits</dfn> in the date
and time syntaxes defined in this section must be characters in the
- range U+0030 DIGIT ZERO to U+0039 DIGIT NINE, used to express
- numbers in base ten.</p>
+ range U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9), used to
+ express numbers in base ten.</p>
<div class=impl>
@@ -3754,7 +3752,7 @@
<ol><li>A <a href=#valid-date-string>valid date string</a> representing the date.</li>
- <li>A U+0054 LATIN CAPITAL LETTER T character.</li>
+ <li>A U+0054 LATIN CAPITAL LETTER T character (T).</li>
<li>A <a href=#valid-time-string>valid time string</a> representing the time.</li>
@@ -3774,8 +3772,7 @@
<li><p><a href=#parse-a-date-component>Parse a date component</a> to obtain <var title="">year</var>, <var title="">month</var>, and <var title="">day</var>. If this returns nothing, then fail.</p>
<li><p>If <var title="">position</var> is beyond the end of <var title="">input</var> or if the character at <var title="">position</var> is not a U+0054 LATIN CAPITAL LETTER T
- character then fail. Otherwise, move <var title="">position</var>
- forwards one character.</li>
+ character (T) then fail. Otherwise, move <var title="">position</var> forwards one character.</li>
<li><p><a href=#parse-a-time-component>Parse a time component</a> to obtain <var title="">hour</var>, <var title="">minute</var>, and <var title="">second</var>. If this returns nothing, then fail.</p>
@@ -3807,19 +3804,19 @@
<ol><li>A <a href=#valid-date-string>valid date string</a> representing the date</li>
- <li>A U+0054 LATIN CAPITAL LETTER T character</li>
+ <li>A U+0054 LATIN CAPITAL LETTER T character (T)</li>
<li>A <a href=#valid-time-string>valid time string</a> representing the time</li>
<li>Either:
- <ul><li>A U+005A LATIN CAPITAL LETTER Z character, allowed only if
- the time zone is UTC</li>
+ <ul><li>A U+005A LATIN CAPITAL LETTER Z character (Z), allowed only
+ if the time zone is UTC</li>
<li>Or:
<ol><li>Either a U+002B PLUS SIGN character (+) or a U+002D
- HYPHEN-MINUS (-) character, representing the sign of the
+ HYPHEN-MINUS character (-), representing the sign of the
time-zone offset</li>
<li>Two <a href=#concept-datetime-digit title=concept-datetime-digit>digits</a>,
@@ -3893,7 +3890,7 @@
<p>The <dfn id=best-representation-of-the-global-date-and-time-string>best representation of the global date and time
string</dfn> <var title="">datetime</var> is the <a href=#valid-global-date-and-time-string>valid global
date and time string</a> representing <var title="">datetime</var> with the last character of the string not
- being a U+005A LATIN CAPITAL LETTER Z character, even if the
+ being a U+005A LATIN CAPITAL LETTER Z character (Z), even if the
time zone is UTC.</p>
<p>The rules to <dfn id=parse-a-global-date-and-time-string>parse a global date and time string</dfn> are
@@ -3911,8 +3908,7 @@
<li><p><a href=#parse-a-date-component>Parse a date component</a> to obtain <var title="">year</var>, <var title="">month</var>, and <var title="">day</var>. If this returns nothing, then fail.</p>
<li><p>If <var title="">position</var> is beyond the end of <var title="">input</var> or if the character at <var title="">position</var> is not a U+0054 LATIN CAPITAL LETTER T
- character then fail. Otherwise, move <var title="">position</var>
- forwards one character.</li>
+ character (T) then fail. Otherwise, move <var title="">position</var> forwards one character.</li>
<li><p><a href=#parse-a-time-component>Parse a time component</a> to obtain <var title="">hour</var>, <var title="">minute</var>, and <var title="">second</var>. If this returns nothing, then fail.</p>
@@ -3946,7 +3942,7 @@
<ol><li>
<p>If the character at <var title="">position</var> is a U+005A
- LATIN CAPITAL LETTER Z, then:</p>
+ LATIN CAPITAL LETTER Z character (Z), then:</p>
<ol><li><p>Let <var title="">timezone<sub title="">hours</sub></var>
be 0.</li>
@@ -3957,12 +3953,12 @@
in <var title="">input</var>.</li>
</ol><p>Otherwise, if the character at <var title="">position</var> is
- either a U+002B PLUS SIGN ("+") or a U+002D HYPHEN-MINUS ("-"),
+ either a U+002B PLUS SIGN (+) or a U+002D HYPHEN-MINUS (-),
then:</p>
<ol><li><p>If the character at <var title="">position</var> is a
- U+002B PLUS SIGN ("+"), let <var title="">sign</var> be
- "positive". Otherwise, it's a U+002D HYPHEN-MINUS ("-"); let <var title="">sign</var> be "negative".</li>
+ U+002B PLUS SIGN (+), let <var title="">sign</var> be
+ "positive". Otherwise, it's a U+002D HYPHEN-MINUS (-); let <var title="">sign</var> be "negative".</li>
<li><p>Advance <var title="">position</var> to the next character
in <var title="">input</var>.</li>
@@ -4039,7 +4035,7 @@
<li>A U+002D HYPHEN-MINUS character (-)</li>
- <li>A U+0057 LATIN CAPITAL LETTER W character</li>
+ <li>A U+0057 LATIN CAPITAL LETTER W character (W)</li>
<li>Two <a href=#concept-datetime-digit title=concept-datetime-digit>digits</a>,
representing the week <var title="">week</var>, in the range
@@ -4073,8 +4069,7 @@
one character.</li>
<li><p>If <var title="">position</var> is beyond the end of <var title="">input</var> or if the character at <var title="">position</var> is not a U+0057 LATIN CAPITAL LETTER W
- character, then fail. Otherwise, move <var title="">position</var>
- forwards one character.</li>
+ character (W), then fail. Otherwise, move <var title="">position</var> forwards one character.</li>
<li><p><a href=#collect-a-sequence-of-characters>Collect a sequence of characters</a> in the range
U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9). If the collected
@@ -4155,12 +4150,13 @@
<li>
<p>If <var title="">date present</var> is true, and <var title="">position</var> is not beyond the end of <var title="">input</var>, and the character at <var title="">position</var> is a U+0054 LATIN CAPITAL LETTER T
- character, then advance <var title="">position</var> to the next
- character in <var title="">input</var>.</p>
+ character (T), then advance <var title="">position</var> to the
+ next character in <var title="">input</var>.</p>
<p>Otherwise, if <var title="">date present</var> is true, and
either <var title="">position</var> is beyond the end of <var title="">input</var> or the character at <var title="">position</var> is not a U+0054 LATIN CAPITAL LETTER T
- character, then set <var title="">time present</var> to false.</p>
+ character (T), then set <var title="">time present</var> to
+ false.</p>
<p>Otherwise, if <var title="">date present</var> is false, set
<var title="">position</var> back to the same position as <var title="">start position</var>.</p>
@@ -4216,17 +4212,17 @@
<p>A string is a <dfn id=valid-simple-color>valid simple color</dfn> if it is exactly
seven characters long, and the first character is a U+0023 NUMBER
- SIGN (#) character, and the remaining six characters are all in the
- range U+0030 DIGIT ZERO (0) .. U+0039 DIGIT NINE (9), U+0041 LATIN
- CAPITAL LETTER A .. U+0046 LATIN CAPITAL LETTER F, U+0061 LATIN
- SMALL LETTER A .. U+0066 LATIN SMALL LETTER F, with the first two
+ SIGN character (#), and the remaining six characters are all in the
+ range U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9), U+0041 LATIN
+ CAPITAL LETTER A to U+0046 LATIN CAPITAL LETTER F, U+0061 LATIN
+ SMALL LETTER A to U+0066 LATIN SMALL LETTER F, with the first two
digits representing the red component, the middle two digits
representing the green component, and the last two digits
representing the blue component, in hexadecimal.</p>
<p>A string is a <dfn id=valid-lowercase-simple-color>valid lowercase simple color</dfn> if it is a
<a href=#valid-simple-color>valid simple color</a> and doesn't use any characters in
- the range U+0041 LATIN CAPITAL LETTER A .. U+0046 LATIN CAPITAL
+ the range U+0041 LATIN CAPITAL LETTER A to U+0046 LATIN CAPITAL
LETTER F.</p>
<div class=impl>
@@ -4244,12 +4240,12 @@
long, then return an error.</li>
<li><p>If the first character in <var title="">input</var> is not a
- U+0023 NUMBER SIGN (#) character, then return an error.</li>
+ U+0023 NUMBER SIGN character (#), then return an error.</li>
<li><p>If the last six characters of <var title="">input</var> are
- not all in the range U+0030 DIGIT ZERO (0) .. U+0039 DIGIT NINE
- (9), U+0041 LATIN CAPITAL LETTER A .. U+0046 LATIN CAPITAL LETTER
- F, U+0061 LATIN SMALL LETTER A .. U+0066 LATIN SMALL LETTER F, then
+ not all in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE
+ (9), U+0041 LATIN CAPITAL LETTER A to U+0046 LATIN CAPITAL LETTER
+ F, U+0061 LATIN SMALL LETTER A to U+0066 LATIN SMALL LETTER F, then
return an error.</li>
<li><p>Let <var title="">result</var> be a <a href=#simple-color>simple
@@ -4271,12 +4267,12 @@
algorithm:</p>
<ol><li><p>Let <var title="">result</var> be a string consisting of a
- single U+0023 NUMBER SIGN (#) character.</li>
+ single U+0023 NUMBER SIGN character (#).</li>
<li><p>Convert the red, green, and blue components in turn to
two-digit hexadecimal numbers using the digits U+0030 DIGIT ZERO
- (0) .. U+0039 DIGIT NINE (9) and U+0061 LATIN SMALL LETTER A
- .. U+0066 LATIN SMALL LETTER F, zero-padding if necessary, and
+ (0) to U+0039 DIGIT NINE (9) and U+0061 LATIN SMALL LETTER A
+ to U+0066 LATIN SMALL LETTER F, zero-padding if necessary, and
append these numbers to <var title="">result</var>, in the order
red, green, blue.</p>
@@ -4310,9 +4306,9 @@
<p>If <var title="">input</var> is four characters long, and the
first character in <var title="">input</var> is a U+0023 NUMBER
- SIGN (#) character, and the last three characters of <var title="">input</var> are all in the range U+0030 DIGIT ZERO (0)
- .. U+0039 DIGIT NINE (9), U+0041 LATIN CAPITAL LETTER A .. U+0046
- LATIN CAPITAL LETTER F, and U+0061 LATIN SMALL LETTER A .. U+0066
+ SIGN character (#), and the last three characters of <var title="">input</var> are all in the range U+0030 DIGIT ZERO (0)
+ to U+0039 DIGIT NINE (9), U+0041 LATIN CAPITAL LETTER A to U+0046
+ LATIN CAPITAL LETTER F, and U+0061 LATIN SMALL LETTER A to U+0066
LATIN SMALL LETTER F, then run these substeps:</p>
<ol><li><p>Let <var title="">result</var> be a <a href=#simple-color>simple
@@ -4347,9 +4343,9 @@
U+0023 NUMBER SIGN character (#), remove it.</li>
<li><p>Replace any character in <var title="">input</var> that is
- not in the range U+0030 DIGIT ZERO (0) .. U+0039 DIGIT NINE (9),
- U+0041 LATIN CAPITAL LETTER A .. U+0046 LATIN CAPITAL LETTER F, and
- U+0061 LATIN SMALL LETTER A .. U+0066 LATIN SMALL LETTER F with the
+ not in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9),
+ U+0041 LATIN CAPITAL LETTER A to U+0046 LATIN CAPITAL LETTER F, and
+ U+0061 LATIN SMALL LETTER A to U+0066 LATIN SMALL LETTER F with the
character U+0030 DIGIT ZERO (0).</li>
<li><p>While <var title="">input</var>'s length is zero or not a
@@ -4519,10 +4515,10 @@
<p>A <dfn id=set-of-comma-separated-tokens>set of comma-separated tokens</dfn> is a set of zero or
more tokens each separated from the next by a single U+002C COMMA
- character (<code title="">,</code>), where tokens consist of any
+ character (,), where tokens consist of any
string of zero or more characters, neither beginning nor ending with
<a href=#space-character title="space character">space characters</a>, nor
- containing any U+002C COMMA characters (<code title="">,</code>),
+ containing any U+002C COMMA characters (,),
and optionally surrounded by <a href=#space-character title="space character">space
characters</a>.</p>
@@ -4556,15 +4552,15 @@
end of <var title="">input</var>, jump to the last step.</li>
<li><p><a href=#collect-a-sequence-of-characters>Collect a sequence of characters</a> that are not
- U+002C COMMA characters (<code title="">,</code>). Let <var title="">s</var> be the resulting sequence (which might be the
+ U+002C COMMA characters (,). Let <var title="">s</var> be the resulting sequence (which might be the
empty string).</li>
<li><p>Remove any leading or trailing sequence of <a href=#space-character title="space character">space characters</a> from <var title="">s</var>.</li>
<li><p>Add <var title="">s</var> to <var title="">tokens</var>.</li>
- <li><p>If <var title="">position</var> is not past the end of <var title="">input</var>, then the character at <var title="">position</var> is a U+002C COMMA character (<code title="">,</code>); advance <var title="">position</var> past that
- character.</li>
+ <li><p>If <var title="">position</var> is not past the end of <var title="">input</var>, then the character at <var title="">position</var> is a U+002C COMMA character (,); advance
+ <var title="">position</var> past that character.</li>
<li><p>Jump back to the step labeled <i>token</i>.</li>
@@ -4626,9 +4622,9 @@
<h4 id=syntax-references><span class=secno>2.4.10 </span>References</h4>
<p>A <dfn id=valid-hash-name-reference>valid hash-name reference</dfn> to an element of type <var title="">type</var> is a string consisting of a U+0023 NUMBER SIGN
- (<code title="">#</code>) character followed by a string which
- exactly matches the value of the <code title="">name</code>
- attribute of an element in the document with type <var title="">type</var>.</p>
+ character (#) followed by a string which exactly matches the value
+ of the <code title="">name</code> attribute of an element in the
+ document with type <var title="">type</var>.</p>
<div class=impl>
@@ -4923,8 +4919,8 @@
<td><a href=#url-scheme title=url-scheme><scheme></a>
<td>—
<td>—
- <td>U+003A COLON ("<code title="">:</code>")
- <td>Remove all trailing U+003A COLON ("<code title="">:</code>") characters
+ <td>U+003A COLON (:)
+ <td>Remove all trailing U+003A COLON characters (:)
<td>The new value is not the empty string
<tr><td><dfn id=dom-uda-host title=dom-uda-host><code>host</code></dfn>
<td><a href=#url-hostport title=url-hostport><hostport></a>
@@ -4938,36 +4934,36 @@
<td><a href=#concept-uda-input title=concept-uda-input>input</a> is hierarchical and uses a server-based naming authority
<td>—
<td>—
- <td>Remove all leading U+002F SOLIDUS ("<code title="">/</code>") characters
+ <td>Remove all leading U+002F SOLIDUS characters (/)
<td>The new value is not the empty string and <a href=#concept-uda-input title=concept-uda-input>input</a> is hierarchical and uses a server-based naming authority
<tr><td><dfn id=dom-uda-port title=dom-uda-port><code>port</code></dfn>
<td><a href=#url-port title=url-port><port></a>
<td><a href=#concept-uda-input title=concept-uda-input>input</a> is hierarchical, uses a server-based naming authority, and contained a <a href=#url-port title=url-port><port></a> component (possibly an empty one)
<td>—
<td>—
- <td>Remove any characters in the new value that are not in the range U+0030 DIGIT ZERO .. U+0039 DIGIT NINE.
- If the resulting string is empty, set it to a single U+0030 DIGIT ZERO character ('0').
+ <td>Remove any characters in the new value that are not in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9).
+ If the resulting string is empty, set it to a single U+0030 DIGIT ZERO character (0).
<td><a href=#concept-uda-input title=concept-uda-input>input</a> is hierarchical and uses a server-based naming authority
<tr><td><dfn id=dom-uda-pathname title=dom-uda-pathname><code>pathname</code></dfn>
<td><a href=#url-path title=url-path><path></a>
<td><a href=#concept-uda-input title=concept-uda-input>input</a> is hierarchical
<td>—
<td>—
- <td>If it has no leading U+002F SOLIDUS ("<code title="">/</code>") character, prepend a U+002F SOLIDUS ("<code title="">/</code>") character to the new value
+ <td>If it has no leading U+002F SOLIDUS character (/), prepend a U+002F SOLIDUS character (/) to the new value
<td>—
<tr><td><dfn id=dom-uda-search title=dom-uda-search><code>search</code></dfn>
<td><a href=#url-query title=url-query><query></a>
<td><a href=#concept-uda-input title=concept-uda-input>input</a> is hierarchical, and contained a <a href=#url-query title=url-query><query></a> component (possibly an empty one)
- <td>U+003F QUESTION MARK ("<code title="">?</code>")
+ <td>U+003F QUESTION MARK (?)
<td>—
- <td>Remove one leading U+003F QUESTION MARK ("<code title="">?</code>") character, if any
+ <td>Remove one leading U+003F QUESTION MARK character (?), if any
<td>—
<tr><td><dfn id=dom-uda-hash title=dom-uda-hash><code>hash</code></dfn>
<td><a href=#url-fragment title=url-fragment><fragment></a>
<td><a href=#concept-uda-input title=concept-uda-input>input</a> contained a <a href=#url-fragment title=url-fragment><fragment></a> component (possibly an empty one)
- <td>U+0023 NUMBER SIGN ("<code title="">#</code>")
+ <td>U+0023 NUMBER SIGN (#)
<td>—
- <td>Remove one leading U+0023 NUMBER SIGN ("<code title="">#</code>") character, if any
+ <td>Remove one leading U+0023 NUMBER SIGN character (#), if any
<td>—
</table><!--
http://www.hixie.ch/tests/adhoc/dom/level0/location/components/
@@ -6859,11 +6855,11 @@
<ol><li> The month component of the date. </li>
- <li> A U+002F SOLIDUS character ('/'). </li>
+ <li> A U+002F SOLIDUS character (/). </li>
<li> The day component of the date. </li>
- <li> A U+002F SOLIDUS character ('/'). </li>
+ <li> A U+002F SOLIDUS character (/). </li>
<li> The year component of the date. </li>
@@ -6871,20 +6867,20 @@
<li> The hours component of the time. </li>
- <li> A U+003A COLON character (':'). </li>
+ <li> A U+003A COLON character (:). </li>
<li> The minutes component of the time. </li>
- <li> A U+003A COLON character (':'). </li>
+ <li> A U+003A COLON character (:). </li>
<li> The seconds component of the time. </li>
</ol><p>All the numeric components above, other than the year, must be
- given as two digits in the range U+0030 DIGIT ZERO to U+0039 DIGIT
- NINE representing the number in base ten, zero-padded if
+ given as two digits in the range U+0030 DIGIT ZERO (0) to U+0039
+ DIGIT NINE (9) representing the number in base ten, zero-padded if
necessary. The year must be given as four or more digits in the
- range U+0030 DIGIT ZERO to U+0039 DIGIT NINE representing the number
- in base ten, zero-padded if necessary.</p>
+ range U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9) representing
+ the number in base ten, zero-padded if necessary.</p>
<p>The <code>Document</code>'s source file's last modification date
and time must be derived from relevant features of the networking
@@ -8105,7 +8101,7 @@
namespace whose name starts with the string "<dfn id=attr-data-* title=attr-data-*><code>data-</code></dfn>", has at least one
character after the hyphen, is <a href=#xml-compatible>XML-compatible</a>, and
contains no characters in the range U+0041 .. U+005A (LATIN CAPITAL
- LETTER A .. LATIN CAPITAL LETTER Z).</p>
+ LETTER A to LATIN CAPITAL LETTER Z).</p>
<p class=note>All attributes in <a href=#html-documents>HTML documents</a> get
lowercased automatically, so the restriction on uppercase letters
@@ -9601,7 +9597,7 @@
<!-- text/plain handling -->
<p>If the <var title="">type</var> string contains a U+003B
- SEMICOLON (;) character, remove the first such character and all
+ SEMICOLON character (;), remove the first such character and all
characters from it up to the end of the string.</p>
<p>Strip all leading and trailing <a href=#space-character title="space
@@ -11203,7 +11199,7 @@
<li><p><a href=#collect-a-sequence-of-characters title="collect a sequence of characters">Collect a
sequence of characters</a> that are neither <a href=#space-character title="space
character">space characters</a> nor a U+002C COMMA character
- (",").</li>
+ (,).</li>
<li><p>Let the <a href=#document-wide-default-language>document-wide default language</a> be the
string that resulted from the previous step.</li>
@@ -11302,16 +11298,17 @@
<li><p><a href=#skip-whitespace>Skip whitespace</a>.</li>
<li><p><a href=#collect-a-sequence-of-characters title="collect a sequence of characters">Collect a
- sequence of characters</a> in the range U+0030 DIGIT ZERO to
- U+0039 DIGIT NINE, and parse the resulting string using the
- <a href=#rules-for-parsing-non-negative-integers>rules for parsing non-negative integers</a>. If the
+ sequence of characters</a> in the range U+0030 DIGIT ZERO (0)
+ to U+0039 DIGIT NINE (9), and parse the resulting string using
+ the <a href=#rules-for-parsing-non-negative-integers>rules for parsing non-negative integers</a>. If the
sequence of characters collected is the empty string, then no
number will have been parsed; abort these steps. Otherwise, let
<var title="">time</var> be the parsed number.</li>
<li><p><a href=#collect-a-sequence-of-characters title="collect a sequence of characters">Collect a
- sequence of characters</a> in the range U+0030 DIGIT ZERO to
- U+0039 DIGIT NINE and U+002E FULL STOP ("<code title="">.</code>"). Ignore any collected characters.</li>
+ sequence of characters</a> in the range U+0030 DIGIT ZERO (0) to
+ U+0039 DIGIT NINE (9) and U+002E FULL STOP (.). Ignore any collected
+ characters.</li>
<li><p><a href=#skip-whitespace>Skip whitespace</a>.</li>
@@ -11325,19 +11322,22 @@
<li><p><a href=#skip-whitespace>Skip whitespace</a>.</li>
<li><p>If the character in <var title="">input</var> pointed to
- by <var title="">position</var> is one of U+0055 LATIN CAPITAL
- LETTER U or U+0075 LATIN SMALL LETTER U, then advance <var title="">position</var> to the next character. Otherwise, jump to
- the last step.</li>
+ by <var title="">position</var> is a U+0055 LATIN CAPITAL LETTER
+ U character (U) or a U+0075 LATIN SMALL LETTER U character (u),
+ then advance <var title="">position</var> to the next
+ character. Otherwise, jump to the last step.</li>
<li><p>If the character in <var title="">input</var> pointed to
- by <var title="">position</var> is one of U+0052 LATIN CAPITAL
- LETTER R or U+0072 LATIN SMALL LETTER R, then advance <var title="">position</var> to the next character. Otherwise, jump to
- the last step.</li>
+ by <var title="">position</var> is a U+0052 LATIN CAPITAL LETTER
+ R character (R) or a U+0072 LATIN SMALL LETTER R character (r),
+ then advance <var title="">position</var> to the next
+ character. Otherwise, jump to the last step.</li>
<li><p>If the character in <var title="">input</var> pointed to
- by <var title="">position</var> is one of U+004C LATIN CAPITAL
- LETTER L or U+006C LATIN SMALL LETTER L, then advance <var title="">position</var> to the next character. Otherwise, jump to
- the last step.</li>
+ by <var title="">position</var> is s U+004C LATIN CAPITAL LETTER
+ L character (L) or a U+006C LATIN SMALL LETTER L character (l),
+ then advance <var title="">position</var> to the next
+ character. Otherwise, jump to the last step.</li>
<li><p><a href=#skip-whitespace>Skip whitespace</a>.</li>
@@ -11407,12 +11407,13 @@
<ul><li> just a <a href=#valid-non-negative-integer>valid non-negative integer</a>, or</li>
<li> a <a href=#valid-non-negative-integer>valid non-negative integer</a>, followed by a
- U+003B SEMICOLON (<code title="">;</code>), followed by one or
- more <a href=#space-character title="space character">space characters</a>,
- followed by either a U+0055 LATIN CAPITAL LETTER U or a U+0075
- LATIN SMALL LETTER U, a U+0052 LATIN CAPITAL LETTER R or a U+0072
- LATIN SMALL LETTER R, a U+004C LATIN CAPITAL LETTER L or a U+006C
- LATIN SMALL LETTER L, a U+003D EQUALS SIGN (<code title="">=</code>), and then a <a href=#valid-url>valid URL</a>.</li>
+ U+003B SEMICOLON character (;), followed by one or more <a href=#space-character title="space character">space characters</a>, followed by
+ either a U+0055 LATIN CAPITAL LETTER U character (U) or a U+0075
+ LATIN SMALL LETTER U character (u), a U+0052 LATIN CAPITAL LETTER
+ R character (R) or a U+0072 LATIN SMALL LETTER R character (r), a
+ U+004C LATIN CAPITAL LETTER L character (L) or a U+006C LATIN
+ SMALL LETTER L character (l), a U+003D EQUALS SIGN character (=),
+ and then a <a href=#valid-url>valid URL</a>.</li>
</ul><p>In the former case, the integer represents a number of seconds
before the page is to be reloaded; in the latter case the integer
@@ -15428,10 +15429,11 @@
<li>Let the <dfn id=hyperlink-suffix><var>hyperlink suffix</var></dfn> be a U+003F
QUESTION MARK character, the value of <var title="">x</var>
- expressed as a base-ten integer using ASCII digits (U+0030 DIGIT
- ZERO to U+0039 DIGIT NINE), a U+002C COMMA character, and the
- value of <var title="">y</var> expressed as a base-ten integer
- using ASCII digits.</li>
+ expressed as a base-ten integer using ASCII digits, a U+002C
+ COMMA character (,), and the value of <var title="">y</var>
+ expressed as a base-ten integer using ASCII digits. ASCII digits
+ are the characters in the range U+0030 DIGIT ZERO (0) to U+0039
+ DIGIT NINE (9).</li>
</ol></li>
@@ -20442,7 +20444,7 @@
<p>Any (namespace-less) attribute may be specified on the
<code><a href=#the-embed-element>embed</a></code> element, so long as its name is
<a href=#xml-compatible>XML-compatible</a> and contains no characters in the range
- U+0041 .. U+005A (LATIN CAPITAL LETTER A LATIN CAPITAL LETTER
+ U+0041 .. U+005A (LATIN CAPITAL LETTER A to LATIN CAPITAL LETTER
Z). These attributes are then passed as parameters to the
<a href=#plugin>plugin</a>.</p>
@@ -38808,17 +38810,17 @@
<ol><li><p>If the <var title="">field</var> element has an <code title=attr-fe-name><a href=#attr-fe-name>name</a></code> attribute specified and value
is not the empty string, let <var title="">name</var> be that
- value followed by a single U+002E FULL STOP (.)
- character. Otherwise, let <var title="">name</var> be the empty
+ value followed by a single U+002E FULL STOP character
+ (.). Otherwise, let <var title="">name</var> be the empty
string.</li>
<li><p>Let <var title="">name<sub title="">x</sub></var> be the
string consisting of the concatenation of <var title="">name</var> and a single U+0078 LATIN SMALL LETTER X
- (x) character.</li>
+ character (x).</li>
<li><p>Let <var title="">name<sub title="">y</sub></var> be the
string consisting of the concatenation of <var title="">name</var> and a single U+0079 LATIN SMALL LETTER Y
- (y) character.</li>
+ character (y).</li>
<li><p>The <var title="">field</var> element is <var title="">submitter</var>, and before this algorithm was invoked
the user <a href=#concept-input-type-image-coordinate title=concept-input-type-image-coordinate>indicated a
@@ -38997,7 +38999,7 @@
that is equal to the <var title="">action</var> except that its
<a href=#url-query title=url-query><query></a> component is
replaced by <var title="">query</var> (adding a U+003F QUESTION
- MARK (?) character if appropriate).</p>
+ MARK character (?) if appropriate).</p>
<p>Let <var title="">target browsing context</var> be <a href=#the-form-submission-target-browsing-context>the
form submission target browsing context</a>.</p>
@@ -44476,8 +44478,8 @@
item, or</li>
<li>If the item is not a <a href=#typed-item>typed item</a>: a string that
- contains no U+002E FULL STOP (.) characters and no U+003A COLON (:)
- characters.</li>
+ contains no U+002E FULL STOP characters (.) and no U+003A COLON
+ characters (:).</li>
</ul><p>When an element with an <code title=concept-itemprop>itemprop</code> attribute <a href=#the-properties-of-an-item title="the
properties of an item">adds a property</a> to multiple <a href=#concept-item title=concept-item>items</a>, the requirement above regarding
@@ -46972,12 +46974,12 @@
<li><p>Apply the IDNA ToUnicode algorithm to each component of the
host part of the <a href=#origin>origin</a> tuple, and append the results
— each component, in the same order, separated by U+002E FULL
- STOP characters (".") — to <var title="">result</var>. <a href=#refsRFC3490>[RFC3490]</a></li>
+ STOP characters (.) — to <var title="">result</var>. <a href=#refsRFC3490>[RFC3490]</a></li>
<li><p>If the port part of the <a href=#origin>origin</a> tuple gives a port
that is different from the default port for the protocol given by
the scheme part of the <a href=#origin>origin</a> tuple, then append a
- U+003A COLON character (":") and the given port, in base ten, to
+ U+003A COLON character (:) and the given port, in base ten, to
<var title="">result</var>.</li>
<li><p>Return <var title="">result</var>.</li>
@@ -47009,7 +47011,7 @@
<li><p>If the port part of the <a href=#origin>origin</a> tuple gives a port
that is different from the default port for the protocol given by
the scheme part of the <a href=#origin>origin</a> tuple, then append a
- U+003A COLON character (":") and the given port, in base ten, to
+ U+003A COLON character (:) and the given port, in base ten, to
<var title="">result</var>.</li>
<li><p>Return <var title="">result</var>.</li>
@@ -47115,7 +47117,7 @@
<li>
<p>If <var title="">new value</var>, prefixed by a U+002E FULL
- STOP ("."), does not exactly match the end of the current value,
+ STOP (.), does not exactly match the end of the current value,
throw a <code><a href=#security_err>SECURITY_ERR</a></code> exception and abort these
steps.</p>
@@ -47125,7 +47127,7 @@
<p>If <var title="">new value</var> matches a suffix in the
Public Suffix List, or, if <var title="">new value</var>,
- prefixed by a U+002E FULL STOP ("."), matches the end of a
+ prefixed by a U+002E FULL STOP (.), matches the end of a
suffix in the Public Suffix List, then throw a
<code><a href=#security_err>SECURITY_ERR</a></code> exception and abort these steps. <a href=#refsPSL>[PSL]</a></p>
@@ -49880,7 +49882,7 @@
<dd>
<p>Comment lines must consist of zero or more U+0020 SPACE and
U+0009 CHARACTER TABULATION (tab) characters, followed by a single
- U+0023 NUMBER SIGN (#) character, followed by zero or more
+ U+0023 NUMBER SIGN character (#), followed by zero or more
characters other than U+000A LINE FEED (LF) and U+000D CARRIAGE
RETURN (CR) characters.</p>
@@ -49904,7 +49906,7 @@
</dl><p>Section header lines must consist of zero or more U+0020 SPACE
and U+0009 CHARACTER TABULATION (tab) characters, followed by one
- of the names above (including the U+003A COLON (:) character)
+ of the names above (including the U+003A COLON character (:))
followed by zero or more U+0020 SPACE and U+0009 CHARACTER
TABULATION (tab) characters.</p>
@@ -49970,7 +49972,7 @@
sections</a>. (This is needed for any URL that the page is
intending to use to communicate back to the server.) To specify that
all URLs are automatically whitelisted in this way, a U+002A
- ASTERISK character (*) character may be specified as one of the
+ ASTERISK character character (*) may be specified as one of the
URLs. <!-- concept-appcache-onlinewhitelist-wildcard --></p>
<p>Relative URLs must be given relative to the manifest's own
@@ -50071,19 +50073,19 @@
back to the step labeled "start of line".</li>
<li><p>If the first character in <var title="">line</var> is a
- U+0023 NUMBER SIGN (#) character, then jump back to the step
+ U+0023 NUMBER SIGN character (#), then jump back to the step
labeled "start of line".</li>
<li><p>If <var title="">line</var> equals "CACHE:" (the word
- "CACHE" followed by a U+003A COLON (:) character), then set <var title="">mode</var> to "explicit" and jump back to the step
+ "CACHE" followed by a U+003A COLON character (:)), then set <var title="">mode</var> to "explicit" and jump back to the step
labeled "start of line".</li>
<li><p>If <var title="">line</var> equals "FALLBACK:" (the word
- "FALLBACK" followed by a U+003A COLON (:) character), then set <var title="">mode</var> to "fallback" and jump back to the step
+ "FALLBACK" followed by a U+003A COLON character (:)), then set <var title="">mode</var> to "fallback" and jump back to the step
labeled "start of line".</li>
<li><p>If <var title="">line</var> equals "NETWORK:" (the word
- "NETWORK" followed by a U+003A COLON (:) character), then set <var title="">mode</var> to "online whitelist" and jump back to the step
+ "NETWORK" followed by a U+003A COLON character (:)), then set <var title="">mode</var> to "online whitelist" and jump back to the step
labeled "start of line".</li>
<li><p>If <var title="">line</var> ends with a U+003A COLON (:)
@@ -53785,7 +53787,7 @@
two <a href=#valid-non-negative-integer title="valid non-negative integer">valid non-negative
integers</a> that do not have a leading U+0030 DIGIT ZERO (0)
character and that are separated by a single U+0078 LATIN SMALL
- LETTER X character.</p>
+ LETTER X character (x).</p>
<p>The keywords represent icon sizes.</p>
@@ -53808,7 +53810,7 @@
what they represent:</p>
<ul><li><p>If the keyword doesn't contain exactly one U+0078 LATIN
- SMALL LETTER X character, then this keyword doesn't represent
+ SMALL LETTER X character (x), then this keyword doesn't represent
anything. Abort these steps for that keyword.</li>
<li><p>Let <var title="">width string</var> be the string before
@@ -57889,8 +57891,8 @@
<ol><li><p>If the <var title="">value</var> argument wasn't
specified, abort these steps without doing anything.</li>
<li><p>If the <var title="">value</var> argument has a leading
- U+003C LESS-THAN SIGN character ('<') and a trailing U+003E
- GREATER-THAN SIGN character ('>'), then remove the first and last
+ U+003C LESS-THAN SIGN character (<) and a trailing U+003E
+ GREATER-THAN SIGN character (>), then remove the first and last
characters from <var title="">value</var>.</li>
<li>
<p>If <var title="">value</var> is (now) an <a href=#ascii-case-insensitive>ASCII
@@ -58373,7 +58375,7 @@
information sent using the <code title=dom-window-postMessage-2><a href=#dom-window-postmessage-2>postMessage()</a></code> method could
result in the attack being propagated into the receiver.</p>
- <p>Authors should not use the wildcard keyword ("*") in the <var title="">targetOrigin</var> argument in messages that contain any
+ <p>Authors should not use the wildcard keyword (*) in the <var title="">targetOrigin</var> argument in messages that contain any
confidential information, as otherwise there is no way to guarantee
that the message is only delivered to the recipient to which it was
intended.</p>
@@ -58425,7 +58427,7 @@
<ol><li>
<p>If the value of the <var title="">targetOrigin</var> argument
- is not a single U+002A ASTERISK character ("*"), and <a href=#resolve-a-url title="resolve a url">resolving</a> it relative to the
+ is not a single U+002A ASTERISK character (*), and <a href=#resolve-a-url title="resolve a url">resolving</a> it relative to the
<a href=#first-script>first script</a>'s <a href="#script's-base-url" title="script's base URL">base
URL</a> either fails or results in a <a href=#url>URL</a> with a
<code title=url-host-specific><a href=#url-host-specific><host-specific></a></code>
@@ -58453,7 +58455,7 @@
<li>
<p>If the <var title="">targetOrigin</var> argument has a value
- other than a single literal U+002A ASTERISK character ("*"), and
+ other than a single literal U+002A ASTERISK character (*), and
the <code>Document</code> of the <code><a href=#window>Window</a></code> object on
which the method was invoked does not have the <a href=#same-origin>same
origin</a> as <var title="">targetOrigin</var>, then abort
@@ -58499,7 +58501,7 @@
<ol><!-- EXCEPT WHERE NOTED, THESE STEPS ARE IDENTICAL TO THE PREVIOUS SECTION --><!-- one exception is the use of -3 instead of -2 in the xrefs --><li>
<p>If the value of the <var title="">targetOrigin</var> argument
- is not a single U+002A ASTERISK character ("*"), and <a href=#resolve-a-url title="resolve a url">resolving</a> it relative to the
+ is not a single U+002A ASTERISK character (*), and <a href=#resolve-a-url title="resolve a url">resolving</a> it relative to the
<a href=#first-script>first script</a>'s <a href="#script's-base-url" title="script's base URL">base
URL</a> either fails or results in a <a href=#url>URL</a> with a
<code title=url-host-specific><a href=#url-host-specific><host-specific></a></code>
@@ -58560,7 +58562,7 @@
<li>
<p>If the <var title="">targetOrigin</var> argument has a value
- other than a single literal U+002A ASTERISK character ("*"), and
+ other than a single literal U+002A ASTERISK character (*), and
the <code>Document</code> of the <code><a href=#window>Window</a></code> object on
which the method was invoked does not have the <a href=#same-origin>same
origin</a> as <var title="">targetOrigin</var>, then abort
@@ -59248,10 +59250,10 @@
<p>Tags contain a <dfn id=syntax-tag-name title=syntax-tag-name>tag name</dfn>,
giving the element's name. HTML elements all have names that only
- use characters in the range U+0030 DIGIT ZERO .. U+0039 DIGIT NINE,
- U+0061 LATIN SMALL LETTER A .. U+007A LATIN SMALL LETTER Z, and
- U+0041 LATIN CAPITAL LETTER A .. U+005A LATIN CAPITAL LETTER Z. In
- the HTML syntax, tag names, even those for <a href=#foreign-elements>foreign
+ use characters in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT
+ NINE (9), U+0061 LATIN SMALL LETTER A to U+007A LATIN SMALL LETTER
+ Z, and U+0041 LATIN CAPITAL LETTER A to U+005A LATIN CAPITAL LETTER
+ Z. In the HTML syntax, tag names, even those for <a href=#foreign-elements>foreign
elements</a>, may be written with any mix of lower- and uppercase
letters that, when converted to all-lowercase, matches the element's
tag name; tag names are case-insensitive.</p>
@@ -59412,7 +59414,7 @@
<p>If an attribute using the unquoted attribute syntax is to be
followed by another attribute or by the optional U+002F SOLIDUS
- (<code>/</code>) character allowed in step 6 of the <a href=#syntax-start-tag title=syntax-start-tag>start tag</a> syntax above, then there
+ character (/) allowed in step 6 of the <a href=#syntax-start-tag title=syntax-start-tag>start tag</a> syntax above, then there
must be a <a href=#space-character>space character</a> separating the two.</p>
</dd>
@@ -59790,31 +59792,32 @@
<dd>The ampersand must be followed by one of the names given in the
<a href=#named-character-references>named character references</a> section, using the same
case. The name must be one that is terminated by a U+003B SEMICOLON
- (<code title="">;</code>) character.</dd>
+ character (;).</dd>
<dt>Decimal numeric character reference</dt>
<dd>The ampersand must be followed by a U+0023 NUMBER SIGN
(<code>#</code>) character, followed by one or more digits in the
- range U+0030 DIGIT ZERO .. U+0039 DIGIT NINE, representing a
- base-ten integer that corresponds to a Unicode code point that is
+ range U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9), representing
+ a base-ten integer that corresponds to a Unicode code point that is
allowed according to the definition below. The digits must then be
- followed by a U+003B SEMICOLON character (<code title="">;</code>).</dd>
+ followed by a U+003B SEMICOLON character (;).</dd>
<dt>Hexadecimal numeric character reference</dt>
<dd>The ampersand must be followed by a U+0023 NUMBER SIGN
(<code>#</code>) character, which must be followed by either a
- U+0078 LATIN SMALL LETTER X or a U+0058 LATIN CAPITAL LETTER X
- character, which must then be followed by one or more digits in the
- range U+0030 DIGIT ZERO .. U+0039 DIGIT NINE, U+0061 LATIN SMALL
- LETTER A .. U+0066 LATIN SMALL LETTER F, and U+0041 LATIN CAPITAL
- LETTER A .. U+0046 LATIN CAPITAL LETTER F, representing a
- base-sixteen integer that corresponds to a Unicode code point that
- is allowed according to the definition below. The digits must then
- be followed by a U+003B SEMICOLON character (<code title="">;</code>).</dd>
+ U+0078 LATIN SMALL LETTER X character (x) or a U+0058 LATIN CAPITAL
+ LETTER X character (X), which must then be followed by one or more
+ digits in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9),
+ U+0061 LATIN SMALL LETTER A to U+0066 LATIN SMALL LETTER F, and
+ U+0041 LATIN CAPITAL LETTER A to U+0046 LATIN CAPITAL LETTER F,
+ representing a base-sixteen integer that corresponds to a Unicode
+ code point that is allowed according to the definition below. The
+ digits must then be followed by a U+003B SEMICOLON character
+ (;).</dd>
</dl><p>The numeric character reference forms described above are allowed
to reference any Unicode code point other than U+0000, permanently
@@ -59823,11 +59826,11 @@
characters</a>.</p>
<p>An <dfn id=syntax-ambiguous-ampersand title=syntax-ambiguous-ampersand>ambiguous
- ampersand</dfn> is a U+0026 AMPERSAND (<code>&</code>) character
- that is followed by some <a href=#syntax-text title=syntax-text>text</a> other
- than a <a href=#space-character>space character</a>, a U+003C LESS-THAN SIGN
- character ('<'), or another U+0026 AMPERSAND (<code>&</code>)
- character.</p>
+ ampersand</dfn> is a U+0026 AMPERSAND character (&) that is
+ followed by some <a href=#syntax-text title=syntax-text>text</a> other than a
+ <a href=#space-character>space character</a>, a U+003C LESS-THAN SIGN character
+ (<), or another U+0026 AMPERSAND character
+ (<code>&</code>).</p>
<h4 id=cdata-sections><span class=secno>9.1.5 </span>CDATA sections</h4>
@@ -59854,9 +59857,9 @@
MARK, U+002D HYPHEN-MINUS, U+002D HYPHEN-MINUS (<code title=""><!--</code>). Following this sequence, the comment may
have <a href=#syntax-text title=syntax-text>text</a>, with the additional
restriction that the text must not start with a single U+003E
- GREATER-THAN SIGN ('>') character, nor start with a U+002D
- HYPHEN-MINUS (<code title="">-</code>) character followed by a
- U+003E GREATER-THAN SIGN ('>') character, nor contain two
+ GREATER-THAN SIGN (>) character, nor start with a U+002D
+ HYPHEN-MINUS character (-) followed by a
+ U+003E GREATER-THAN SIGN (>) character, nor contain two
consecutive U+002D HYPHEN-MINUS (<code title="">-</code>)
characters, nor end with a U+002D HYPHEN-MINUS (<code title="">-</code>) character. Finally, the comment must be ended by
the three character sequence U+002D HYPHEN-MINUS, U+002D
@@ -60145,13 +60148,13 @@
</ol></dd>
- <dt>A sequence of bytes starting with a 0x3C byte (ASCII '<'), optionally a 0x2F byte (ASCII '/'), and finally a byte in the range 0x41-0x5A or 0x61-0x7A (an ASCII letter)</dt>
+ <dt>A sequence of bytes starting with a 0x3C byte (ASCII <), optionally a 0x2F byte (ASCII /), and finally a byte in the range 0x41-0x5A or 0x61-0x7A (an ASCII letter)</dt>
<dd>
<ol><li><p>Advance the <var title="">position</var> pointer so
that it points at the next 0x09 (ASCII TAB), 0x0A (ASCII LF),
0x0C (ASCII FF), 0x0D (ASCII CR), 0x20 (ASCII space), or 0x3E
- (ASCII '>') byte.</li>
+ (ASCII >) byte.</li>
<li><p>Repeatedly <a href=#concept-get-attributes-when-sniffing title=concept-get-attributes-when-sniffing>get an
attribute</a> until no further attributes can be found,
@@ -60166,7 +60169,7 @@
<dd>
<p>Advance the <var title="">position</var> pointer so that it
- points at the first 0x3E byte (ASCII '>') that comes after the
+ points at the first 0x3E byte (ASCII >) that comes after the
0x3C byte that was found.</p>
</dd>
@@ -60189,11 +60192,11 @@
<ol><li><p>If the byte at <var title="">position</var> is one of 0x09
(ASCII TAB), 0x0A (ASCII LF), 0x0C (ASCII FF), 0x0D (ASCII CR),
- 0x20 (ASCII space), or 0x2F (ASCII '/') then advance <var title="">position</var> to the next byte and redo this
+ 0x20 (ASCII space), or 0x2F (ASCII /) then advance <var title="">position</var> to the next byte and redo this
substep.</li>
<li><p>If the byte at <var title="">position</var> is 0x3E (ASCII
- '>'), then abort the "get an attribute" algorithm. There isn't
+ >), then abort the "get an attribute" algorithm. There isn't
one.</li>
<li><p>Otherwise, the byte at <var title="">position</var> is the
@@ -60203,7 +60206,7 @@
<li><p><i>Attribute name</i>: Process the byte at <var title="">position</var> as follows:</p>
- <dl class=switch><dt>If it is 0x3D (ASCII '='), and the <var title="">attribute
+ <dl class=switch><dt>If it is 0x3D (ASCII =), and the <var title="">attribute
name</var> is longer than the empty string</dt>
<dd>Advance <var title="">position</var> to the next byte and
@@ -60214,14 +60217,14 @@
<dd>Jump to the step below labeled <i>spaces</i>.</dd>
- <dt>If it is 0x2F (ASCII '/') or 0x3E (ASCII '>')</dt>
+ <dt>If it is 0x2F (ASCII /) or 0x3E (ASCII >)</dt>
<dd>Abort the "get an attribute" algorithm. The attribute's
name is the value of <var title="">attribute name</var>, its
value is the empty string.</dd>
- <dt>If it is in the range 0x41 (ASCII 'A') to 0x5A (ASCII
- 'Z')</dt>
+ <dt>If it is in the range 0x41 (ASCII A) to 0x5A (ASCII
+ Z)</dt>
<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
@@ -60246,12 +60249,12 @@
repeat this step.</li>
<li><p>If the byte at <var title="">position</var> is
- <em>not</em> 0x3D (ASCII '='), abort the "get an attribute"
+ <em>not</em> 0x3D (ASCII =), abort the "get an attribute"
algorithm. The attribute's name is the value of <var title="">attribute name</var>, its value is the empty
string.</li>
<li><p>Advance <var title="">position</var> past the 0x3D (ASCII
- '=') byte.</li>
+ =) byte.</li>
<li><p><i>Value:</i> If the byte at <var title="">position</var> is one of 0x09 (ASCII TAB), 0x0A (ASCII
LF), 0x0C (ASCII FF), 0x0D (ASCII CR), or 0x20 (ASCII space) then
@@ -60261,7 +60264,7 @@
<li><p>Process the byte at <var title="">position</var> as
follows:</p>
- <dl class=switch><dt>If it is 0x22 (ASCII '"') or 0x27 ("'")</dt>
+ <dl class=switch><dt>If it is 0x22 (ASCII ") or 0x27 (ASCII ')</dt>
<dd>
@@ -60277,8 +60280,8 @@
<var title="">attribute name</var>, and its value is the
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 code point is 0x20 more
+ <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 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 code point is the same as
@@ -60288,15 +60291,15 @@
</ol></dd>
- <dt>If it is 0x3E (ASCII '>')</dt>
+ <dt>If it is 0x3E (ASCII >)</dt>
<dd>Abort the "get an attribute" algorithm. The attribute's
name is the value of <var title="">attribute name</var>, its
value is the empty string.</dd>
- <dt>If it is in the range 0x41 (ASCII 'A') to 0x5A (ASCII
- 'Z')</dt>
+ <dt>If it is in the range 0x41 (ASCII A) to 0x5A (ASCII
+ Z)</dt>
<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
@@ -60314,14 +60317,14 @@
<dl class=switch><dt>If it is 0x09 (ASCII TAB), 0x0A (ASCII LF), 0x0C (ASCII
FF), 0x0D (ASCII CR), 0x20 (ASCII space), or 0x3E (ASCII
- '>')</dt>
+ >)</dt>
<dd>Abort the "get an attribute" algorithm. The attribute's
name is the value of <var title="">attribute name</var> and its
value is the value of <var title="">attribute value</var>.</dd>
- <dt>If it is in the range 0x41 (ASCII 'A') to 0x5A (ASCII
- 'Z')</dt>
+ <dt>If it is in the range 0x41 (ASCII A) to 0x5A (ASCII
+ Z)</dt>
<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
@@ -61215,7 +61218,7 @@
<dd>
<p>Consume the <a href=#next-input-character>next input character</a>. If it is a
- U+002F SOLIDUS (/) character, switch to the <a href=#close-tag-open-state>close tag open
+ U+002F SOLIDUS character (/), switch to the <a href=#close-tag-open-state>close tag open
state</a>. Otherwise, emit a U+003C LESS-THAN SIGN character
token and reconsume the <a href=#current-input-character>current input character</a> in the
<a href=#data-state>data state</a>.</p>
@@ -61748,7 +61751,7 @@
in comment end state -->
<dt>Anything else</dt>
- <dd>Append a U+002D HYPHEN-MINUS (-) character and the input
+ <dd>Append a U+002D HYPHEN-MINUS character (-) and the input
character to the comment token's data. Switch to the
<a href=#comment-state>comment state</a>.</dd>
@@ -61781,7 +61784,7 @@
in comment end state -->
<dt>Anything else</dt>
- <dd>Append a U+002D HYPHEN-MINUS (-) character and the input
+ <dd>Append a U+002D HYPHEN-MINUS character (-) and the input
character to the comment token's data. Switch to the
<a href=#comment-state>comment state</a>.</dd>
@@ -61808,7 +61811,7 @@
<dt>U+002D HYPHEN-MINUS (-)</dt>
<dd><a href=#parse-error>Parse error</a>. Append a U+002D HYPHEN-MINUS
- (-) character to the comment token's data. Stay in the
+ character (-) to the comment token's data. Stay in the
<a href=#comment-end-state>comment end state</a>.</dd>
<dt>EOF</dt>
@@ -61830,7 +61833,7 @@
<dl class=switch><dt>U+002D HYPHEN-MINUS (-)</dt>
<dd>Append two U+002D HYPHEN-MINUS (-) characters and a U+0021
- EXCLAMATION MARK (!) character to the comment token's data. Switch
+ EXCLAMATION MARK character (!) to the comment token's data. Switch
to the <a href=#comment-end-dash-state>comment end dash state</a>.</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
@@ -61844,7 +61847,7 @@
<dt>Anything else</dt>
<dd>Append two U+002D HYPHEN-MINUS (-) characters, a U+0021
- EXCLAMATION MARK (!) character, and the input character to the
+ EXCLAMATION MARK character (!), and the input character to the
comment token's data. Switch to the <a href=#comment-state>comment
state</a>.</dd>
@@ -62371,10 +62374,10 @@
<p>Consume the X.</p>
<p>Follow the steps below, but using the range of characters
- U+0030 DIGIT ZERO through to U+0039 DIGIT NINE, U+0061 LATIN
- SMALL LETTER A through to U+0066 LATIN SMALL LETTER F, and
- U+0041 LATIN CAPITAL LETTER A, through to U+0046 LATIN CAPITAL
- LETTER F (in other words, 0-9, A-F, a-f).</p>
+ U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9), U+0061 LATIN
+ SMALL LETTER A to U+0066 LATIN SMALL LETTER F, and U+0041 LATIN
+ CAPITAL LETTER A to U+0046 LATIN CAPITAL LETTER F (in other
+ words, 0-9, A-F, a-f).</p>
<p>When it comes to interpreting the number, interpret it as a
hexadecimal number.</p>
@@ -62387,8 +62390,7 @@
<dd>
<p>Follow the steps below, but using the range of characters
- U+0030 DIGIT ZERO through to U+0039 DIGIT NINE (i.e. just
- 0-9).</p>
+ U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9).</p>
<p>When it comes to interpreting the number, interpret it as a
decimal number.</p>
@@ -62420,38 +62422,38 @@
<table><thead><tr><th>Number <th colspan=2>Unicode character
<tbody><tr><td>0x00 <td>U+FFFD <td>REPLACEMENT CHARACTER
<tr><td>0x0D <td>U+000A <td>LINE FEED (LF)
- <tr><td>0x80 <td>U+20AC <td>EURO SIGN ('€')
+ <tr><td>0x80 <td>U+20AC <td>EURO SIGN (€)
<tr><td>0x81 <td>U+0081 <td><control>
- <tr><td>0x82 <td>U+201A <td>SINGLE LOW-9 QUOTATION MARK ('‚')
- <tr><td>0x83 <td>U+0192 <td>LATIN SMALL LETTER F WITH HOOK ('ƒ')
- <tr><td>0x84 <td>U+201E <td>DOUBLE LOW-9 QUOTATION MARK ('„')
- <tr><td>0x85 <td>U+2026 <td>HORIZONTAL ELLIPSIS ('…')
- <tr><td>0x86 <td>U+2020 <td>DAGGER ('†')
- <tr><td>0x87 <td>U+2021 <td>DOUBLE DAGGER ('‡')
- <tr><td>0x88 <td>U+02C6 <td>MODIFIER LETTER CIRCUMFLEX ACCENT ('ˆ')
- <tr><td>0x89 <td>U+2030 <td>PER MILLE SIGN ('‰')
- <tr><td>0x8A <td>U+0160 <td>LATIN CAPITAL LETTER S WITH CARON ('Š')
- <tr><td>0x8B <td>U+2039 <td>SINGLE LEFT-POINTING ANGLE QUOTATION MARK ('‹')
- <tr><td>0x8C <td>U+0152 <td>LATIN CAPITAL LIGATURE OE ('Œ')
+ <tr><td>0x82 <td>U+201A <td>SINGLE LOW-9 QUOTATION MARK (‚)
+ <tr><td>0x83 <td>U+0192 <td>LATIN SMALL LETTER F WITH HOOK (ƒ)
+ <tr><td>0x84 <td>U+201E <td>DOUBLE LOW-9 QUOTATION MARK („)
+ <tr><td>0x85 <td>U+2026 <td>HORIZONTAL ELLIPSIS (…)
+ <tr><td>0x86 <td>U+2020 <td>DAGGER (†)
+ <tr><td>0x87 <td>U+2021 <td>DOUBLE DAGGER (‡)
+ <tr><td>0x88 <td>U+02C6 <td>MODIFIER LETTER CIRCUMFLEX ACCENT (ˆ)
+ <tr><td>0x89 <td>U+2030 <td>PER MILLE SIGN (‰)
+ <tr><td>0x8A <td>U+0160 <td>LATIN CAPITAL LETTER S WITH CARON (Š)
+ <tr><td>0x8B <td>U+2039 <td>SINGLE LEFT-POINTING ANGLE QUOTATION MARK (‹)
+ <tr><td>0x8C <td>U+0152 <td>LATIN CAPITAL LIGATURE OE (Œ)
<tr><td>0x8D <td>U+008D <td><control>
- <tr><td>0x8E <td>U+017D <td>LATIN CAPITAL LETTER Z WITH CARON ('Ž')
+ <tr><td>0x8E <td>U+017D <td>LATIN CAPITAL LETTER Z WITH CARON (Ž)
<tr><td>0x8F <td>U+008F <td><control>
<tr><td>0x90 <td>U+0090 <td><control>
- <tr><td>0x91 <td>U+2018 <td>LEFT SINGLE QUOTATION MARK ('‘')
- <tr><td>0x92 <td>U+2019 <td>RIGHT SINGLE QUOTATION MARK ('’')
- <tr><td>0x93 <td>U+201C <td>LEFT DOUBLE QUOTATION MARK ('“')
- <tr><td>0x94 <td>U+201D <td>RIGHT DOUBLE QUOTATION MARK ('”')
- <tr><td>0x95 <td>U+2022 <td>BULLET ('•')
- <tr><td>0x96 <td>U+2013 <td>EN DASH ('–')
- <tr><td>0x97 <td>U+2014 <td>EM DASH ('—')
- <tr><td>0x98 <td>U+02DC <td>SMALL TILDE ('˜')
- <tr><td>0x99 <td>U+2122 <td>TRADE MARK SIGN ('™')
- <tr><td>0x9A <td>U+0161 <td>LATIN SMALL LETTER S WITH CARON ('š')
- <tr><td>0x9B <td>U+203A <td>SINGLE RIGHT-POINTING ANGLE QUOTATION MARK ('›')
- <tr><td>0x9C <td>U+0153 <td>LATIN SMALL LIGATURE OE ('œ')
+ <tr><td>0x91 <td>U+2018 <td>LEFT SINGLE QUOTATION MARK (‘)
+ <tr><td>0x92 <td>U+2019 <td>RIGHT SINGLE QUOTATION MARK (’)
+ <tr><td>0x93 <td>U+201C <td>LEFT DOUBLE QUOTATION MARK (“)
+ <tr><td>0x94 <td>U+201D <td>RIGHT DOUBLE QUOTATION MARK (”)
+ <tr><td>0x95 <td>U+2022 <td>BULLET (•)
+ <tr><td>0x96 <td>U+2013 <td>EN DASH (–)
+ <tr><td>0x97 <td>U+2014 <td>EM DASH (—)
+ <tr><td>0x98 <td>U+02DC <td>SMALL TILDE (˜)
+ <tr><td>0x99 <td>U+2122 <td>TRADE MARK SIGN (™)
+ <tr><td>0x9A <td>U+0161 <td>LATIN SMALL LETTER S WITH CARON (š)
+ <tr><td>0x9B <td>U+203A <td>SINGLE RIGHT-POINTING ANGLE QUOTATION MARK (›)
+ <tr><td>0x9C <td>U+0153 <td>LATIN SMALL LIGATURE OE (œ)
<tr><td>0x9D <td>U+009D <td><control>
- <tr><td>0x9E <td>U+017E <td>LATIN SMALL LETTER Z WITH CARON ('ž')
- <tr><td>0x9F <td>U+0178 <td>LATIN CAPITAL LETTER Y WITH DIAERESIS ('Ÿ')
+ <tr><td>0x9E <td>U+017E <td>LATIN SMALL LETTER Z WITH CARON (ž)
+ <tr><td>0x9F <td>U+0178 <td>LATIN CAPITAL LETTER Y WITH DIAERESIS (Ÿ)
</table><p>Otherwise, if the number is in the range 0xD800 to 0xDFFF<!--
surrogates not allowed; see the comment in the "preprocessing the
input stream" section for details --> or is greater than 0x10FFFF,
@@ -62495,13 +62497,13 @@
<p>If the character reference is being consumed <a href=#character-reference-in-attribute-value-state title="character reference in attribute value state">as part of an
attribute</a>, and the last character matched is not a U+003B
- SEMICOLON (<code title="">;</code>), and the next character is in
- the range U+0030 DIGIT ZERO to U+0039 DIGIT NINE, U+0041 LATIN
- CAPITAL LETTER A to U+005A LATIN CAPITAL LETTER Z, or U+0061 LATIN
- SMALL LETTER A to U+007A LATIN SMALL LETTER Z, then, for
- historical reasons, all the characters that were matched after the
- U+0026 AMPERSAND (&) must be unconsumed, and nothing is
- returned.</p>
+ SEMICOLON character (<code title="">;</code>), and the next
+ character is in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT
+ NINE (9), U+0041 LATIN CAPITAL LETTER A to U+005A LATIN CAPITAL
+ LETTER Z, or U+0061 LATIN SMALL LETTER A to U+007A LATIN SMALL
+ LETTER Z, then, for historical reasons, all the characters that
+ were matched after the U+0026 AMPERSAND character (&) must be
+ unconsumed, and nothing is returned.</p>
<p>Otherwise, return a character token for the character
corresponding to the character reference name (as given by the
@@ -66684,7 +66686,7 @@
of <var title="">current node</var>'s <code title="">target</code> IDL attribute, followed by a single
U+0020 SPACE character, followed by the value of <var title="">current node</var>'s <code title="">data</code> IDL
attribute, followed by a single U+003E GREATER-THAN SIGN
- character ('>').</p>
+ character (>).</p>
</dd>
@@ -69209,12 +69211,12 @@
the XML <code title="">PubidChar</code> production. <a href=#refsXML>[XML]</a></li>
<li>A <code>DocumentType</code> node that has an external subset
- system identifier that contains both a U+0022 QUOTATION MARK ('"')
- and a U+0027 APOSTROPHE ("'") or that contains characters that are
+ system identifier that contains both a U+0022 QUOTATION MARK (")
+ and a U+0027 APOSTROPHE (') or that contains characters that are
not matched by the XML <code title="">Char</code> production. <a href=#refsXML>[XML]</a></li>
<li>A node with a <!--prefix or--> local name containing a U+003A
- COLON (":").</li> <!--(prefixes can get adjusted, so this isn't an
+ COLON (:).</li> <!--(prefixes can get adjusted, so this isn't an
excuse) -->
<li>A node with a <!--prefix or--> local name that does not match
@@ -69243,7 +69245,7 @@
an <a href=#ascii-case-insensitive>ASCII case-insensitive</a> match for the string "<code title="">xml</code>".</li>
<li>A <code>ProcessingInstruction</code> node whose target name
- contains a U+003A COLON (":").</li>
+ contains a U+003A COLON (:).</li>
<li>A <code>ProcessingInstruction</code> node whose data contains
the string "<code title="">?></code>".</li>
@@ -71388,8 +71390,9 @@
<ol><li><p>If the element has a <code title=attr-frames-frameborder>frameborder</code> attribute
whose value is not the empty string and whose first character is
- either a U+0031 DIGIT ONE (1), a U+0079 LATIN SMALL LETTER Y, or
- a U+0059 LATIN CAPITAL LETTER Y, then return true.</li>
+ either a U+0031 DIGIT ONE (1) character, a U+0079 LATIN SMALL
+ LETTER Y character (y), or a U+0059 LATIN CAPITAL LETTER Y
+ character (Y), then return true.</li>
<li><p>Otherwise, if the element has a <code title=attr-frames-frameborder>frameborder</code> attribute,
return false.</li>
@@ -73398,7 +73401,7 @@
<dd>
<dl><dt>Magic number(s):</dt>
<dd><code><a href=#text/ping>text/ping</a></code> resources always consist of the four
- bytes 0x50 0x49 0x4E 0x47 (ASCII "PING").</dd>
+ bytes 0x50 0x49 0x4E 0x47 (ASCII 'PING').</dd>
<dt>File extension(s):</dt>
<dd>No specific file extension is recommended for this type.</dd>
<dt>Macintosh file type code(s):</dt>
@@ -74782,30 +74785,6 @@
("<code title="">foo</code>" vs <code>foo</code>)
XXX * make the spec consistent about whether the word "algorithm" is part of
an algorithm's name or not ("</dfn> algorithm", "</span> algorithm")
- XXX * make a consistent decision of which of the following formats to use:
- U+1234 FOO BAR character ("foo")
- U+1234 FOO BAR character ('foo')
- U+1234 FOO BAR character (foo)
- U+1234 FOO BAR ("foo") character
- U+1234 FOO BAR ('foo') character
- U+1234 FOO BAR (foo) character
- U+1234 FOO BAR character ("<code title="">foo</code>")
- U+1234 FOO BAR character ('<code title="">foo</code>')
- U+1234 FOO BAR character (<code title="">foo</code>)
- U+1234 FOO BAR ("<code title="">foo</code>") character
- U+1234 FOO BAR ('<code title="">foo</code>') character
- U+1234 FOO BAR (<code title="">foo</code>) character
- ...and make these match:
- 0x12 (ASCII FOO)
- 0x12 (ASCII "foo")
- 0x12 (ASCII 'foo')
- 0x12 ("foo")
- 0x12 ('foo')
- 0x12 (ASCII "<code title="">foo</code>")
- 0x12 (ASCII '<code title="">foo</code>')
- 0x12 ("<code title="">foo</code>")
- 0x12 ('<code title="">foo</code>')
- XXX * check case of hex characters in the ASCII cases.
XXX * use the sample widgets:
<li><img alt="A text field with editable sections for each
value, with a button to pop up a dialog showing a calendar or
Modified: source
===================================================================
--- source 2009-10-05 03:31:43 UTC (rev 4076)
+++ source 2009-10-05 06:41:14 UTC (rev 4077)
@@ -741,7 +741,7 @@
<p>Attribute names are said to be <dfn>XML-compatible</dfn> if they
match the <a href="http://www.w3.org/TR/REC-xml/#NT-Name"><code
title="">Name</code></a> production defined in XML, they contain no
- U+003A COLON (:) characters, and their first three characters are
+ U+003A COLON characters (:), and their first three characters are
not an <span>ASCII case-insensitive</span> match for the string
"<code title="">xml</code>". <a href="#refsXML">[XML]</a></p>
@@ -1461,9 +1461,9 @@
href="#refsUNICODE">[UNICODE]</a></p>
<p>The <dfn>alphanumeric ASCII characters</dfn> are those in the
- ranges U+0030 DIGIT ZERO .. U+0039 DIGIT NINE, U+0041 LATIN CAPITAL
- LETTER A .. U+005A LATIN CAPITAL LETTER Z, U+0061 LATIN SMALL LETTER
- A .. U+007A LATIN SMALL LETTER Z.</p>
+ ranges U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9), U+0041 LATIN
+ CAPITAL LETTER A to U+005A LATIN CAPITAL LETTER Z, U+0061 LATIN
+ SMALL LETTER A to U+007A LATIN SMALL LETTER Z.</p>
<p>Some of the micro-parsers described below follow the pattern of
having an <var title="">input</var> variable that holds the string
@@ -1612,7 +1612,7 @@
title="">input</var>, return an error.</p></li>
<li><p>If the next character is not one of U+0030 DIGIT ZERO (0)
- .. U+0039 DIGIT NINE (9), then return an error.</p></li>
+ to U+0039 DIGIT NINE (9), then return an error.</p></li>
<!-- Ok. At this point we know we have a number. It might have
trailing garbage which we'll ignore, but it's a number, and we
@@ -1621,7 +1621,7 @@
<li>
<p><i>Loop</i>: If the next character is one of U+0030 DIGIT ZERO
- (0) .. U+0039 DIGIT NINE (9):</p>
+ (0) to U+0039 DIGIT NINE (9):</p>
<ol>
@@ -1653,14 +1653,14 @@
<p>A string is a <dfn>valid integer</dfn> if it consists of one or
more characters in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT
- NINE (9), optionally prefixed with a U+002D HYPHEN-MINUS ("-")
- character.</p>
+ NINE (9), optionally prefixed with a U+002D HYPHEN-MINUS character
+ (-).</p>
- <p>A <span>valid integer</span> without a U+002D HYPHEN-MINUS ("-")
+ <p>A <span>valid integer</span> without a U+002D HYPHEN-MINUS (-)
prefix represents the number that is represented in base ten by that
string of digits. A <span>valid integer</span> <em>with</em> a
- U+002D HYPHEN-MINUS ("-") prefix represents the number represented
- in base ten by the string of digits that follows the U+002D
+ U+002D HYPHEN-MINUS (-) prefix represents the number represented in
+ base ten by the string of digits that follows the U+002D
HYPHEN-MINUS, subtracted from zero.</p>
<div class="impl">
@@ -1696,7 +1696,7 @@
<li>
<p>If the character indicated by <var title="">position</var> (the
- first character) is a U+002D HYPHEN-MINUS ("-") character:</p>
+ first character) is a U+002D HYPHEN-MINUS character (-):</p>
<ol>
@@ -1719,7 +1719,7 @@
</li>
<li><p>If the next character is not one of U+0030 DIGIT ZERO (0)
- .. U+0039 DIGIT NINE (9), then return an error.</p></li>
+ to U+0039 DIGIT NINE (9), then return an error.</p></li>
<!-- Ok. At this point we know we have a number. It might have
trailing garbage which we'll ignore, but it's a number, and we
@@ -1727,7 +1727,7 @@
<li>
- <p>If the next character is one of U+0030 DIGIT ZERO (0) .. U+0039
+ <p>If the next character is one of U+0030 DIGIT ZERO (0) to U+0039
DIGIT NINE (9):</p>
<ol>
@@ -1765,7 +1765,7 @@
<ol class="brief">
- <li>Optionally, a U+002D HYPHEN-MINUS ("-") character.</li>
+ <li>Optionally, a U+002D HYPHEN-MINUS character (-).</li>
<li>A series of one or more characters in the range U+0030 DIGIT
ZERO (0) to U+0039 DIGIT NINE (9).</li>
@@ -1774,7 +1774,7 @@
<ol>
- <li>A single U+002E FULL STOP (".") character.</li>
+ <li>A single U+002E FULL STOP character (.).</li>
<li>A series of one or more characters in the range U+0030 DIGIT
ZERO (0) to U+0039 DIGIT NINE (9).</li>
@@ -1787,11 +1787,11 @@
<ol>
- <li>Either a U+0065 LATIN SMALL LETTER E character or a U+0045
- LATIN CAPITAL LETTER E character.</li>
+ <li>Either a U+0065 LATIN SMALL LETTER E character (e) or a
+ U+0045 LATIN CAPITAL LETTER E character (E).</li>
- <li>Optionally, a U+002D HYPHEN-MINUS ("-") character or U+002B
- PLUS SIGN ("+") character.</li>
+ <li>Optionally, a U+002D HYPHEN-MINUS character (-) or U+002B
+ PLUS SIGN character (+).</li>
<li>A series of one or more characters in the range U+0030 DIGIT
ZERO (0) to U+0039 DIGIT NINE (9).</li>
@@ -1808,11 +1808,11 @@
interpreted as base ten (including the decimal point and the number
after the decimal point, if any, and interpreting the significand as
a negative number if the whole string starts with a U+002D
- HYPHEN-MINUS ("-") character and the number is not zero), and where
+ HYPHEN-MINUS character (-) and the number is not zero), and where
the exponent is the number after the E, if any (interpreted as a
- negative number if there is a U+002D HYPHEN-MINUS ("-") character
+ negative number if there is a U+002D HYPHEN-MINUS character (-)
between the E and the number and the number is not zero, or else
- ignoring a U+002B PLUS SIGN ("+") character between the E and the
+ ignoring a U+002B PLUS SIGN character (+) between the E and the
number if there is one). If there is no E, then the exponent is
treated as zero.</p>
@@ -1855,7 +1855,7 @@
<li>
<p>If the character indicated by <var title="">position</var> is a
- U+002D HYPHEN-MINUS ("-") character:</p>
+ U+002D HYPHEN-MINUS character (-):</p>
<ol>
@@ -1873,7 +1873,7 @@
</li>
<li><p>If the character indicated by <var title="">position</var>
- is not one of U+0030 DIGIT ZERO (0) .. U+0039 DIGIT NINE (9), then
+ is not one of U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9), then
return an error.</p></li>
<!-- Ok. At this point we know we have a number. It might have
@@ -1889,7 +1889,7 @@
title="">input</var>, return <var title="">value</var>.</li>
<li><p>If the character indicated by <var title="">position</var>
- is a U+002E FULL STOP ("."), run these substeps:</p>
+ is a U+002E FULL STOP (.), run these substeps:</p>
<ol>
@@ -1899,7 +1899,7 @@
<li><p>If <var title="">position</var> is past the end of <var
title="">input</var>, or if the character indicated by <var
title="">position</var> is not one of U+0030 DIGIT ZERO (0)
- .. U+0039 DIGIT NINE (9), then return <var title="">value</var>.</li>
+ to U+0039 DIGIT NINE (9), then return <var title="">value</var>.</li>
<li><p><i>Fraction loop</i>: Multiply <var title="">divisor</var>
by ten.</p></li>
@@ -1915,7 +1915,7 @@
title="">input</var>, then return <var title="">value</var>.</li>
<li><p>If the character indicated by <var title="">position</var>
- is one of U+0030 DIGIT ZERO (0) .. U+0039 DIGIT NINE (9), return
+ is one of U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9), return
to the step labeled <i>fraction loop</i> in these
substeps.</p></li>
@@ -1924,8 +1924,8 @@
</li>
<li><p>If the character indicated by <var title="">position</var>
- is a U+0065 LATIN SMALL LETTER E character or a U+0045 LATIN
- CAPITAL LETTER E character, run these substeps:</p>
+ is a U+0065 LATIN SMALL LETTER E character (e) or a U+0045 LATIN
+ CAPITAL LETTER E character (E), run these substeps:</p>
<ol>
@@ -1938,7 +1938,7 @@
<li>
<p>If the character indicated by <var title="">position</var> is
- a U+002D HYPHEN-MINUS ("-") character:</p>
+ a U+002D HYPHEN-MINUS character (-):</p>
<ol>
@@ -1954,8 +1954,7 @@
</ol>
<p>Otherwise, if the character indicated by <var
- title="">position</var> is a U+002B PLUS SIGN ("+")
- character:</p>
+ title="">position</var> is a U+002B PLUS SIGN character (+):</p>
<ol>
@@ -1971,7 +1970,7 @@
</li>
<li><p>If the character indicated by <var title="">position</var>
- is not one of U+0030 DIGIT ZERO (0) .. U+0039 DIGIT NINE (9),
+ is not one of U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9),
then return <var title="">value</var>.</li>
<li><p><span>Collect a sequence of characters</span> in the range
@@ -2075,9 +2074,9 @@
to that character.</li>
<li>If the string contains any other characters in the range U+0030
- DIGIT ZERO to U+0039 DIGIT NINE, but <var title="">denominator</var> was
- given a value in the step 6, return nothing and abort these
- steps.</li>
+ DIGIT ZERO (0) to U+0039 DIGIT NINE (9), but <var
+ title="">denominator</var> was given a value in the step 6, return
+ nothing and abort these steps.</li>
<li>Otherwise, if <var title="">denominator</var> was given a value
in step 6, return <var title="">number1</var> and <var
@@ -2105,8 +2104,8 @@
steps.</li>
<li>If the string contains any other characters in the range U+0030
- DIGIT ZERO to U+0039 DIGIT NINE, return nothing and abort these
- steps.</li>
+ DIGIT ZERO (0) to U+0039 DIGIT NINE (9), return nothing and abort
+ these steps.</li>
<li>Otherwise, return <var title="">number1</var> and
<var title="">number2</var>.</li>
@@ -2122,15 +2121,15 @@
<li>Starting at the given starting position, ignore all characters
in the given string until the first character that is either a
U+002E FULL STOP or one of the ten characters in the range U+0030
- DIGIT ZERO to U+0039 DIGIT NINE.</li>
+ DIGIT ZERO (0) to U+0039 DIGIT NINE (9).</li>
<li>If there are no such characters, return nothing and abort these
steps.</li>
<li>Starting with the character matched in step 1, collect all the
consecutive characters that are either a U+002E FULL STOP or one of
- the ten characters in the range U+0030 DIGIT ZERO to U+0039 DIGIT
- NINE, and assign this string of one or more characters to
+ the ten characters in the range U+0030 DIGIT ZERO (0) to U+0039
+ DIGIT NINE (9), and assign this string of one or more characters to
<var title="">string</var>.</li>
<li>If <var title="">string</var> consists of just a single U+002E
@@ -2202,7 +2201,7 @@
title="">input</var>, return an error.</p></li>
<li><p>If the next character is not one of U+0031 DIGIT ONE (1)
- .. U+0039 DIGIT NINE (9), then return an error.</p></li>
+ to U+0039 DIGIT NINE (9), then return an error.</p></li>
<!-- Ok. At this point we know we have a number. It might have
trailing garbage which we'll ignore, but it's a number, and we
@@ -2227,7 +2226,7 @@
character.</p></li>
<li><p>If the next character is not one of U+0030 DIGIT ZERO (0)
- .. U+0039 DIGIT NINE (9), then return <var title="">value</var>
+ to U+0039 DIGIT NINE (9), then return <var title="">value</var>
as an integer.</p></li>
<li><p><span>Collect a sequence of characters</span> in the range
@@ -2306,7 +2305,7 @@
<li><p>Let <var title="">started</var> be false. This variable is
set to true when the parser sees a number or a U+002D HYPHEN-MINUS
- ("-") character.</p></li>
+ character (-).</p></li>
<li><p>Let <var title="">got number</var> be false. This variable
is set to true when the parser sees a number.</p></li>
@@ -2351,8 +2350,8 @@
</dd>
- <dt>A character in the range U+0030 DIGIT ZERO .. U+0039 DIGIT
- NINE</dt>
+ <dt>A character in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT
+ NINE (9)</dt>
<dd>
@@ -2590,7 +2589,7 @@
parsed.</p></li>
<li><p>If the last character in <var title="">raw input</var> is a
- U+002C COMMA character (","), then remove that character from <var
+ U+002C COMMA character (,), then remove that character from <var
title="">raw input</var>.</p></li>
<li><p><span title="split a string on commas">Split the string <var
@@ -2676,7 +2675,7 @@
<li>
<p>If the character at <var title="">position</var> is a U+0025
- PERCENT SIGN (%) character, then set <var title="">unit</var> to
+ PERCENT SIGN character (%), then set <var title="">unit</var> to
<i>percentage</i>.</p>
<p>Otherwise, if the character at <var title="">position</var>
@@ -2717,8 +2716,8 @@
<p>The <dfn title="concept-datetime-digit">digits</dfn> in the date
and time syntaxes defined in this section must be characters in the
- range U+0030 DIGIT ZERO to U+0039 DIGIT NINE, used to express
- numbers in base ten.</p>
+ range U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9), used to
+ express numbers in base ten.</p>
<div class="impl">
@@ -3120,7 +3119,7 @@
<li>A <span>valid date string</span> representing the date.</li>
- <li>A U+0054 LATIN CAPITAL LETTER T character.</li>
+ <li>A U+0054 LATIN CAPITAL LETTER T character (T).</li>
<li>A <span>valid time string</span> representing the time.</li>
@@ -3149,8 +3148,8 @@
<li><p>If <var title="">position</var> is beyond the end of <var
title="">input</var> or if the character at <var
title="">position</var> is not a U+0054 LATIN CAPITAL LETTER T
- character then fail. Otherwise, move <var title="">position</var>
- forwards one character.</p></li>
+ character (T) then fail. Otherwise, move <var
+ title="">position</var> forwards one character.</p></li>
<li><p><span>Parse a time component</span> to obtain <var
title="">hour</var>, <var title="">minute</var>, and <var
@@ -3193,7 +3192,7 @@
<li>A <span>valid date string</span> representing the date</li>
- <li>A U+0054 LATIN CAPITAL LETTER T character</li>
+ <li>A U+0054 LATIN CAPITAL LETTER T character (T)</li>
<li>A <span>valid time string</span> representing the time</li>
@@ -3201,15 +3200,15 @@
<ul>
- <li>A U+005A LATIN CAPITAL LETTER Z character, allowed only if
- the time zone is UTC</li>
+ <li>A U+005A LATIN CAPITAL LETTER Z character (Z), allowed only
+ if the time zone is UTC</li>
<li>Or:
<ol>
<li>Either a U+002B PLUS SIGN character (+) or a U+002D
- HYPHEN-MINUS (-) character, representing the sign of the
+ HYPHEN-MINUS character (-), representing the sign of the
time-zone offset</li>
<li>Two <span title="concept-datetime-digit">digits</span>,
@@ -3301,7 +3300,7 @@
string</dfn> <var title="">datetime</var> is the <span>valid global
date and time string</span> representing <var
title="">datetime</var> with the last character of the string not
- being a U+005A LATIN CAPITAL LETTER Z character, even if the
+ being a U+005A LATIN CAPITAL LETTER Z character (Z), even if the
time zone is UTC.</p>
<p>The rules to <dfn>parse a global date and time string</dfn> are
@@ -3326,8 +3325,8 @@
<li><p>If <var title="">position</var> is beyond the end of <var
title="">input</var> or if the character at <var
title="">position</var> is not a U+0054 LATIN CAPITAL LETTER T
- character then fail. Otherwise, move <var title="">position</var>
- forwards one character.</p></li>
+ character (T) then fail. Otherwise, move <var
+ title="">position</var> forwards one character.</p></li>
<li><p><span>Parse a time component</span> to obtain <var
title="">hour</var>, <var title="">minute</var>, and <var
@@ -3375,7 +3374,7 @@
<li>
<p>If the character at <var title="">position</var> is a U+005A
- LATIN CAPITAL LETTER Z, then:</p>
+ LATIN CAPITAL LETTER Z character (Z), then:</p>
<ol>
@@ -3391,14 +3390,14 @@
</ol>
<p>Otherwise, if the character at <var title="">position</var> is
- either a U+002B PLUS SIGN ("+") or a U+002D HYPHEN-MINUS ("-"),
+ either a U+002B PLUS SIGN (+) or a U+002D HYPHEN-MINUS (-),
then:</p>
<ol>
<li><p>If the character at <var title="">position</var> is a
- U+002B PLUS SIGN ("+"), let <var title="">sign</var> be
- "positive". Otherwise, it's a U+002D HYPHEN-MINUS ("-"); let <var
+ U+002B PLUS SIGN (+), let <var title="">sign</var> be
+ "positive". Otherwise, it's a U+002D HYPHEN-MINUS (-); let <var
title="">sign</var> be "negative".</p></li>
<li><p>Advance <var title="">position</var> to the next character
@@ -3498,7 +3497,7 @@
<li>A U+002D HYPHEN-MINUS character (-)</li>
- <li>A U+0057 LATIN CAPITAL LETTER W character</li>
+ <li>A U+0057 LATIN CAPITAL LETTER W character (W)</li>
<li>Two <span title="concept-datetime-digit">digits</span>,
representing the week <var title="">week</var>, in the range
@@ -3543,8 +3542,8 @@
<li><p>If <var title="">position</var> is beyond the end of <var
title="">input</var> or if the character at <var
title="">position</var> is not a U+0057 LATIN CAPITAL LETTER W
- character, then fail. Otherwise, move <var title="">position</var>
- forwards one character.</p></li>
+ character (W), then fail. Otherwise, move <var
+ title="">position</var> forwards one character.</p></li>
<li><p><span>Collect a sequence of characters</span> in the range
U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9). If the collected
@@ -3652,14 +3651,15 @@
title="">position</var> is not beyond the end of <var
title="">input</var>, and the character at <var
title="">position</var> is a U+0054 LATIN CAPITAL LETTER T
- character, then advance <var title="">position</var> to the next
- character in <var title="">input</var>.</p>
+ character (T), then advance <var title="">position</var> to the
+ next character in <var title="">input</var>.</p>
<p>Otherwise, if <var title="">date present</var> is true, and
either <var title="">position</var> is beyond the end of <var
title="">input</var> or the character at <var
title="">position</var> is not a U+0054 LATIN CAPITAL LETTER T
- character, then set <var title="">time present</var> to false.</p>
+ character (T), then set <var title="">time present</var> to
+ false.</p>
<p>Otherwise, if <var title="">date present</var> is false, set
<var title="">position</var> back to the same position as <var
@@ -3738,17 +3738,17 @@
<p>A string is a <dfn>valid simple color</dfn> if it is exactly
seven characters long, and the first character is a U+0023 NUMBER
- SIGN (#) character, and the remaining six characters are all in the
- range U+0030 DIGIT ZERO (0) .. U+0039 DIGIT NINE (9), U+0041 LATIN
- CAPITAL LETTER A .. U+0046 LATIN CAPITAL LETTER F, U+0061 LATIN
- SMALL LETTER A .. U+0066 LATIN SMALL LETTER F, with the first two
+ SIGN character (#), and the remaining six characters are all in the
+ range U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9), U+0041 LATIN
+ CAPITAL LETTER A to U+0046 LATIN CAPITAL LETTER F, U+0061 LATIN
+ SMALL LETTER A to U+0066 LATIN SMALL LETTER F, with the first two
digits representing the red component, the middle two digits
representing the green component, and the last two digits
representing the blue component, in hexadecimal.</p>
<p>A string is a <dfn>valid lowercase simple color</dfn> if it is a
<span>valid simple color</span> and doesn't use any characters in
- the range U+0041 LATIN CAPITAL LETTER A .. U+0046 LATIN CAPITAL
+ the range U+0041 LATIN CAPITAL LETTER A to U+0046 LATIN CAPITAL
LETTER F.</p>
<div class="impl">
@@ -3768,12 +3768,12 @@
long, then return an error.</p></li>
<li><p>If the first character in <var title="">input</var> is not a
- U+0023 NUMBER SIGN (#) character, then return an error.</p></li>
+ U+0023 NUMBER SIGN character (#), then return an error.</p></li>
<li><p>If the last six characters of <var title="">input</var> are
- not all in the range U+0030 DIGIT ZERO (0) .. U+0039 DIGIT NINE
- (9), U+0041 LATIN CAPITAL LETTER A .. U+0046 LATIN CAPITAL LETTER
- F, U+0061 LATIN SMALL LETTER A .. U+0066 LATIN SMALL LETTER F, then
+ not all in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE
+ (9), U+0041 LATIN CAPITAL LETTER A to U+0046 LATIN CAPITAL LETTER
+ F, U+0061 LATIN SMALL LETTER A to U+0066 LATIN SMALL LETTER F, then
return an error.</p></li>
<li><p>Let <var title="">result</var> be a <span>simple
@@ -3802,12 +3802,12 @@
<ol>
<li><p>Let <var title="">result</var> be a string consisting of a
- single U+0023 NUMBER SIGN (#) character.</p></li>
+ single U+0023 NUMBER SIGN character (#).</p></li>
<li><p>Convert the red, green, and blue components in turn to
two-digit hexadecimal numbers using the digits U+0030 DIGIT ZERO
- (0) .. U+0039 DIGIT NINE (9) and U+0061 LATIN SMALL LETTER A
- .. U+0066 LATIN SMALL LETTER F, zero-padding if necessary, and
+ (0) to U+0039 DIGIT NINE (9) and U+0061 LATIN SMALL LETTER A
+ to U+0066 LATIN SMALL LETTER F, zero-padding if necessary, and
append these numbers to <var title="">result</var>, in the order
red, green, blue.</p>
@@ -3850,10 +3850,10 @@
<p>If <var title="">input</var> is four characters long, and the
first character in <var title="">input</var> is a U+0023 NUMBER
- SIGN (#) character, and the last three characters of <var
+ SIGN character (#), and the last three characters of <var
title="">input</var> are all in the range U+0030 DIGIT ZERO (0)
- .. U+0039 DIGIT NINE (9), U+0041 LATIN CAPITAL LETTER A .. U+0046
- LATIN CAPITAL LETTER F, and U+0061 LATIN SMALL LETTER A .. U+0066
+ to U+0039 DIGIT NINE (9), U+0041 LATIN CAPITAL LETTER A to U+0046
+ LATIN CAPITAL LETTER F, and U+0061 LATIN SMALL LETTER A to U+0066
LATIN SMALL LETTER F, then run these substeps:</p>
<ol>
@@ -3895,9 +3895,9 @@
U+0023 NUMBER SIGN character (#), remove it.</p></li>
<li><p>Replace any character in <var title="">input</var> that is
- not in the range U+0030 DIGIT ZERO (0) .. U+0039 DIGIT NINE (9),
- U+0041 LATIN CAPITAL LETTER A .. U+0046 LATIN CAPITAL LETTER F, and
- U+0061 LATIN SMALL LETTER A .. U+0066 LATIN SMALL LETTER F with the
+ not in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9),
+ U+0041 LATIN CAPITAL LETTER A to U+0046 LATIN CAPITAL LETTER F, and
+ U+0061 LATIN SMALL LETTER A to U+0066 LATIN SMALL LETTER F with the
character U+0030 DIGIT ZERO (0).</p></li>
<li><p>While <var title="">input</var>'s length is zero or not a
@@ -4104,10 +4104,10 @@
<p>A <dfn>set of comma-separated tokens</dfn> is a set of zero or
more tokens each separated from the next by a single U+002C COMMA
- character (<code title="">,</code>), where tokens consist of any
+ character (,), where tokens consist of any
string of zero or more characters, neither beginning nor ending with
<span title="space character">space characters</span>, nor
- containing any U+002C COMMA characters (<code title="">,</code>),
+ containing any U+002C COMMA characters (,),
and optionally surrounded by <span title="space character">space
characters</span>.</p>
@@ -4145,7 +4145,7 @@
end of <var title="">input</var>, jump to the last step.</p></li>
<li><p><span>Collect a sequence of characters</span> that are not
- U+002C COMMA characters (<code title="">,</code>). Let <var
+ U+002C COMMA characters (,). Let <var
title="">s</var> be the resulting sequence (which might be the
empty string).</p></li>
@@ -4158,9 +4158,8 @@
<li><p>If <var title="">position</var> is not past the end of <var
title="">input</var>, then the character at <var
- title="">position</var> is a U+002C COMMA character (<code
- title="">,</code>); advance <var title="">position</var> past that
- character.</p></li>
+ title="">position</var> is a U+002C COMMA character (,); advance
+ <var title="">position</var> past that character.</p></li>
<li><p>Jump back to the step labeled <i>token</i>.</p></li>
@@ -4234,10 +4233,9 @@
<p>A <dfn>valid hash-name reference</dfn> to an element of type <var
title="">type</var> is a string consisting of a U+0023 NUMBER SIGN
- (<code title="">#</code>) character followed by a string which
- exactly matches the value of the <code title="">name</code>
- attribute of an element in the document with type <var
- title="">type</var>.</p>
+ character (#) followed by a string which exactly matches the value
+ of the <code title="">name</code> attribute of an element in the
+ document with type <var title="">type</var>.</p>
<div class="impl">
@@ -4573,8 +4571,8 @@
<td><span title="url-scheme"><scheme></span>
<td>—
<td>—
- <td>U+003A COLON ("<code title="">:</code>")
- <td>Remove all trailing U+003A COLON ("<code title="">:</code>") characters
+ <td>U+003A COLON (:)
+ <td>Remove all trailing U+003A COLON characters (:)
<td>The new value is not the empty string
<tr>
<td><dfn title="dom-uda-host"><code>host</code></dfn>
@@ -4590,7 +4588,7 @@
<td><span title="concept-uda-input">input</span> is hierarchical and uses a server-based naming authority
<td>—
<td>—
- <td>Remove all leading U+002F SOLIDUS ("<code title="">/</code>") characters
+ <td>Remove all leading U+002F SOLIDUS characters (/)
<td>The new value is not the empty string and <span title="concept-uda-input">input</span> is hierarchical and uses a server-based naming authority
<tr>
<td><dfn title="dom-uda-port"><code>port</code></dfn>
@@ -4598,8 +4596,8 @@
<td><span title="concept-uda-input">input</span> is hierarchical, uses a server-based naming authority, and contained a <span title="url-port"><port></span> component (possibly an empty one)
<td>—
<td>—
- <td>Remove any characters in the new value that are not in the range U+0030 DIGIT ZERO .. U+0039 DIGIT NINE.
- If the resulting string is empty, set it to a single U+0030 DIGIT ZERO character ('0').
+ <td>Remove any characters in the new value that are not in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9).
+ If the resulting string is empty, set it to a single U+0030 DIGIT ZERO character (0).
<td><span title="concept-uda-input">input</span> is hierarchical and uses a server-based naming authority
<tr>
<td><dfn title="dom-uda-pathname"><code>pathname</code></dfn>
@@ -4607,23 +4605,23 @@
<td><span title="concept-uda-input">input</span> is hierarchical
<td>—
<td>—
- <td>If it has no leading U+002F SOLIDUS ("<code title="">/</code>") character, prepend a U+002F SOLIDUS ("<code title="">/</code>") character to the new value
+ <td>If it has no leading U+002F SOLIDUS character (/), prepend a U+002F SOLIDUS character (/) to the new value
<td>—
<tr>
<td><dfn title="dom-uda-search"><code>search</code></dfn>
<td><span title="url-query"><query></span>
<td><span title="concept-uda-input">input</span> is hierarchical, and contained a <span title="url-query"><query></span> component (possibly an empty one)
- <td>U+003F QUESTION MARK ("<code title="">?</code>")
+ <td>U+003F QUESTION MARK (?)
<td>—
- <td>Remove one leading U+003F QUESTION MARK ("<code title="">?</code>") character, if any
+ <td>Remove one leading U+003F QUESTION MARK character (?), if any
<td>—
<tr>
<td><dfn title="dom-uda-hash"><code>hash</code></dfn>
<td><span title="url-fragment"><fragment></span>
<td><span title="concept-uda-input">input</span> contained a <span title="url-fragment"><fragment></span> component (possibly an empty one)
- <td>U+0023 NUMBER SIGN ("<code title="">#</code>")
+ <td>U+0023 NUMBER SIGN (#)
<td>—
- <td>Remove one leading U+0023 NUMBER SIGN ("<code title="">#</code>") character, if any
+ <td>Remove one leading U+0023 NUMBER SIGN character (#), if any
<td>—
</table>
@@ -6823,11 +6821,11 @@
<li> The month component of the date. </li>
- <li> A U+002F SOLIDUS character ('/'). </li>
+ <li> A U+002F SOLIDUS character (/). </li>
<li> The day component of the date. </li>
- <li> A U+002F SOLIDUS character ('/'). </li>
+ <li> A U+002F SOLIDUS character (/). </li>
<li> The year component of the date. </li>
@@ -6835,22 +6833,22 @@
<li> The hours component of the time. </li>
- <li> A U+003A COLON character (':'). </li>
+ <li> A U+003A COLON character (:). </li>
<li> The minutes component of the time. </li>
- <li> A U+003A COLON character (':'). </li>
+ <li> A U+003A COLON character (:). </li>
<li> The seconds component of the time. </li>
</ol>
<p>All the numeric components above, other than the year, must be
- given as two digits in the range U+0030 DIGIT ZERO to U+0039 DIGIT
- NINE representing the number in base ten, zero-padded if
+ given as two digits in the range U+0030 DIGIT ZERO (0) to U+0039
+ DIGIT NINE (9) representing the number in base ten, zero-padded if
necessary. The year must be given as four or more digits in the
- range U+0030 DIGIT ZERO to U+0039 DIGIT NINE representing the number
- in base ten, zero-padded if necessary.</p>
+ range U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9) representing
+ the number in base ten, zero-padded if necessary.</p>
<p>The <code>Document</code>'s source file's last modification date
and time must be derived from relevant features of the networking
@@ -8244,7 +8242,7 @@
title="attr-data-*"><code>data-</code></dfn>", has at least one
character after the hyphen, is <span>XML-compatible</span>, and
contains no characters in the range U+0041 .. U+005A (LATIN CAPITAL
- LETTER A .. LATIN CAPITAL LETTER Z).</p>
+ LETTER A to LATIN CAPITAL LETTER Z).</p>
<p class="note">All attributes in <span>HTML documents</span> get
lowercased automatically, so the restriction on uppercase letters
@@ -9961,7 +9959,7 @@
<!-- text/plain handling -->
<p>If the <var title="">type</var> string contains a U+003B
- SEMICOLON (;) character, remove the first such character and all
+ SEMICOLON character (;), remove the first such character and all
characters from it up to the end of the string.</p>
<p>Strip all leading and trailing <span title="space
@@ -11789,7 +11787,7 @@
<li><p><span title="collect a sequence of characters">Collect a
sequence of characters</span> that are neither <span title="space
character">space characters</span> nor a U+002C COMMA character
- (",").</p></li>
+ (,).</p></li>
<li><p>Let the <span>document-wide default language</span> be the
string that resulted from the previous step.</p></li>
@@ -11912,17 +11910,17 @@
<li><p><span>Skip whitespace</span>.</p></li>
<li><p><span title="collect a sequence of characters">Collect a
- sequence of characters</span> in the range U+0030 DIGIT ZERO to
- U+0039 DIGIT NINE, and parse the resulting string using the
- <span>rules for parsing non-negative integers</span>. If the
+ sequence of characters</span> in the range U+0030 DIGIT ZERO (0)
+ to U+0039 DIGIT NINE (9), and parse the resulting string using
+ the <span>rules for parsing non-negative integers</span>. If the
sequence of characters collected is the empty string, then no
number will have been parsed; abort these steps. Otherwise, let
<var title="">time</var> be the parsed number.</p></li>
<li><p><span title="collect a sequence of characters">Collect a
- sequence of characters</span> in the range U+0030 DIGIT ZERO to
- U+0039 DIGIT NINE and U+002E FULL STOP ("<code
- title="">.</code>"). Ignore any collected characters.</p></li>
+ sequence of characters</span> in the range U+0030 DIGIT ZERO (0) to
+ U+0039 DIGIT NINE (9) and U+002E FULL STOP (.). Ignore any collected
+ characters.</p></li>
<li><p><span>Skip whitespace</span>.</p></li>
@@ -11937,22 +11935,22 @@
<li><p><span>Skip whitespace</span>.</p></li>
<li><p>If the character in <var title="">input</var> pointed to
- by <var title="">position</var> is one of U+0055 LATIN CAPITAL
- LETTER U or U+0075 LATIN SMALL LETTER U, then advance <var
- title="">position</var> to the next character. Otherwise, jump to
- the last step.</p></li>
+ by <var title="">position</var> is a U+0055 LATIN CAPITAL LETTER
+ U character (U) or a U+0075 LATIN SMALL LETTER U character (u),
+ then advance <var title="">position</var> to the next
+ character. Otherwise, jump to the last step.</p></li>
<li><p>If the character in <var title="">input</var> pointed to
- by <var title="">position</var> is one of U+0052 LATIN CAPITAL
- LETTER R or U+0072 LATIN SMALL LETTER R, then advance <var
- title="">position</var> to the next character. Otherwise, jump to
- the last step.</p></li>
+ by <var title="">position</var> is a U+0052 LATIN CAPITAL LETTER
+ R character (R) or a U+0072 LATIN SMALL LETTER R character (r),
+ then advance <var title="">position</var> to the next
+ character. Otherwise, jump to the last step.</p></li>
<li><p>If the character in <var title="">input</var> pointed to
- by <var title="">position</var> is one of U+004C LATIN CAPITAL
- LETTER L or U+006C LATIN SMALL LETTER L, then advance <var
- title="">position</var> to the next character. Otherwise, jump to
- the last step.</p></li>
+ by <var title="">position</var> is s U+004C LATIN CAPITAL LETTER
+ L character (L) or a U+006C LATIN SMALL LETTER L character (l),
+ then advance <var title="">position</var> to the next
+ character. Otherwise, jump to the last step.</p></li>
<li><p><span>Skip whitespace</span>.</p></li>
@@ -12039,13 +12037,14 @@
<li> just a <span>valid non-negative integer</span>, or</li>
<li> a <span>valid non-negative integer</span>, followed by a
- U+003B SEMICOLON (<code title="">;</code>), followed by one or
- more <span title="space character">space characters</span>,
- followed by either a U+0055 LATIN CAPITAL LETTER U or a U+0075
- LATIN SMALL LETTER U, a U+0052 LATIN CAPITAL LETTER R or a U+0072
- LATIN SMALL LETTER R, a U+004C LATIN CAPITAL LETTER L or a U+006C
- LATIN SMALL LETTER L, a U+003D EQUALS SIGN (<code
- title="">=</code>), and then a <span>valid URL</span>.</li>
+ U+003B SEMICOLON character (;), followed by one or more <span
+ title="space character">space characters</span>, followed by
+ either a U+0055 LATIN CAPITAL LETTER U character (U) or a U+0075
+ LATIN SMALL LETTER U character (u), a U+0052 LATIN CAPITAL LETTER
+ R character (R) or a U+0072 LATIN SMALL LETTER R character (r), a
+ U+004C LATIN CAPITAL LETTER L character (L) or a U+006C LATIN
+ SMALL LETTER L character (l), a U+003D EQUALS SIGN character (=),
+ and then a <span>valid URL</span>.</li>
</ul>
@@ -16459,10 +16458,11 @@
<li>Let the <dfn><var>hyperlink suffix</var></dfn> be a U+003F
QUESTION MARK character, the value of <var title="">x</var>
- expressed as a base-ten integer using ASCII digits (U+0030 DIGIT
- ZERO to U+0039 DIGIT NINE), a U+002C COMMA character, and the
- value of <var title="">y</var> expressed as a base-ten integer
- using ASCII digits.</li>
+ expressed as a base-ten integer using ASCII digits, a U+002C
+ COMMA character (,), and the value of <var title="">y</var>
+ expressed as a base-ten integer using ASCII digits. ASCII digits
+ are the characters in the range U+0030 DIGIT ZERO (0) to U+0039
+ DIGIT NINE (9).</li>
</ol>
@@ -21943,7 +21943,7 @@
<p>Any (namespace-less) attribute may be specified on the
<code>embed</code> element, so long as its name is
<span>XML-compatible</span> and contains no characters in the range
- U+0041 .. U+005A (LATIN CAPITAL LETTER A LATIN CAPITAL LETTER
+ U+0041 .. U+005A (LATIN CAPITAL LETTER A to LATIN CAPITAL LETTER
Z). These attributes are then passed as parameters to the
<span>plugin</span>.</p>
@@ -43509,19 +43509,19 @@
<li><p>If the <var title="">field</var> element has an <code
title="attr-fe-name">name</code> attribute specified and value
is not the empty string, let <var title="">name</var> be that
- value followed by a single U+002E FULL STOP (.)
- character. Otherwise, let <var title="">name</var> be the empty
+ value followed by a single U+002E FULL STOP character
+ (.). Otherwise, let <var title="">name</var> be the empty
string.</p></li>
<li><p>Let <var title="">name<sub title="">x</sub></var> be the
string consisting of the concatenation of <var
title="">name</var> and a single U+0078 LATIN SMALL LETTER X
- (x) character.</p></li>
+ character (x).</p></li>
<li><p>Let <var title="">name<sub title="">y</sub></var> be the
string consisting of the concatenation of <var
title="">name</var> and a single U+0079 LATIN SMALL LETTER Y
- (y) character.</p></li>
+ character (y).</p></li>
<li><p>The <var title="">field</var> element is <var
title="">submitter</var>, and before this algorithm was invoked
@@ -43758,7 +43758,7 @@
that is equal to the <var title="">action</var> except that its
<span title="url-query"><query></span> component is
replaced by <var title="">query</var> (adding a U+003F QUESTION
- MARK (?) character if appropriate).</p>
+ MARK character (?) if appropriate).</p>
<p>Let <var title="">target browsing context</var> be <span>the
form submission target browsing context</span>.</p>
@@ -49730,8 +49730,8 @@
item, or</li>
<li>If the item is not a <span>typed item</span>: a string that
- contains no U+002E FULL STOP (.) characters and no U+003A COLON (:)
- characters.</li>
+ contains no U+002E FULL STOP characters (.) and no U+003A COLON
+ characters (:).</li>
</ul>
@@ -50961,24 +50961,24 @@
<li>Optionally, either a U+002B PLUS SIGN character (+) or a
U+002D HYPHEN-MINUS character (-).</li>
- <li>One or more digits in the range U+0030 DIGIT ZERO .. U+0039
- DIGIT NINE.</li>
+ <li>One or more digits in the range U+0030 DIGIT ZERO (0) to
+ U+0039 DIGIT NINE (9).</li>
<li>Optionally*, a U+002E FULL STOP character (.) followed by one
- or more digits in the range U+0030 DIGIT ZERO .. U+0039 DIGIT
- NINE.</li>
+ or more digits in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT
+ NINE (9).</li>
<li>A U+003B SEMICOLON character (;).</li>
<li>Optionally, either a U+002B PLUS SIGN character (+) or a
U+002D HYPHEN-MINUS character (-).</li>
- <li>One or more digits in the range U+0030 DIGIT ZERO .. U+0039
- DIGIT NINE.</li>
+ <li>One or more digits in the range U+0030 DIGIT ZERO (0) to U+0039
+ DIGIT NINE (9).</li>
<li>Optionally*, a U+002E FULL STOP character (.) followed by one
- or more digits in the range U+0030 DIGIT ZERO .. U+0039 DIGIT
- NINE.</li>
+ or more digits in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT
+ NINE (9).</li>
</ol>
@@ -51950,14 +51950,14 @@
REVERSE SOLIDUS character (\).</p></li>
<li><p>Replace every U+000D CARRIAGE RETURN U+000A LINE FEED
- character pair (CRLF) in <var title="">value</var> with a U+005C REVERSE
- SOLIDUS character (\) followed by a U+006E LATIN SMALL LETTER
- N.</p></li>
+ character pair (CRLF) in <var title="">value</var> with a
+ U+005C REVERSE SOLIDUS character (\) followed by a U+006E
+ LATIN SMALL LETTER N character (n).</p></li>
<li><p>Replace every remaining U+000D CARRIAGE RETURN (CR) or
U+000A LINE FEED (LF) character in <var title="">value</var>
- with a U+005C REVERSE SOLIDUS character (\) followed by a U+006E
- LATIN SMALL LETTER N.</p></li>
+ with a U+005C REVERSE SOLIDUS character (\) followed by a
+ U+006E LATIN SMALL LETTER N character (n).</p></li>
</ol>
@@ -52269,12 +52269,12 @@
<li><p>Replace every U+000D CARRIAGE RETURN U+000A LINE FEED
character pair (CRLF) in <var title="">value</var> with a U+005C
REVERSE SOLIDUS character (\) followed by a U+006E LATIN SMALL
- LETTER N.</p></li>
+ LETTER N character (n).</p></li>
<li><p>Replace every remaining U+000D CARRIAGE RETURN (CR) or
U+000A LINE FEED (LF) character in <var title="">value</var> with a
U+005C REVERSE SOLIDUS character (\) followed by a U+006E LATIN
- SMALL LETTER N.</p></li>
+ SMALL LETTER N character (n).</p></li>
<li><p>Return the mutated <var title="">value</var>.</p></li>
@@ -52536,24 +52536,24 @@
<li>Optionally, either a U+002B PLUS SIGN character (+) or a
U+002D HYPHEN-MINUS character (-).</li>
- <li>One or more digits in the range U+0030 DIGIT ZERO .. U+0039
- DIGIT NINE.</li>
+ <li>One or more digits in the range U+0030 DIGIT ZERO (0) to U+0039
+ DIGIT NINE (9).</li>
<li>Optionally*, a U+002E FULL STOP character (.) followed by one
- or more digits in the range U+0030 DIGIT ZERO .. U+0039 DIGIT
- NINE.</li>
+ or more digits in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT
+ NINE (9).</li>
<li>A U+003B SEMICOLON character (;).</li>
<li>Optionally, either a U+002B PLUS SIGN character (+) or a
U+002D HYPHEN-MINUS character (-).</li>
- <li>One or more digits in the range U+0030 DIGIT ZERO .. U+0039
- DIGIT NINE.</li>
+ <li>One or more digits in the range U+0030 DIGIT ZERO (0) to U+0039
+ DIGIT NINE (9).</li>
<li>Optionally*, a U+002E FULL STOP character (.) followed by one
- or more digits in the range U+0030 DIGIT ZERO .. U+0039 DIGIT
- NINE.</li>
+ or more digits in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT
+ NINE (9).</li>
</ol>
@@ -52979,15 +52979,15 @@
<ol>
- <li>A U+0050 LATIN CAPITAL LETTER P character.</li>
+ <li>A U+0050 LATIN CAPITAL LETTER P character (P).</li>
<li>One of the following:
<ul>
<li> A <span>valid non-negative integer</span> followed by a
- U+0057 LATIN CAPITAL LETTER W character. The integer represents
- a duration of that number of weeks. </li>
+ U+0057 LATIN CAPITAL LETTER W character (W). The integer
+ represents a duration of that number of weeks. </li>
<li> At least one, and possible both in this order, of the
following:
@@ -52995,27 +52995,27 @@
<ol>
<li> A <span>valid non-negative integer</span> followed by a
- U+0044 LATIN CAPITAL LETTER D character. The integer
+ U+0044 LATIN CAPITAL LETTER D character (D). The integer
represents a duration of that number of days. </li>
- <li> A U+0054 LATIN CAPITAL LETTER T character followed by
+ <li> A U+0054 LATIN CAPITAL LETTER T character (T) followed by
any one of the following, or the first and second of the
following in that order, or the second and third of the
- following in that order, or all three of the following in
- this order:
+ following in that order, or all three of the following in this
+ order:
<ol>
- <li> A <span>valid non-negative integer</span> followed by
- a U+0048 LATIN CAPITAL LETTER H character. The integer
+ <li> A <span>valid non-negative integer</span> followed by a
+ U+0048 LATIN CAPITAL LETTER H character (H). The integer
represents a duration of that number of hours. </li>
- <li> A <span>valid non-negative integer</span> followed by
- a U+004D LATIN CAPITAL LETTER M character. The integer
+ <li> A <span>valid non-negative integer</span> followed by a
+ U+004D LATIN CAPITAL LETTER M character (M). The integer
represents a duration of that number of minutes. </li>
- <li> A <span>valid non-negative integer</span> followed by
- a U+0053 LATIN CAPITAL LETTER S character. The integer
+ <li> A <span>valid non-negative integer</span> followed by a
+ U+0053 LATIN CAPITAL LETTER S character (S). The integer
represents a duration of that number of seconds. </li>
</ol>
@@ -53212,14 +53212,14 @@
(\).</p></li>
<li><p>Replace every U+000D CARRIAGE RETURN U+000A LINE FEED
- character pair (CRLF) in <var title="">value</var> with a
- U+005C REVERSE SOLIDUS character (\) followed by a U+006E
- LATIN SMALL LETTER N.</p></li>
+ character pair (CRLF) in <var title="">value</var> with a U+005C
+ REVERSE SOLIDUS character (\) followed by a U+006E LATIN SMALL
+ LETTER N character (n).</p></li>
<li><p>Replace every remaining U+000D CARRIAGE RETURN (CR) or
- U+000A LINE FEED (LF) character in <var title="">value</var>
- with a U+005C REVERSE SOLIDUS character (\) followed by a
- U+006E LATIN SMALL LETTER N.</p></li>
+ U+000A LINE FEED (LF) character in <var title="">value</var> with a
+ U+005C REVERSE SOLIDUS character (\) followed by a U+006E LATIN
+ SMALL LETTER N character (n).</p></li>
<li><p>Append <var title="">value</var> to <var
title="">line</var>.</p></li>
@@ -56078,13 +56078,13 @@
<li><p>Apply the IDNA ToUnicode algorithm to each component of the
host part of the <span>origin</span> tuple, and append the results
— each component, in the same order, separated by U+002E FULL
- STOP characters (".") — to <var title="">result</var>. <a
+ STOP characters (.) — to <var title="">result</var>. <a
href="#refsRFC3490">[RFC3490]</a></p></li>
<li><p>If the port part of the <span>origin</span> tuple gives a port
that is different from the default port for the protocol given by
the scheme part of the <span>origin</span> tuple, then append a
- U+003A COLON character (":") and the given port, in base ten, to
+ U+003A COLON character (:) and the given port, in base ten, to
<var title="">result</var>.</p></li>
<li><p>Return <var title="">result</var>.</p></li>
@@ -56125,7 +56125,7 @@
<li><p>If the port part of the <span>origin</span> tuple gives a port
that is different from the default port for the protocol given by
the scheme part of the <span>origin</span> tuple, then append a
- U+003A COLON character (":") and the given port, in base ten, to
+ U+003A COLON character (:) and the given port, in base ten, to
<var title="">result</var>.</p></li>
<li><p>Return <var title="">result</var>.</p></li>
@@ -56249,7 +56249,7 @@
<li>
<p>If <var title="">new value</var>, prefixed by a U+002E FULL
- STOP ("."), does not exactly match the end of the current value,
+ STOP (.), does not exactly match the end of the current value,
throw a <code>SECURITY_ERR</code> exception and abort these
steps.</p>
@@ -56259,7 +56259,7 @@
<p>If <var title="">new value</var> matches a suffix in the
Public Suffix List, or, if <var title="">new value</var>,
- prefixed by a U+002E FULL STOP ("."), matches the end of a
+ prefixed by a U+002E FULL STOP (.), matches the end of a
suffix in the Public Suffix List, then throw a
<code>SECURITY_ERR</code> exception and abort these steps. <a
href="#refsPSL">[PSL]</a></p>
@@ -59437,7 +59437,7 @@
<dd>
<p>Comment lines must consist of zero or more U+0020 SPACE and
U+0009 CHARACTER TABULATION (tab) characters, followed by a single
- U+0023 NUMBER SIGN (#) character, followed by zero or more
+ U+0023 NUMBER SIGN character (#), followed by zero or more
characters other than U+000A LINE FEED (LF) and U+000D CARRIAGE
RETURN (CR) characters.</p>
@@ -59465,7 +59465,7 @@
<p>Section header lines must consist of zero or more U+0020 SPACE
and U+0009 CHARACTER TABULATION (tab) characters, followed by one
- of the names above (including the U+003A COLON (:) character)
+ of the names above (including the U+003A COLON character (:))
followed by zero or more U+0020 SPACE and U+0009 CHARACTER
TABULATION (tab) characters.</p>
@@ -59542,7 +59542,7 @@
sections</span>. (This is needed for any URL that the page is
intending to use to communicate back to the server.) To specify that
all URLs are automatically whitelisted in this way, a U+002A
- ASTERISK character (*) character may be specified as one of the
+ ASTERISK character character (*) may be specified as one of the
URLs. <!-- concept-appcache-onlinewhitelist-wildcard --></p>
<p>Relative URLs must be given relative to the manifest's own
@@ -59654,21 +59654,21 @@
back to the step labeled "start of line".</p></li>
<li><p>If the first character in <var title="">line</var> is a
- U+0023 NUMBER SIGN (#) character, then jump back to the step
+ U+0023 NUMBER SIGN character (#), then jump back to the step
labeled "start of line".</p></li>
<li><p>If <var title="">line</var> equals "CACHE:" (the word
- "CACHE" followed by a U+003A COLON (:) character), then set <var
+ "CACHE" followed by a U+003A COLON character (:)), then set <var
title="">mode</var> to "explicit" and jump back to the step
labeled "start of line".</p></li>
<li><p>If <var title="">line</var> equals "FALLBACK:" (the word
- "FALLBACK" followed by a U+003A COLON (:) character), then set <var
+ "FALLBACK" followed by a U+003A COLON character (:)), then set <var
title="">mode</var> to "fallback" and jump back to the step
labeled "start of line".</p></li>
<li><p>If <var title="">line</var> equals "NETWORK:" (the word
- "NETWORK" followed by a U+003A COLON (:) character), then set <var
+ "NETWORK" followed by a U+003A COLON character (:)), then set <var
title="">mode</var> to "online whitelist" and jump back to the step
labeled "start of line".</p></li>
@@ -65899,7 +65899,7 @@
two <span title="valid non-negative integer">valid non-negative
integers</span> that do not have a leading U+0030 DIGIT ZERO (0)
character and that are separated by a single U+0078 LATIN SMALL
- LETTER X character.</p>
+ LETTER X character (x).</p>
<p>The keywords represent icon sizes.</p>
@@ -65924,7 +65924,7 @@
<ul>
<li><p>If the keyword doesn't contain exactly one U+0078 LATIN
- SMALL LETTER X character, then this keyword doesn't represent
+ SMALL LETTER X character (x), then this keyword doesn't represent
anything. Abort these steps for that keyword.</p></li>
<li><p>Let <var title="">width string</var> be the string before
@@ -70675,8 +70675,8 @@
<li><p>If the <var title="">value</var> argument wasn't
specified, abort these steps without doing anything.</p></li>
<li><p>If the <var title="">value</var> argument has a leading
- U+003C LESS-THAN SIGN character ('<') and a trailing U+003E
- GREATER-THAN SIGN character ('>'), then remove the first and last
+ U+003C LESS-THAN SIGN character (<) and a trailing U+003E
+ GREATER-THAN SIGN character (>), then remove the first and last
characters from <var title="">value</var>.</p></li>
<li>
<p>If <var title="">value</var> is (now) an <span>ASCII
@@ -73221,21 +73221,21 @@
defined below.</p></dd>
- <dt>If the line starts with a U+003A COLON character (':')</dt>
+ <dt>If the line starts with a U+003A COLON character (:)</dt>
<dd><p>Ignore the line.</p></dd>
- <dt>If the line contains a U+003A COLON character (':') character</dt>
+ <dt>If the line contains a U+003A COLON character character (:)</dt>
<dd>
<p>Collect the characters on the line before the first U+003A
- COLON character (':'), and let <var title="">field</var> be that
+ COLON character (:), and let <var title="">field</var> be that
string.</p>
<p>Collect the characters on the line after the first U+003A COLON
- character (':'), and let <var title="">value</var> be that
+ character (:), and let <var title="">value</var> be that
string. If <var title="">value</var> starts with a single U+0020
SPACE character, remove it from <var title="">value</var>.</p>
@@ -73246,7 +73246,7 @@
</dd>
- <dt>Otherwise, the string is not empty but does not contain a U+003A COLON character (':') character</dt>
+ <dt>Otherwise, the string is not empty but does not contain a U+003A COLON character character (:)</dt>
<dd>
@@ -73294,7 +73294,7 @@
<dt>If the field name is "retry"</dt>
<dd><p>If the field value consists of only characters in the range
- U+0030 DIGIT ZERO ('0') .. U+0039 DIGIT NINE ('9'), then interpret the
+ U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9), then interpret the
field value as an integer in base ten, and set the event stream's
<span title="concept-event-stream-reconnection-time">reconnection
time</span> to that integer. Otherwise, ignore the field.</p></dd>
@@ -74168,7 +74168,7 @@
<li><p>If <var title="">url</var> has a <span
title="url-query"><query></span> component, then append a
- single U+003F QUESTION MARK (?) character to <var title="">resource
+ single U+003F QUESTION MARK character (?) to <var title="">resource
name</var>, followed by the value of the <span
title="url-query"><query></span> component.</p></li> <!-- at
this point this is UTF-8 encoded and %-escaped -->
@@ -74233,7 +74233,7 @@
a string giving a <var title="">resource name</var>, and optionally
with a string giving a <var title="">protocol</var>, it must run the
following steps. The <var title="">resource name</var> string must
- start with a U+002F SOLIDUS (/) character. <a
+ start with a U+002F SOLIDUS character (/). <a
href="#refsORIGIN">[ORIGIN]</a></p>
<ol>
@@ -74334,10 +74334,10 @@
<p>Send the following bytes:</p>
- <pre>20 48 54 54 50 2f 31 2e 31 0d 0a 55 70 67 72 61
-64 65 3a 20 57 65 62 53 6f 63 6b 65 74 0d 0a 43
-6f 6e 6e 65 63 74 69 6f 6e 3a 20 55 70 67 72 61
-64 65 0d 0a</pre>
+ <pre>20 48 54 54 50 2F 31 2E 31 0D 0A 55 70 67 72 61
+64 65 3A 20 57 65 62 53 6F 63 6B 65 74 0D 0A 43
+6F 6E 6E 65 63 74 69 6F 6E 3A 20 55 70 67 72 61
+64 65 0D 0A</pre>
<p class="note">The string "GET ", the path,
" HTTP/1.1", CRLF, the string "Upgrade: WebSocket",
@@ -74349,20 +74349,20 @@
<p>Send the following bytes:</p>
- <pre>48 6f 73 74 3a 20</pre>
+ <pre>48 6F 73 74 3A 20</pre>
<p>Send the <var title="">host</var> value, <span>converted to
ASCII lowercase</span>, and encoded as US-ASCII.</p>
<p>If <var title="">secure</var> is false, and <var
title="">port</var> is not 80, or if <var title="">secure</var> is
- true, and <var title="">port</var> is not 443, then send an 0x3a
- byte (":") followed by the value of <var title="">port</var>,
+ true, and <var title="">port</var> is not 443, then send an 0x3A
+ byte (ASCII :) followed by the value of <var title="">port</var>,
expressed as a base-ten integer, encoded as US-ASCII.</p>
<p>Send the following bytes:</p>
- <pre>0d 0a</pre>
+ <pre>0D 0A</pre>
<p class="note">The string "Host: ", the host, and CRLF.</p>
@@ -74372,7 +74372,7 @@
<p>Send the following bytes:</p>
- <pre>4f 72 69 67 69 6e 3a 20</pre>
+ <pre>4F 72 69 67 69 6E 3A 20</pre>
<p>Send the <var title="">origin</var> value, <span>converted to
ASCII lowercase</span>, encoded as US-ASCII. <a href="#refsORIGIN">[ORIGIN]</a></p>
@@ -74382,7 +74382,7 @@
<p>Send the following bytes:</p>
- <pre>0d 0a</pre>
+ <pre>0D 0A</pre>
<p class="note">The string "Origin: ", the origin, and CRLF.</p> <!-- http-origin -->
@@ -74394,8 +74394,8 @@
<p>Otherwise, send the following bytes:</p>
- <pre>57 65 62 53 6f 63 6b 65 74 2d 50 72 6f 74 6f 63
-6f 6c 3a 20</pre>
+ <pre>57 65 62 53 6F 63 6B 65 74 2D 50 72 6F 74 6F 63
+6F 6C 3A 20</pre>
<p>Send the <var title="">protocol</var> value, encoded as
US-ASCII.</p>
@@ -74454,11 +74454,11 @@
<li>
<p>Read bytes from the server until either the connection closes,
- or a 0x0a byte is read. Let <var title="">header</var> be these
- bytes, including the 0x0a byte.</p>
+ or a 0x0A byte is read. Let <var title="">header</var> be these
+ bytes, including the 0x0A byte.</p>
<p>If <var title="">header</var> is not at least two bytes long,
- or if the last two bytes aren't 0x0d and 0x0a respectively, then
+ or if the last two bytes aren't 0x0D and 0x0A respectively, then
<span>fail the Web Socket connection</span> and abort these
steps.</p>
@@ -74475,9 +74475,9 @@
match the following, then let <var title="">mode</var> be <i
title="">normal</i>.</p>
- <pre>48 54 54 50 2f 31 2e 31 20 31 30 31 20 57 65 62
-20 53 6f 63 6b 65 74 20 50 72 6f 74 6f 63 6f 6c
-20 48 61 6e 64 73 68 61 6b 65 0d 0a</pre>
+ <pre>48 54 54 50 2F 31 2E 31 20 31 30 31 20 57 65 62
+20 53 6F 63 6B 65 74 20 50 72 6F 74 6F 63 6F 6C
+20 48 61 6E 64 73 68 61 6B 65 0D 0A</pre>
<p class="note">The string
"HTTP/1.1 101 Web Socket Protocol Handshake"
@@ -74514,9 +74514,9 @@
<span>fail the Web Socket connection</span> and abort these
steps.</p>
- <pre>55 70 67 72 61 64 65 3a 20 57 65 62 53 6f 63 6b
-65 74 0d 0a 43 6f 6e 6e 65 63 74 69 6f 6e 3a 20
-55 70 67 72 61 64 65 0d 0a</pre>
+ <pre>55 70 67 72 61 64 65 3A 20 57 65 62 53 6F 63 6B
+65 74 0D 0A 43 6F 6E 6E 65 63 74 69 6F 6E 3A 20
+55 70 67 72 61 64 65 0D 0A</pre>
<p class="note">The string "Upgrade: WebSocket", CRLF, the
string "Connection: Upgrade", CRLF.</p>
@@ -74551,7 +74551,7 @@
<dl class="switch">
- <dt>If the byte is 0x0d (ASCII CR)</dt>
+ <dt>If the byte is 0x0D (ASCII CR)</dt>
<dd>If the <var title="">name</var> byte array is empty, then
jump to the <a href="#ws-ua-headers-processing">headers
@@ -74559,18 +74559,18 @@
connection</span> and abort these steps.</dd>
- <dt>If the byte is 0x0a (ASCII LF)</dt>
+ <dt>If the byte is 0x0A (ASCII LF)</dt>
<dd><span>Fail the Web Socket connection</span> and abort these
steps.</dd>
- <dt>If the byte is 0x3a (ASCII ":")</dt>
+ <dt>If the byte is 0x3A (ASCII :)</dt>
<dd>Move on to the next step.</dd>
- <dt>If the byte is in the range 0x41 .. 0x5a (ASCII "A" .. "Z")</dt>
+ <dt>If the byte is in the range 0x41 .. 0x5A (ASCII A .. Z)</dt>
<dd>Append a byte whose value is the byte's value plus 0x20 to
the <var title="">name</var> byte array and redo this step for
@@ -74633,12 +74633,12 @@
<dl class="switch">
- <dt>If the byte is 0x0d (ASCII CR)</dt>
+ <dt>If the byte is 0x0D (ASCII CR)</dt>
<dd>Move on to the next step.</dd>
- <dt>If the byte is 0x0a (ASCII LF)</dt>
+ <dt>If the byte is 0x0A (ASCII LF)</dt>
<dd><span>Fail the Web Socket connection</span> and abort these
steps.</dd>
@@ -74661,7 +74661,7 @@
<p>Read a byte from the server.</p>
<p>If the connection closes before this byte is received, or if
- the byte is not a 0x0a byte (ASCII LF), then <span>fail the Web
+ the byte is not a 0x0A byte (ASCII LF), then <span>fail the Web
Socket connection</span> and abort these steps.</p>
<p class="note">This skips past the LF byte of the CRLF after the
@@ -74691,7 +74691,7 @@
<p><i>Headers processing</i>: Read a byte from the server.</p>
<p>If the connection closes before this byte is received, or if
- the byte is not a 0x0a byte (ASCII LF), then <span>fail the Web
+ the byte is not a 0x0A byte (ASCII LF), then <span>fail the Web
Socket connection</span> and abort these steps.</p>
<p class="note">This skips past the LF byte of the CRLF after the
@@ -74914,7 +74914,7 @@
<li><p>Let <var title="">b<sub title="">v</sub></var> be
integer corresponding to the low 7 bits of <var title="">b</var>
(the value you would get by <i>and</i>ing <var title="">b</var>
- with 0x7f).</p></li>
+ with 0x7F).</p></li>
<li><p>Multiply <var title="">length</var> by 128, add <var
title="">b<sub title="">v</sub></var> to that result, and store
@@ -74954,7 +74954,7 @@
starvation, then it must <span>fail the Web Socket
connection</span> and abort these steps.</p>
- <li><p>If <var title="">b</var> is not 0xff, then append <var
+ <li><p>If <var title="">b</var> is not 0xFF, then append <var
title="">b</var> to <var title="">raw data</var> and return to
the previous step (labeled <a
href="#ws-cd-data"><i>data</i></a>).</p></li>
@@ -74995,7 +74995,7 @@
<li><p>Encode <var title="">data</var> using UTF-8 and send the
resulting byte stream to the server.</p></li>
- <li><p>Send a 0xff byte to the server.</p></li>
+ <li><p>Send a 0xFF byte to the server.</p></li>
</ol>
@@ -75045,18 +75045,18 @@
open a connection and send the following bytes back to the
client:</p>
- <pre>48 54 54 50 2f 31 2e 31 20 31 30 31 20 57 65 62
-20 53 6f 63 6b 65 74 20 50 72 6f 74 6f 63 6f 6c
-20 48 61 6e 64 73 68 61 6b 65 0d 0a 55 70 67 72
-61 64 65 3a 20 57 65 62 53 6f 63 6b 65 74 0d 0a
-43 6f 6e 6e 65 63 74 69 6f 6e 3a 20 55 70 67 72
-61 64 65 0d 0a</pre>
+ <pre>48 54 54 50 2F 31 2E 31 20 31 30 31 20 57 65 62
+20 53 6F 63 6B 65 74 20 50 72 6F 74 6F 63 6F 6C
+20 48 61 6E 64 73 68 61 6B 65 0D 0A 55 70 67 72
+61 64 65 3A 20 57 65 62 53 6F 63 6B 65 74 0D 0A
+43 6F 6E 6E 65 63 74 69 6F 6E 3A 20 55 70 67 72
+61 64 65 0D 0A</pre>
<p>Send the string "<code title="">WebSocket-Origin</code>" followed
- by a U+003A COLON (":") and a U+0020 SPACE, followed by the <span
+ by a U+003A COLON (:) and a U+0020 SPACE, followed by the <span
title="ASCII serialization of an origin">ASCII serialization</span>
of the origin from which the server is willing to accept
- connections, followed by a CRLF pair (0x0d 0x0a). <a
+ connections, followed by a CRLF pair (0x0D 0x0A). <a
href="#refsORIGIN">[ORIGIN]</a></p>
<div class="example">
@@ -75068,9 +75068,9 @@
</div>
<p>Send the string "<code title="">WebSocket-Location</code>"
- followed by a U+003A COLON (":") and a U+0020 SPACE, followed by the
+ followed by a U+003A COLON (:) and a U+0020 SPACE, followed by the
<span>URL</span> of the Web Socket script, followed by a CRLF pair
- (0x0d 0x0a).</p>
+ (0x0D 0x0A).</p>
<div class="example">
@@ -75084,9 +75084,9 @@
for Web Socket protocol connections of the type in question (80 for
unencrypted connections and 443 for encrypted connections).</p>
- <p>Send another CRLF pair (0x0d 0x0a).</p>
+ <p>Send another CRLF pair (0x0D 0x0A).</p>
- <p>Read data from the client until four bytes 0x0d 0x0a 0x0d 0x0a
+ <p>Read data from the client until four bytes 0x0D 0x0A 0x0D 0x0A
are read. This data must either be discarded or handled as described
in the following section describing the handshake details.</p>
@@ -75100,7 +75100,7 @@
client during the handshake.</p>
<p>The data sent by the client consists of a number of fields
- separated by CR LF pairs (bytes 0x0d 0x0a).</p>
+ separated by CR LF pairs (bytes 0x0D 0x0A).</p>
<p>The first field consists of three tokens separated by space
characters (byte 0x20). The middle token is the path being
@@ -75118,11 +75118,11 @@
<p>The remaining fields consist of name-value pairs, with the name
part separated from the value part by a colon and a space (bytes
- 0x3a 0x20). Of these, several are interesting:</p>
+ 0x3A 0x20). Of these, several are interesting:</p>
<dl>
- <dt>Host (bytes 48 6f 73 74)</dt>
+ <dt>Host (bytes 48 6F 73 74)</dt>
<dd>
@@ -75139,7 +75139,7 @@
</dd>
- <dt>Origin (bytes 4f 72 69 67 69 6e)</dt> <!-- http-origin -->
+ <dt>Origin (bytes 4F 72 69 67 69 6E)</dt> <!-- http-origin -->
<dd>
@@ -75196,7 +75196,7 @@
<li id="ws-sd-data"><p><i>Data</i>: Read a byte, let <var
title="">b</var> be that byte.</p></li>
- <li><p>If <var title="">b</var> is not 0xff, then append <var
+ <li><p>If <var title="">b</var> is not 0xFF, then append <var
title="">b</var> to <var title="">raw data</var> and return to the
previous step (labeled <a href="#ws-sd-data"><i>data</i></a>).</p></li>
@@ -75221,7 +75221,7 @@
<li><p>Encode <var title="">data</var> using UTF-8 and send the
resulting byte stream to the client.</p></li>
- <li><p>Send a 0xff byte to the client to indicate the end of the
+ <li><p>Send a 0xFF byte to the client to indicate the end of the
message.</p></li>
</ol>
@@ -75592,7 +75592,7 @@
title="dom-window-postMessage-2">postMessage()</code> method could
result in the attack being propagated into the receiver.</p>
- <p>Authors should not use the wildcard keyword ("*") in the <var
+ <p>Authors should not use the wildcard keyword (*) in the <var
title="">targetOrigin</var> argument in messages that contain any
confidential information, as otherwise there is no way to guarantee
that the message is only delivered to the recipient to which it was
@@ -75656,7 +75656,7 @@
<li>
<p>If the value of the <var title="">targetOrigin</var> argument
- is not a single U+002A ASTERISK character ("*"), and <span
+ is not a single U+002A ASTERISK character (*), and <span
title="resolve a url">resolving</span> it relative to the
<span>first script</span>'s <span title="script's base URL">base
URL</span> either fails or results in a <span>URL</span> with a
@@ -75687,7 +75687,7 @@
<li>
<p>If the <var title="">targetOrigin</var> argument has a value
- other than a single literal U+002A ASTERISK character ("*"), and
+ other than a single literal U+002A ASTERISK character (*), and
the <code>Document</code> of the <code>Window</code> object on
which the method was invoked does not have the <span>same
origin</span> as <var title="">targetOrigin</var>, then abort
@@ -75748,7 +75748,7 @@
<li>
<p>If the value of the <var title="">targetOrigin</var> argument
- is not a single U+002A ASTERISK character ("*"), and <span
+ is not a single U+002A ASTERISK character (*), and <span
title="resolve a url">resolving</span> it relative to the
<span>first script</span>'s <span title="script's base URL">base
URL</span> either fails or results in a <span>URL</span> with a
@@ -75816,7 +75816,7 @@
<li>
<p>If the <var title="">targetOrigin</var> argument has a value
- other than a single literal U+002A ASTERISK character ("*"), and
+ other than a single literal U+002A ASTERISK character (*), and
the <code>Document</code> of the <code>Window</code> object on
which the method was invoked does not have the <span>same
origin</span> as <var title="">targetOrigin</var>, then abort
@@ -76622,10 +76622,10 @@
<p>Tags contain a <dfn title="syntax-tag-name">tag name</dfn>,
giving the element's name. HTML elements all have names that only
- use characters in the range U+0030 DIGIT ZERO .. U+0039 DIGIT NINE,
- U+0061 LATIN SMALL LETTER A .. U+007A LATIN SMALL LETTER Z, and
- U+0041 LATIN CAPITAL LETTER A .. U+005A LATIN CAPITAL LETTER Z. In
- the HTML syntax, tag names, even those for <span>foreign
+ use characters in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT
+ NINE (9), U+0061 LATIN SMALL LETTER A to U+007A LATIN SMALL LETTER
+ Z, and U+0041 LATIN CAPITAL LETTER A to U+005A LATIN CAPITAL LETTER
+ Z. In the HTML syntax, tag names, even those for <span>foreign
elements</span>, may be written with any mix of lower- and uppercase
letters that, when converted to all-lowercase, matches the element's
tag name; tag names are case-insensitive.</p>
@@ -76807,7 +76807,7 @@
<p>If an attribute using the unquoted attribute syntax is to be
followed by another attribute or by the optional U+002F SOLIDUS
- (<code>/</code>) character allowed in step 6 of the <span
+ character (/) allowed in step 6 of the <span
title="syntax-start-tag">start tag</span> syntax above, then there
must be a <span>space character</span> separating the two.</p>
@@ -77223,33 +77223,32 @@
<dd>The ampersand must be followed by one of the names given in the
<span>named character references</span> section, using the same
case. The name must be one that is terminated by a U+003B SEMICOLON
- (<code title="">;</code>) character.</dd>
+ character (;).</dd>
<dt>Decimal numeric character reference</dt>
<dd>The ampersand must be followed by a U+0023 NUMBER SIGN
(<code>#</code>) character, followed by one or more digits in the
- range U+0030 DIGIT ZERO .. U+0039 DIGIT NINE, representing a
- base-ten integer that corresponds to a Unicode code point that is
+ range U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9), representing
+ a base-ten integer that corresponds to a Unicode code point that is
allowed according to the definition below. The digits must then be
- followed by a U+003B SEMICOLON character (<code
- title="">;</code>).</dd>
+ followed by a U+003B SEMICOLON character (;).</dd>
<dt>Hexadecimal numeric character reference</dt>
<dd>The ampersand must be followed by a U+0023 NUMBER SIGN
(<code>#</code>) character, which must be followed by either a
- U+0078 LATIN SMALL LETTER X or a U+0058 LATIN CAPITAL LETTER X
- character, which must then be followed by one or more digits in the
- range U+0030 DIGIT ZERO .. U+0039 DIGIT NINE, U+0061 LATIN SMALL
- LETTER A .. U+0066 LATIN SMALL LETTER F, and U+0041 LATIN CAPITAL
- LETTER A .. U+0046 LATIN CAPITAL LETTER F, representing a
- base-sixteen integer that corresponds to a Unicode code point that
- is allowed according to the definition below. The digits must then
- be followed by a U+003B SEMICOLON character (<code
- title="">;</code>).</dd>
+ U+0078 LATIN SMALL LETTER X character (x) or a U+0058 LATIN CAPITAL
+ LETTER X character (X), which must then be followed by one or more
+ digits in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9),
+ U+0061 LATIN SMALL LETTER A to U+0066 LATIN SMALL LETTER F, and
+ U+0041 LATIN CAPITAL LETTER A to U+0046 LATIN CAPITAL LETTER F,
+ representing a base-sixteen integer that corresponds to a Unicode
+ code point that is allowed according to the definition below. The
+ digits must then be followed by a U+003B SEMICOLON character
+ (;).</dd>
</dl>
@@ -77260,11 +77259,11 @@
characters</span>.</p>
<p>An <dfn title="syntax-ambiguous-ampersand">ambiguous
- ampersand</dfn> is a U+0026 AMPERSAND (<code>&</code>) character
- that is followed by some <span title="syntax-text">text</span> other
- than a <span>space character</span>, a U+003C LESS-THAN SIGN
- character ('<'), or another U+0026 AMPERSAND (<code>&</code>)
- character.</p>
+ ampersand</dfn> is a U+0026 AMPERSAND character (&) that is
+ followed by some <span title="syntax-text">text</span> other than a
+ <span>space character</span>, a U+003C LESS-THAN SIGN character
+ (<), or another U+0026 AMPERSAND character
+ (<code>&</code>).</p>
<h4>CDATA sections</h4>
@@ -77293,9 +77292,9 @@
title=""><!--</code>). Following this sequence, the comment may
have <span title="syntax-text">text</span>, with the additional
restriction that the text must not start with a single U+003E
- GREATER-THAN SIGN ('>') character, nor start with a U+002D
- HYPHEN-MINUS (<code title="">-</code>) character followed by a
- U+003E GREATER-THAN SIGN ('>') character, nor contain two
+ GREATER-THAN SIGN (>) character, nor start with a U+002D
+ HYPHEN-MINUS character (-) followed by a
+ U+003E GREATER-THAN SIGN (>) character, nor contain two
consecutive U+002D HYPHEN-MINUS (<code title="">-</code>)
characters, nor end with a U+002D HYPHEN-MINUS (<code
title="">-</code>) character. Finally, the comment must be ended by
@@ -77616,7 +77615,7 @@
</dd>
- <dt>A sequence of bytes starting with a 0x3C byte (ASCII '<'), optionally a 0x2F byte (ASCII '/'), and finally a byte in the range 0x41-0x5A or 0x61-0x7A (an ASCII letter)</dt>
+ <dt>A sequence of bytes starting with a 0x3C byte (ASCII <), optionally a 0x2F byte (ASCII /), and finally a byte in the range 0x41-0x5A or 0x61-0x7A (an ASCII letter)</dt>
<dd>
<ol>
@@ -77624,7 +77623,7 @@
<li><p>Advance the <var title="">position</var> pointer so
that it points at the next 0x09 (ASCII TAB), 0x0A (ASCII LF),
0x0C (ASCII FF), 0x0D (ASCII CR), 0x20 (ASCII space), or 0x3E
- (ASCII '>') byte.</p></li>
+ (ASCII >) byte.</p></li>
<li><p>Repeatedly <span
title="concept-get-attributes-when-sniffing">get an
@@ -77642,7 +77641,7 @@
<dd>
<p>Advance the <var title="">position</var> pointer so that it
- points at the first 0x3E byte (ASCII '>') that comes after the
+ points at the first 0x3E byte (ASCII >) that comes after the
0x3C byte that was found.</p>
</dd>
@@ -77672,12 +77671,12 @@
<li><p>If the byte at <var title="">position</var> is one of 0x09
(ASCII TAB), 0x0A (ASCII LF), 0x0C (ASCII FF), 0x0D (ASCII CR),
- 0x20 (ASCII space), or 0x2F (ASCII '/') then advance <var
+ 0x20 (ASCII space), or 0x2F (ASCII /) then advance <var
title="">position</var> to the next byte and redo this
substep.</p></li>
<li><p>If the byte at <var title="">position</var> is 0x3E (ASCII
- '>'), then abort the "get an attribute" algorithm. There isn't
+ >), then abort the "get an attribute" algorithm. There isn't
one.</p></li>
<li><p>Otherwise, the byte at <var title="">position</var> is the
@@ -77690,7 +77689,7 @@
<dl class="switch">
- <dt>If it is 0x3D (ASCII '='), and the <var title="">attribute
+ <dt>If it is 0x3D (ASCII =), and the <var title="">attribute
name</var> is longer than the empty string</dt>
<dd>Advance <var title="">position</var> to the next byte and
@@ -77701,14 +77700,14 @@
<dd>Jump to the step below labeled <i>spaces</i>.</dd>
- <dt>If it is 0x2F (ASCII '/') or 0x3E (ASCII '>')</dt>
+ <dt>If it is 0x2F (ASCII /) or 0x3E (ASCII >)</dt>
<dd>Abort the "get an attribute" algorithm. The attribute's
name is the value of <var title="">attribute name</var>, its
value is the empty string.</dd>
- <dt>If it is in the range 0x41 (ASCII 'A') to 0x5A (ASCII
- 'Z')</dt>
+ <dt>If it is in the range 0x41 (ASCII A) to 0x5A (ASCII
+ Z)</dt>
<dd>Append the Unicode character with code point <span title=""><var
title="">b</var>+0x20</span> to <var title="">attribute
@@ -77738,13 +77737,13 @@
repeat this step.</p></li>
<li><p>If the byte at <var title="">position</var> is
- <em>not</em> 0x3D (ASCII '='), abort the "get an attribute"
+ <em>not</em> 0x3D (ASCII =), abort the "get an attribute"
algorithm. The attribute's name is the value of <var
title="">attribute name</var>, its value is the empty
string.</p></li>
<li><p>Advance <var title="">position</var> past the 0x3D (ASCII
- '=') byte.</p></li>
+ =) byte.</p></li>
<li><p><i>Value:</i> If the byte at <var
title="">position</var> is one of 0x09 (ASCII TAB), 0x0A (ASCII
@@ -77757,7 +77756,7 @@
<dl class="switch">
- <dt>If it is 0x22 (ASCII '"') or 0x27 ("'")</dt>
+ <dt>If it is 0x22 (ASCII ") or 0x27 (ASCII ')</dt>
<dd>
@@ -77777,8 +77776,8 @@
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="">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 code point is 0x20 more
than the value of the byte at <var
title="">position</var>.</li>
@@ -77793,15 +77792,15 @@
</dd>
- <dt>If it is 0x3E (ASCII '>')</dt>
+ <dt>If it is 0x3E (ASCII >)</dt>
<dd>Abort the "get an attribute" algorithm. The attribute's
name is the value of <var title="">attribute name</var>, its
value is the empty string.</dd>
- <dt>If it is in the range 0x41 (ASCII 'A') to 0x5A (ASCII
- 'Z')</dt>
+ <dt>If it is in the range 0x41 (ASCII A) to 0x5A (ASCII
+ Z)</dt>
<dd>Append the Unicode character with code point <span title=""><var
title="">b</var>+0x20</span> to <var title="">attribute
@@ -77827,14 +77826,14 @@
<dt>If it is 0x09 (ASCII TAB), 0x0A (ASCII LF), 0x0C (ASCII
FF), 0x0D (ASCII CR), 0x20 (ASCII space), or 0x3E (ASCII
- '>')</dt>
+ >)</dt>
<dd>Abort the "get an attribute" algorithm. The attribute's
name is the value of <var title="">attribute name</var> and its
value is the value of <var title="">attribute value</var>.</dd>
- <dt>If it is in the range 0x41 (ASCII 'A') to 0x5A (ASCII
- 'Z')</dt>
+ <dt>If it is in the range 0x41 (ASCII A) to 0x5A (ASCII
+ Z)</dt>
<dd>Append the Unicode character with code point <span title=""><var
title="">b</var>+0x20</span> to <var title="">attribute
@@ -78851,7 +78850,7 @@
<dd>
<p>Consume the <span>next input character</span>. If it is a
- U+002F SOLIDUS (/) character, switch to the <span>close tag open
+ U+002F SOLIDUS character (/), switch to the <span>close tag open
state</span>. Otherwise, emit a U+003C LESS-THAN SIGN character
token and reconsume the <span>current input character</span> in the
<span>data state</span>.</p>
@@ -79456,7 +79455,7 @@
in comment end state -->
<dt>Anything else</dt>
- <dd>Append a U+002D HYPHEN-MINUS (-) character and the input
+ <dd>Append a U+002D HYPHEN-MINUS character (-) and the input
character to the comment token's data. Switch to the
<span>comment state</span>.</dd>
@@ -79499,7 +79498,7 @@
in comment end state -->
<dt>Anything else</dt>
- <dd>Append a U+002D HYPHEN-MINUS (-) character and the input
+ <dd>Append a U+002D HYPHEN-MINUS character (-) and the input
character to the comment token's data. Switch to the
<span>comment state</span>.</dd>
@@ -79531,7 +79530,7 @@
<dt>U+002D HYPHEN-MINUS (-)</dt>
<dd><span>Parse error</span>. Append a U+002D HYPHEN-MINUS
- (-) character to the comment token's data. Stay in the
+ character (-) to the comment token's data. Stay in the
<span>comment end state</span>.</dd>
<dt>EOF</dt>
@@ -79558,7 +79557,7 @@
<dt>U+002D HYPHEN-MINUS (-)</dt>
<dd>Append two U+002D HYPHEN-MINUS (-) characters and a U+0021
- EXCLAMATION MARK (!) character to the comment token's data. Switch
+ EXCLAMATION MARK character (!) to the comment token's data. Switch
to the <span>comment end dash state</span>.</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
@@ -79572,7 +79571,7 @@
<dt>Anything else</dt>
<dd>Append two U+002D HYPHEN-MINUS (-) characters, a U+0021
- EXCLAMATION MARK (!) character, and the input character to the
+ EXCLAMATION MARK character (!), and the input character to the
comment token's data. Switch to the <span>comment
state</span>.</dd>
@@ -80191,10 +80190,10 @@
<p>Consume the X.</p>
<p>Follow the steps below, but using the range of characters
- U+0030 DIGIT ZERO through to U+0039 DIGIT NINE, U+0061 LATIN
- SMALL LETTER A through to U+0066 LATIN SMALL LETTER F, and
- U+0041 LATIN CAPITAL LETTER A, through to U+0046 LATIN CAPITAL
- LETTER F (in other words, 0-9, A-F, a-f).</p>
+ U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9), U+0061 LATIN
+ SMALL LETTER A to U+0066 LATIN SMALL LETTER F, and U+0041 LATIN
+ CAPITAL LETTER A to U+0046 LATIN CAPITAL LETTER F (in other
+ words, 0-9, A-F, a-f).</p>
<p>When it comes to interpreting the number, interpret it as a
hexadecimal number.</p>
@@ -80207,8 +80206,7 @@
<dd>
<p>Follow the steps below, but using the range of characters
- U+0030 DIGIT ZERO through to U+0039 DIGIT NINE (i.e. just
- 0-9).</p>
+ U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9).</p>
<p>When it comes to interpreting the number, interpret it as a
decimal number.</p>
@@ -80245,38 +80243,38 @@
<tbody>
<tr><td>0x00 <td>U+FFFD <td>REPLACEMENT CHARACTER
<tr><td>0x0D <td>U+000A <td>LINE FEED (LF)
- <tr><td>0x80 <td>U+20AC <td>EURO SIGN ('€')
+ <tr><td>0x80 <td>U+20AC <td>EURO SIGN (€)
<tr><td>0x81 <td>U+0081 <td><control>
- <tr><td>0x82 <td>U+201A <td>SINGLE LOW-9 QUOTATION MARK ('‚')
- <tr><td>0x83 <td>U+0192 <td>LATIN SMALL LETTER F WITH HOOK ('ƒ')
- <tr><td>0x84 <td>U+201E <td>DOUBLE LOW-9 QUOTATION MARK ('„')
- <tr><td>0x85 <td>U+2026 <td>HORIZONTAL ELLIPSIS ('…')
- <tr><td>0x86 <td>U+2020 <td>DAGGER ('†')
- <tr><td>0x87 <td>U+2021 <td>DOUBLE DAGGER ('‡')
- <tr><td>0x88 <td>U+02C6 <td>MODIFIER LETTER CIRCUMFLEX ACCENT ('ˆ')
- <tr><td>0x89 <td>U+2030 <td>PER MILLE SIGN ('‰')
- <tr><td>0x8A <td>U+0160 <td>LATIN CAPITAL LETTER S WITH CARON ('Š')
- <tr><td>0x8B <td>U+2039 <td>SINGLE LEFT-POINTING ANGLE QUOTATION MARK ('‹')
- <tr><td>0x8C <td>U+0152 <td>LATIN CAPITAL LIGATURE OE ('Œ')
+ <tr><td>0x82 <td>U+201A <td>SINGLE LOW-9 QUOTATION MARK (‚)
+ <tr><td>0x83 <td>U+0192 <td>LATIN SMALL LETTER F WITH HOOK (ƒ)
+ <tr><td>0x84 <td>U+201E <td>DOUBLE LOW-9 QUOTATION MARK („)
+ <tr><td>0x85 <td>U+2026 <td>HORIZONTAL ELLIPSIS (…)
+ <tr><td>0x86 <td>U+2020 <td>DAGGER (†)
+ <tr><td>0x87 <td>U+2021 <td>DOUBLE DAGGER (‡)
+ <tr><td>0x88 <td>U+02C6 <td>MODIFIER LETTER CIRCUMFLEX ACCENT (ˆ)
+ <tr><td>0x89 <td>U+2030 <td>PER MILLE SIGN (‰)
+ <tr><td>0x8A <td>U+0160 <td>LATIN CAPITAL LETTER S WITH CARON (Š)
+ <tr><td>0x8B <td>U+2039 <td>SINGLE LEFT-POINTING ANGLE QUOTATION MARK (‹)
+ <tr><td>0x8C <td>U+0152 <td>LATIN CAPITAL LIGATURE OE (Œ)
<tr><td>0x8D <td>U+008D <td><control>
- <tr><td>0x8E <td>U+017D <td>LATIN CAPITAL LETTER Z WITH CARON ('Ž')
+ <tr><td>0x8E <td>U+017D <td>LATIN CAPITAL LETTER Z WITH CARON (Ž)
<tr><td>0x8F <td>U+008F <td><control>
<tr><td>0x90 <td>U+0090 <td><control>
- <tr><td>0x91 <td>U+2018 <td>LEFT SINGLE QUOTATION MARK ('‘')
- <tr><td>0x92 <td>U+2019 <td>RIGHT SINGLE QUOTATION MARK ('’')
- <tr><td>0x93 <td>U+201C <td>LEFT DOUBLE QUOTATION MARK ('“')
- <tr><td>0x94 <td>U+201D <td>RIGHT DOUBLE QUOTATION MARK ('”')
- <tr><td>0x95 <td>U+2022 <td>BULLET ('•')
- <tr><td>0x96 <td>U+2013 <td>EN DASH ('–')
- <tr><td>0x97 <td>U+2014 <td>EM DASH ('—')
- <tr><td>0x98 <td>U+02DC <td>SMALL TILDE ('˜')
- <tr><td>0x99 <td>U+2122 <td>TRADE MARK SIGN ('™')
- <tr><td>0x9A <td>U+0161 <td>LATIN SMALL LETTER S WITH CARON ('š')
- <tr><td>0x9B <td>U+203A <td>SINGLE RIGHT-POINTING ANGLE QUOTATION MARK ('›')
- <tr><td>0x9C <td>U+0153 <td>LATIN SMALL LIGATURE OE ('œ')
+ <tr><td>0x91 <td>U+2018 <td>LEFT SINGLE QUOTATION MARK (‘)
+ <tr><td>0x92 <td>U+2019 <td>RIGHT SINGLE QUOTATION MARK (’)
+ <tr><td>0x93 <td>U+201C <td>LEFT DOUBLE QUOTATION MARK (“)
+ <tr><td>0x94 <td>U+201D <td>RIGHT DOUBLE QUOTATION MARK (”)
+ <tr><td>0x95 <td>U+2022 <td>BULLET (•)
+ <tr><td>0x96 <td>U+2013 <td>EN DASH (–)
+ <tr><td>0x97 <td>U+2014 <td>EM DASH (—)
+ <tr><td>0x98 <td>U+02DC <td>SMALL TILDE (˜)
+ <tr><td>0x99 <td>U+2122 <td>TRADE MARK SIGN (™)
+ <tr><td>0x9A <td>U+0161 <td>LATIN SMALL LETTER S WITH CARON (š)
+ <tr><td>0x9B <td>U+203A <td>SINGLE RIGHT-POINTING ANGLE QUOTATION MARK (›)
+ <tr><td>0x9C <td>U+0153 <td>LATIN SMALL LIGATURE OE (œ)
<tr><td>0x9D <td>U+009D <td><control>
- <tr><td>0x9E <td>U+017E <td>LATIN SMALL LETTER Z WITH CARON ('ž')
- <tr><td>0x9F <td>U+0178 <td>LATIN CAPITAL LETTER Y WITH DIAERESIS ('Ÿ')
+ <tr><td>0x9E <td>U+017E <td>LATIN SMALL LETTER Z WITH CARON (ž)
+ <tr><td>0x9F <td>U+0178 <td>LATIN CAPITAL LETTER Y WITH DIAERESIS (Ÿ)
</table>
<p>Otherwise, if the number is in the range 0xD800 to 0xDFFF<!--
@@ -80324,13 +80322,13 @@
<p>If the character reference is being consumed <span
title="character reference in attribute value state">as part of an
attribute</span>, and the last character matched is not a U+003B
- SEMICOLON (<code title="">;</code>), and the next character is in
- the range U+0030 DIGIT ZERO to U+0039 DIGIT NINE, U+0041 LATIN
- CAPITAL LETTER A to U+005A LATIN CAPITAL LETTER Z, or U+0061 LATIN
- SMALL LETTER A to U+007A LATIN SMALL LETTER Z, then, for
- historical reasons, all the characters that were matched after the
- U+0026 AMPERSAND (&) must be unconsumed, and nothing is
- returned.</p>
+ SEMICOLON character (<code title="">;</code>), and the next
+ character is in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT
+ NINE (9), U+0041 LATIN CAPITAL LETTER A to U+005A LATIN CAPITAL
+ LETTER Z, or U+0061 LATIN SMALL LETTER A to U+007A LATIN SMALL
+ LETTER Z, then, for historical reasons, all the characters that
+ were matched after the U+0026 AMPERSAND character (&) must be
+ unconsumed, and nothing is returned.</p>
<p>Otherwise, return a character token for the character
corresponding to the character reference name (as given by the
@@ -84976,7 +84974,7 @@
U+0020 SPACE character, followed by the value of <var
title="">current node</var>'s <code title="">data</code> IDL
attribute, followed by a single U+003E GREATER-THAN SIGN
- character ('>').</p>
+ character (>).</p>
</dd>
@@ -85415,13 +85413,13 @@
href="#refsXML">[XML]</a></li>
<li>A <code>DocumentType</code> node that has an external subset
- system identifier that contains both a U+0022 QUOTATION MARK ('"')
- and a U+0027 APOSTROPHE ("'") or that contains characters that are
+ system identifier that contains both a U+0022 QUOTATION MARK (")
+ and a U+0027 APOSTROPHE (') or that contains characters that are
not matched by the XML <code title="">Char</code> production. <a
href="#refsXML">[XML]</a></li>
<li>A node with a <!--prefix or--> local name containing a U+003A
- COLON (":").</li> <!--(prefixes can get adjusted, so this isn't an
+ COLON (:).</li> <!--(prefixes can get adjusted, so this isn't an
excuse) -->
<li>A node with a <!--prefix or--> local name that does not match
@@ -85454,7 +85452,7 @@
title="">xml</code>".</li>
<li>A <code>ProcessingInstruction</code> node whose target name
- contains a U+003A COLON (":").</li>
+ contains a U+003A COLON (:).</li>
<li>A <code>ProcessingInstruction</code> node whose data contains
the string "<code title="">?></code>".</li>
@@ -87902,8 +87900,9 @@
<li><p>If the element has a <code
title="attr-frames-frameborder">frameborder</code> attribute
whose value is not the empty string and whose first character is
- either a U+0031 DIGIT ONE (1), a U+0079 LATIN SMALL LETTER Y, or
- a U+0059 LATIN CAPITAL LETTER Y, then return true.</p></li>
+ either a U+0031 DIGIT ONE (1) character, a U+0079 LATIN SMALL
+ LETTER Y character (y), or a U+0059 LATIN CAPITAL LETTER Y
+ character (Y), then return true.</p></li>
<li><p>Otherwise, if the element has a <code
title="attr-frames-frameborder">frameborder</code> attribute,
@@ -90305,7 +90304,7 @@
<dl>
<dt>Magic number(s):</dt>
<dd><code>text/ping</code> resources always consist of the four
- bytes 0x50 0x49 0x4E 0x47 (ASCII "PING").</dd>
+ bytes 0x50 0x49 0x4E 0x47 (ASCII 'PING').</dd>
<dt>File extension(s):</dt>
<dd>No specific file extension is recommended for this type.</dd>
<dt>Macintosh file type code(s):</dt>
@@ -91891,30 +91890,6 @@
("<code title="">foo</code>" vs <code>foo</code>)
XXX * make the spec consistent about whether the word "algorithm" is part of
an algorithm's name or not ("</dfn> algorithm", "</span> algorithm")
- XXX * make a consistent decision of which of the following formats to use:
- U+1234 FOO BAR character ("foo")
- U+1234 FOO BAR character ('foo')
- U+1234 FOO BAR character (foo)
- U+1234 FOO BAR ("foo") character
- U+1234 FOO BAR ('foo') character
- U+1234 FOO BAR (foo) character
- U+1234 FOO BAR character ("<code title="">foo</code>")
- U+1234 FOO BAR character ('<code title="">foo</code>')
- U+1234 FOO BAR character (<code title="">foo</code>)
- U+1234 FOO BAR ("<code title="">foo</code>") character
- U+1234 FOO BAR ('<code title="">foo</code>') character
- U+1234 FOO BAR (<code title="">foo</code>) character
- ...and make these match:
- 0x12 (ASCII FOO)
- 0x12 (ASCII "foo")
- 0x12 (ASCII 'foo')
- 0x12 ("foo")
- 0x12 ('foo')
- 0x12 (ASCII "<code title="">foo</code>")
- 0x12 (ASCII '<code title="">foo</code>')
- 0x12 ("<code title="">foo</code>")
- 0x12 ('<code title="">foo</code>')
- XXX * check case of hex characters in the ASCII cases.
XXX * use the sample widgets:
<li><img alt="A text field with editable sections for each
value, with a button to pop up a dialog showing a calendar or
Modified: vocabs-index
===================================================================
--- vocabs-index 2009-10-05 03:31:43 UTC (rev 4076)
+++ vocabs-index 2009-10-05 06:41:14 UTC (rev 4077)
@@ -749,24 +749,24 @@
<ol><li>Optionally, either a U+002B PLUS SIGN character (+) or a
U+002D HYPHEN-MINUS character (-).</li>
- <li>One or more digits in the range U+0030 DIGIT ZERO .. U+0039
- DIGIT NINE.</li>
+ <li>One or more digits in the range U+0030 DIGIT ZERO (0) to
+ U+0039 DIGIT NINE (9).</li>
<li>Optionally*, a U+002E FULL STOP character (.) followed by one
- or more digits in the range U+0030 DIGIT ZERO .. U+0039 DIGIT
- NINE.</li>
+ or more digits in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT
+ NINE (9).</li>
<li>A U+003B SEMICOLON character (;).</li>
<li>Optionally, either a U+002B PLUS SIGN character (+) or a
U+002D HYPHEN-MINUS character (-).</li>
- <li>One or more digits in the range U+0030 DIGIT ZERO .. U+0039
- DIGIT NINE.</li>
+ <li>One or more digits in the range U+0030 DIGIT ZERO (0) to U+0039
+ DIGIT NINE (9).</li>
<li>Optionally*, a U+002E FULL STOP character (.) followed by one
- or more digits in the range U+0030 DIGIT ZERO .. U+0039 DIGIT
- NINE.</li>
+ or more digits in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT
+ NINE (9).</li>
</ol><p>The optional components marked with an asterisk (*) should be
included, and should have six digits each.</p>
@@ -1532,14 +1532,14 @@
REVERSE SOLIDUS character (\).</li>
<li><p>Replace every U+000D CARRIAGE RETURN U+000A LINE FEED
- character pair (CRLF) in <var title="">value</var> with a U+005C REVERSE
- SOLIDUS character (\) followed by a U+006E LATIN SMALL LETTER
- N.</li>
+ character pair (CRLF) in <var title="">value</var> with a
+ U+005C REVERSE SOLIDUS character (\) followed by a U+006E
+ LATIN SMALL LETTER N character (n).</li>
<li><p>Replace every remaining U+000D CARRIAGE RETURN (CR) or
U+000A LINE FEED (LF) character in <var title="">value</var>
- with a U+005C REVERSE SOLIDUS character (\) followed by a U+006E
- LATIN SMALL LETTER N.</li>
+ with a U+005C REVERSE SOLIDUS character (\) followed by a
+ U+006E LATIN SMALL LETTER N character (n).</li>
</ol></dd>
@@ -1757,12 +1757,12 @@
<li><p>Replace every U+000D CARRIAGE RETURN U+000A LINE FEED
character pair (CRLF) in <var title="">value</var> with a U+005C
REVERSE SOLIDUS character (\) followed by a U+006E LATIN SMALL
- LETTER N.</li>
+ LETTER N character (n).</li>
<li><p>Replace every remaining U+000D CARRIAGE RETURN (CR) or
U+000A LINE FEED (LF) character in <var title="">value</var> with a
U+005C REVERSE SOLIDUS character (\) followed by a U+006E LATIN
- SMALL LETTER N.</li>
+ SMALL LETTER N character (n).</li>
<li><p>Return the mutated <var title="">value</var>.</li>
@@ -1990,24 +1990,24 @@
<ol><li>Optionally, either a U+002B PLUS SIGN character (+) or a
U+002D HYPHEN-MINUS character (-).</li>
- <li>One or more digits in the range U+0030 DIGIT ZERO .. U+0039
- DIGIT NINE.</li>
+ <li>One or more digits in the range U+0030 DIGIT ZERO (0) to U+0039
+ DIGIT NINE (9).</li>
<li>Optionally*, a U+002E FULL STOP character (.) followed by one
- or more digits in the range U+0030 DIGIT ZERO .. U+0039 DIGIT
- NINE.</li>
+ or more digits in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT
+ NINE (9).</li>
<li>A U+003B SEMICOLON character (;).</li>
<li>Optionally, either a U+002B PLUS SIGN character (+) or a
U+002D HYPHEN-MINUS character (-).</li>
- <li>One or more digits in the range U+0030 DIGIT ZERO .. U+0039
- DIGIT NINE.</li>
+ <li>One or more digits in the range U+0030 DIGIT ZERO (0) to U+0039
+ DIGIT NINE (9).</li>
<li>Optionally*, a U+002E FULL STOP character (.) followed by one
- or more digits in the range U+0030 DIGIT ZERO .. U+0039 DIGIT
- NINE.</li>
+ or more digits in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT
+ NINE (9).</li>
</ol><p>The optional components marked with an asterisk (*) should be
included, and should have six digits each.</p> <!-- iCalendar
@@ -2367,37 +2367,37 @@
</dl><p>A string is a <dfn id="valid-vevent-duration-string">valid vevent duration string</dfn> if it
matches the following pattern:</p>
- <ol><li>A U+0050 LATIN CAPITAL LETTER P character.</li>
+ <ol><li>A U+0050 LATIN CAPITAL LETTER P character (P).</li>
<li>One of the following:
<ul><li> A <span>valid non-negative integer</span> followed by a
- U+0057 LATIN CAPITAL LETTER W character. The integer represents
- a duration of that number of weeks. </li>
+ U+0057 LATIN CAPITAL LETTER W character (W). The integer
+ represents a duration of that number of weeks. </li>
<li> At least one, and possible both in this order, of the
following:
<ol><li> A <span>valid non-negative integer</span> followed by a
- U+0044 LATIN CAPITAL LETTER D character. The integer
+ U+0044 LATIN CAPITAL LETTER D character (D). The integer
represents a duration of that number of days. </li>
- <li> A U+0054 LATIN CAPITAL LETTER T character followed by
+ <li> A U+0054 LATIN CAPITAL LETTER T character (T) followed by
any one of the following, or the first and second of the
following in that order, or the second and third of the
- following in that order, or all three of the following in
- this order:
+ following in that order, or all three of the following in this
+ order:
- <ol><li> A <span>valid non-negative integer</span> followed by
- a U+0048 LATIN CAPITAL LETTER H character. The integer
+ <ol><li> A <span>valid non-negative integer</span> followed by a
+ U+0048 LATIN CAPITAL LETTER H character (H). The integer
represents a duration of that number of hours. </li>
- <li> A <span>valid non-negative integer</span> followed by
- a U+004D LATIN CAPITAL LETTER M character. The integer
+ <li> A <span>valid non-negative integer</span> followed by a
+ U+004D LATIN CAPITAL LETTER M character (M). The integer
represents a duration of that number of minutes. </li>
- <li> A <span>valid non-negative integer</span> followed by
- a U+0053 LATIN CAPITAL LETTER S character. The integer
+ <li> A <span>valid non-negative integer</span> followed by a
+ U+0053 LATIN CAPITAL LETTER S character (S). The integer
represents a duration of that number of seconds. </li>
</ol></ol></li>
@@ -2533,14 +2533,14 @@
(\).</li>
<li><p>Replace every U+000D CARRIAGE RETURN U+000A LINE FEED
- character pair (CRLF) in <var title="">value</var> with a
- U+005C REVERSE SOLIDUS character (\) followed by a U+006E
- LATIN SMALL LETTER N.</li>
+ character pair (CRLF) in <var title="">value</var> with a U+005C
+ REVERSE SOLIDUS character (\) followed by a U+006E LATIN SMALL
+ LETTER N character (n).</li>
<li><p>Replace every remaining U+000D CARRIAGE RETURN (CR) or
- U+000A LINE FEED (LF) character in <var title="">value</var>
- with a U+005C REVERSE SOLIDUS character (\) followed by a
- U+006E LATIN SMALL LETTER N.</li>
+ U+000A LINE FEED (LF) character in <var title="">value</var> with a
+ U+005C REVERSE SOLIDUS character (\) followed by a U+006E LATIN
+ SMALL LETTER N character (n).</li>
<li><p>Append <var title="">value</var> to <var title="">line</var>.</li>
More information about the Commit-Watchers
mailing list