Skip to content
Permalink
Browse files

[gw] (2) Allow spellcheck='' to be set with no value as a shorthand f…

…or 'true'. This isn't compatible with what existing implementations do, so please let me know if this is a problem... (credit: avk) (bug 6652)

git-svn-id: http://svn.whatwg.org/webapps@2936 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
Hixie committed Mar 31, 2009
1 parent dee25af commit d3ed0b579a236907d116dc221e2885c00068cfb6
Showing with 3 additions and 3 deletions.
  1. +1 −1 index
  2. +2 −2 source
2 index

<p>The <dfn id=attr-spellcheck title=attr-spellcheck><code>spellcheck</code></dfn>
attribute is an <a href=#enumerated-attribute>enumerated attribute</a> whose keywords are
<code title="">true</code> and <code title="">false</code>. The <code title="">true</code> keyword map to the <i>true</i> state. The <code title="">false</code> keyword maps to the <i>false</i> state. In
the empty string, <code title="">true</code> and <code title="">false</code>. The empty string and the <code title="">true</code> keyword map to the <i>true</i> state. The <code title="">false</code> keyword maps to the <i>false</i> state. In
addition, there is a third state, the <i>inherit</i> state, which is
the <i>missing value default</i> (and the <i>invalid value
default</i>).</p>
4 source

<p>The <dfn title="attr-spellcheck"><code>spellcheck</code></dfn>
attribute is an <span>enumerated attribute</span> whose keywords are
<code title="">true</code> and <code
title="">false</code>. The <code
the empty string, <code title="">true</code> and <code
title="">false</code>. The empty string and the <code
title="">true</code> keyword map to the <i>true</i> state. The <code
title="">false</code> keyword maps to the <i>false</i> state. In
addition, there is a third state, the <i>inherit</i> state, which is

0 comments on commit d3ed0b5

Please sign in to comment.
You can’t perform that action at this time.