Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[cgiowt] (2) Make = after a named character reference without a semic…
…olon in an attribute result in the character reference _not_ being replaced. Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=9207 git-svn-id: http://svn.whatwg.org/webapps@4959 340c8d12-0b0e-0410-8428-c7bf67bfef74
- Loading branch information
Showing
with
24 additions
and 21 deletions.
- +8 −7 complete.html
- +8 −7 index
- +8 −7 source
|
||
<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 character (;), 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> | ||
SEMICOLON character (;), and the next character is either a U+003D | ||
EQUALS SIGN character (=) or 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> | ||
<!-- "=" added because of http://www.w3.org/Bugs/Public/show_bug.cgi?id=9207#c5 --> | ||
|
||
<p>Otherwise, return a character token for the character | ||
corresponding to the character reference name (as given by the |
|
||
<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 character (;), 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> | ||
SEMICOLON character (;), and the next character is either a U+003D | ||
EQUALS SIGN character (=) or 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> | ||
<!-- "=" added because of http://www.w3.org/Bugs/Public/show_bug.cgi?id=9207#c5 --> | ||
|
||
<p>Otherwise, return a character token for the character | ||
corresponding to the character reference name (as given by the |
<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 character (;), 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> | ||
SEMICOLON character (;), and the next character is either a U+003D | ||
EQUALS SIGN character (=) or 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> | ||
<!-- "=" added because of http://www.w3.org/Bugs/Public/show_bug.cgi?id=9207#c5 --> | ||
|
||
<p>Otherwise, return a character token for the character | ||
corresponding to the character reference name (as given by the |