Permalink
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...
Hixie committed Apr 2, 2010
1 parent 4ae57df commit 3e879208d5cda592ee2a3663396ab57f99b311a1
Showing with 24 additions and 21 deletions.
  1. +8 −7 complete.html
  2. +8 −7 index
  3. +8 −7 source
@@ -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
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 (&amp;) 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
(&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
corresponding to the character reference name (as given by the
15 index
@@ -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
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 (&amp;) 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
(&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
corresponding to the character reference name (as given by the
15 source
@@ -87694,13 +87694,14 @@ interface <dfn>SQLTransactionSync</dfn> {
<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 (&amp;) 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
(&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
corresponding to the character reference name (as given by the

0 comments on commit 3e87920

Please sign in to comment.