[html5] r1299 - /
whatwg at whatwg.org
whatwg at whatwg.org
Sun Mar 2 03:19:43 PST 2008
Author: ianh
Date: 2008-03-02 03:19:39 -0800 (Sun, 02 Mar 2008)
New Revision: 1299
Modified:
index
source
Log:
[act] (2) Ban '=' characters from unquoted attribute values.
Modified: index
===================================================================
--- index 2008-03-02 11:12:56 UTC (rev 1298)
+++ index 2008-03-02 11:19:39 UTC (rev 1299)
@@ -37503,11 +37503,11 @@
character">space characters</a>, followed by the <a href="#attribute0"
title=syntax-attribute-value>attribute value</a>, which, in addition to
the requirements given above for attribute values, must not contain any
- literal <a href="#space" title="space character">space characters</a> or
- U+003E GREATER-THAN SIGN (<code>></code>) characters, and must not,
- furthermore, start with either a literal U+0022 QUOTATION MARK
- (<code>"</code>) character or a literal U+0027 APOSTROPHE
- (<code>'</code>) character.</p>
+ literal <a href="#space" title="space character">space characters</a>,
+ U+003D EQUALS SIGN (=) characters, or U+003E GREATER-THAN SIGN
+ (<code>></code>) characters, and must not, furthermore, start with
+ either a literal U+0022 QUOTATION MARK (<code>"</code>) character
+ or a literal U+0027 APOSTROPHE (<code>'</code>) character.</p>
<div class=example>
<p>In the following example, the <code
@@ -39130,6 +39130,12 @@
<dd>Emit the current tag token. Switch to the <a href="#data-state">data
state</a>.
+ <dt>U+003D EQUALS SIGN (=)
+
+ <dd><a href="#parse0">Parse error</a>. Append the current input
+ character to the current attribute's value. Switch to the <a
+ href="#attribute4">attribute value (unquoted) state</a>.
+
<dt>EOF
<dd><a href="#parse0">Parse error</a>. Emit the current tag token.
@@ -39228,6 +39234,12 @@
<dd>Emit the current tag token. Switch to the <a href="#data-state">data
state</a>.
+ <dt>U+003D EQUALS SIGN (=)
+
+ <dd><a href="#parse0">Parse error</a>. Append the current input
+ character to the current attribute's value. Stay in the <a
+ href="#attribute4">attribute value (unquoted) state</a>.
+
<dt>EOF
<dd><a href="#parse0">Parse error</a>. Emit the current tag token.
Modified: source
===================================================================
--- source 2008-03-02 11:12:56 UTC (rev 1298)
+++ source 2008-03-02 11:19:39 UTC (rev 1299)
@@ -35011,10 +35011,11 @@
title="syntax-attribute-value">attribute value</span>, which, in
addition to the requirements given above for attribute values,
must not contain any literal <span title="space character">space
- characters</span> or U+003E GREATER-THAN SIGN (<code>></code>)
- characters, and must not, furthermore, start with either a literal
- U+0022 QUOTATION MARK (<code>"</code>) character or a literal
- U+0027 APOSTROPHE (<code>'</code>) character.</p>
+ characters</span>, U+003D EQUALS SIGN (=) characters, or U+003E
+ GREATER-THAN SIGN (<code>></code>) characters, and must not,
+ furthermore, start with either a literal U+0022 QUOTATION MARK
+ (<code>"</code>) character or a literal U+0027 APOSTROPHE
+ (<code>'</code>) character.</p>
<div class="example">
@@ -36671,6 +36672,11 @@
<dd>Emit the current tag token. Switch to the <span>data
state</span>.</dd>
+ <dt>U+003D EQUALS SIGN (=)</dt>
+ <dd><span>Parse error</span>. Append the current input character
+ to the current attribute's value. Switch to the <span>attribute
+ value (unquoted) state</span>.</dd>
+
<dt>EOF</dt>
<dd><span>Parse error</span>. Emit the current tag
token. Reconsume the character in the <span>data
@@ -36769,6 +36775,11 @@
<dd>Emit the current tag token. Switch to the <span>data
state</span>.</dd>
+ <dt>U+003D EQUALS SIGN (=)</dt>
+ <dd><span>Parse error</span>. Append the current input character
+ to the current attribute's value. Stay in the <span>attribute
+ value (unquoted) state</span>.</dd>
+
<dt>EOF</dt>
<dd><span>Parse error</span>. Emit the current tag
token. Reconsume the character in the <span>data
More information about the Commit-Watchers
mailing list