Skip to content

Commit

Permalink
[ac] (0) Make empty unquoted attribute values not allowed (and some e…
Browse files Browse the repository at this point in the history
…ditorial fixes). (credit: sp)

git-svn-id: http://svn.whatwg.org/webapps@2122 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 29, 2008
1 parent 788da80 commit f9cfad3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
17 changes: 8 additions & 9 deletions index
Expand Up @@ -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
Expand Down Expand Up @@ -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>
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 (=)

Expand Down
11 changes: 6 additions & 5 deletions source
Expand Up @@ -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
Expand Down Expand Up @@ -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">

Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit f9cfad3

Please sign in to comment.