Skip to content

Commit

Permalink
[cgiowt] (2) Make = after a named character reference without a semic…
Browse files Browse the repository at this point in the history
…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
Hixie committed Apr 2, 2010
1 parent 4ae57df commit 3e87920
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 21 deletions.
15 changes: 8 additions & 7 deletions complete.html
Expand Up @@ -76897,13 +76897,14 @@ <h5 id=tokenizing-character-references><span class=secno>12.2.4.70 </span>Tokeni


<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 <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 attribute</a>, and the last character matched is not a U+003B
SEMICOLON character (;), and the next character is in the range SEMICOLON character (;), and the next character is either a U+003D
U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9), U+0041 LATIN EQUALS SIGN character (=) or in the range U+0030 DIGIT ZERO (0) to
CAPITAL LETTER A to U+005A LATIN CAPITAL LETTER Z, or U+0061 LATIN U+0039 DIGIT NINE (9), U+0041 LATIN CAPITAL LETTER A to U+005A
SMALL LETTER A to U+007A LATIN SMALL LETTER Z, then, for LATIN CAPITAL LETTER Z, or U+0061 LATIN SMALL LETTER A to U+007A
historical reasons, all the characters that were matched after the LATIN SMALL LETTER Z, then, for historical reasons, all the
U+0026 AMPERSAND character (&amp;) must be unconsumed, and nothing characters that were matched after the U+0026 AMPERSAND character
is returned.</p> (&amp;) 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 <p>Otherwise, return a character token for the character
corresponding to the character reference name (as given by the corresponding to the character reference name (as given by the
Expand Down
15 changes: 8 additions & 7 deletions index
Expand Up @@ -70169,13 +70169,14 @@ interface <dfn id=messageport>MessagePort</dfn> {


<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 <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 attribute</a>, and the last character matched is not a U+003B
SEMICOLON character (;), and the next character is in the range SEMICOLON character (;), and the next character is either a U+003D
U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9), U+0041 LATIN EQUALS SIGN character (=) or in the range U+0030 DIGIT ZERO (0) to
CAPITAL LETTER A to U+005A LATIN CAPITAL LETTER Z, or U+0061 LATIN U+0039 DIGIT NINE (9), U+0041 LATIN CAPITAL LETTER A to U+005A
SMALL LETTER A to U+007A LATIN SMALL LETTER Z, then, for LATIN CAPITAL LETTER Z, or U+0061 LATIN SMALL LETTER A to U+007A
historical reasons, all the characters that were matched after the LATIN SMALL LETTER Z, then, for historical reasons, all the
U+0026 AMPERSAND character (&amp;) must be unconsumed, and nothing characters that were matched after the U+0026 AMPERSAND character
is returned.</p> (&amp;) 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 <p>Otherwise, return a character token for the character
corresponding to the character reference name (as given by the corresponding to the character reference name (as given by the
Expand Down
15 changes: 8 additions & 7 deletions source
Expand Up @@ -87694,13 +87694,14 @@ interface <dfn>SQLTransactionSync</dfn> {
<p>If the character reference is being consumed <span <p>If the character reference is being consumed <span
title="character reference in attribute value state">as part of an title="character reference in attribute value state">as part of an
attribute</span>, and the last character matched is not a U+003B attribute</span>, and the last character matched is not a U+003B
SEMICOLON character (;), and the next character is in the range SEMICOLON character (;), and the next character is either a U+003D
U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9), U+0041 LATIN EQUALS SIGN character (=) or in the range U+0030 DIGIT ZERO (0) to
CAPITAL LETTER A to U+005A LATIN CAPITAL LETTER Z, or U+0061 LATIN U+0039 DIGIT NINE (9), U+0041 LATIN CAPITAL LETTER A to U+005A
SMALL LETTER A to U+007A LATIN SMALL LETTER Z, then, for LATIN CAPITAL LETTER Z, or U+0061 LATIN SMALL LETTER A to U+007A
historical reasons, all the characters that were matched after the LATIN SMALL LETTER Z, then, for historical reasons, all the
U+0026 AMPERSAND character (&amp;) must be unconsumed, and nothing characters that were matched after the U+0026 AMPERSAND character
is returned.</p> (&amp;) 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 <p>Otherwise, return a character token for the character
corresponding to the character reference name (as given by the corresponding to the character reference name (as given by the
Expand Down

0 comments on commit 3e87920

Please sign in to comment.