Skip to content
Browse files

[ac] (0) Make empty unquoted attribute values not allowed (and some e…

…ditorial fixes). (credit: sp)

git-svn-id: http://svn.whatwg.org/webapps@2122 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
1 parent 788da80 commit f9cfad3ee47a0e3a5cb12a96667bf0d0d6578bb6 @Hixie Hixie committed
Showing with 14 additions and 14 deletions.
  1. +8 −9 index
  2. +6 −5 source
View
17 index
@@ -28,7 +28,7 @@
<h1 id=html-5>HTML 5</h1>
- <h2 class="no-num no-toc" id=draft>Draft Recommendation &mdash; 28 August
+ <h2 class="no-num no-toc" id=draft>Draft Recommendation &mdash; 29 August
2008</h2>
<p>You can take part in this work. <a
@@ -472,8 +472,7 @@
<code>title</code> attribute</a>
<li><a href="#the-lang"><span class=secno>3.3.3.3. </span>The
- <code>lang</code> and <code>xml:lang</code> (XML only)
- attributes</a>
+ <code>lang</code> and <code>xml:lang</code> attributes</a>
<li><a href="#the-xmlbase"><span class=secno>3.3.3.4. </span>The
<code>xml:base</code> attribute (XML only)</a>
@@ -8018,7 +8017,7 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20html%3E..
<h5 id=the-lang><span class=secno>3.3.3.3. </span>The <dfn id=lang
title=attr-lang><code>lang</code></dfn> and <dfn id=xmllang
- title=attr-xml-lang><code>xml:lang</code></dfn> (XML only) attributes</h5>
+ title=attr-xml-lang><code>xml:lang</code></dfn> attributes</h5>
<p>The <code title=attr-lang><a href="#lang">lang</a></code> attribute
specifies the primary <dfn id=language>language</dfn> for the element's
@@ -45608,11 +45607,11 @@ interface <dfn id=messagechannel>MessageChannel</dfn> {
character">space characters</a>, followed by the <a href="#attribute4"
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>, a
- U+0022 QUOTATION MARK (<code>&#x22;</code>) characters, U+0027
+ literal <a href="#space" title="space character">space characters</a>,
+ any U+0022 QUOTATION MARK (<code>&#x22;</code>) characters, U+0027
APOSTROPHE (<code>&#x27;</code>) characters, U+003D EQUALS SIGN
(<code>=</code>) characters, or U+003E GREATER-THAN SIGN
- (<code>&gt;</code>) characters.</p>
+ (<code>&gt;</code>) characters, and must not be the empty string.</p>
<div class=example>
<p>In the following example, the <code
@@ -47894,8 +47893,8 @@ interface <dfn id=messagechannel>MessageChannel</dfn> {
<dt>U+003E GREATER-THAN SIGN (&gt;)
- <dd>Emit the current tag token. Switch to the <a href="#data-state0">data
- state</a>.
+ <dd><a href="#parse2">Parse error</a>. Emit the current tag token. Switch
+ to the <a href="#data-state0">data state</a>.
<dt>U+003D EQUALS SIGN (=)
View
11 source
@@ -5845,7 +5845,7 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20html%3E..
<h5>The <dfn title="attr-lang"><code>lang</code></dfn> and <dfn
- title="attr-xml-lang"><code>xml:lang</code></dfn> (XML only)
+ title="attr-xml-lang"><code>xml:lang</code></dfn>
attributes</h5>
<p>The <code title="attr-lang">lang</code> attribute specifies the
@@ -43031,10 +43031,11 @@ interface <dfn>MessageChannel</dfn> {
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>, a U+0022 QUOTATION MARK (<code>&#x22;</code>)
+ characters</span>, any U+0022 QUOTATION MARK (<code>&#x22;</code>)
characters, U+0027 APOSTROPHE (<code>&#x27;</code>) characters,
U+003D EQUALS SIGN (<code>=</code>) characters, or U+003E
- GREATER-THAN SIGN (<code>&gt;</code>) characters.</p>
+ GREATER-THAN SIGN (<code>&gt;</code>) characters, and must not be
+ the empty string.</p>
<div class="example">
@@ -45225,8 +45226,8 @@ interface <dfn>MessageChannel</dfn> {
<dd>Switch to the <span>attribute value (single-quoted) state</span>.</dd>
<dt>U+003E GREATER-THAN SIGN (&gt;)</dt>
- <dd>Emit the current tag token. Switch to the <span>data
- state</span>.</dd>
+ <dd><span>Parse error</span>. Emit the current tag token. Switch to
+ the <span>data state</span>.</dd>
<dt>U+003D EQUALS SIGN (=)</dt>
<dd><span>Parse error</span>. Treat it as per the "anything else"

0 comments on commit f9cfad3

Please sign in to comment.
Something went wrong with that request. Please try again.