Skip to content

Commit

Permalink
[giow] (2) Make spellcheck='' not apply to controls like <input type=…
Browse files Browse the repository at this point in the history
…date> that don't have usefully checkable content.

Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=22551
Affected topics: HTML

git-svn-id: http://svn.whatwg.org/webapps@8044 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jul 9, 2013
1 parent c15fe59 commit ed2f902
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 13 deletions.
10 changes: 6 additions & 4 deletions complete.html
Expand Up @@ -76703,10 +76703,12 @@ <h4 id=spelling-and-grammar-checking><span class=secno>8.6.5 </span>Spelling and
<hr><p>User agents must only consider the following pieces of text as
checkable for the purposes of this feature:</p>

<ul><li>The <a href=#concept-fe-value title=concept-fe-value>value</a> of <code><a href=#the-input-element>input</a></code> elements to which the <code title=attr-input-readonly><a href=#attr-input-readonly>readonly</a></code> attribute <a href=#concept-input-apply title=concept-input-apply>applies</a>,
whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attributes are not
in the <a href="#password-state-(type=password)" title=attr-input-type-password>Password</a>
state, and that are <i title=concept-fe-mutable><a href=#concept-fe-mutable>mutable</a></i> (i.e.
<ul><li>The <a href=#concept-fe-value title=concept-fe-value>value</a> of <code><a href=#the-input-element>input</a></code> elements whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attributes are in the
<a href="#text-(type=text)-state-and-search-state-(type=search)" title=attr-input-type-text>Text</a>,
<a href="#text-(type=text)-state-and-search-state-(type=search)" title=attr-input-type-search>Search</a>,
<a href="#url-state-(type=url)" title=attr-input-type-url>URL</a>, or
<a href="#e-mail-state-(type=email)" title=attr-input-type-email>E-mail</a> states
and that are <i title=concept-fe-mutable><a href=#concept-fe-mutable>mutable</a></i> (i.e.
that do not have the <code title=attr-input-readonly><a href=#attr-input-readonly>readonly</a></code> attribute specified and
that are not <a href=#concept-fe-disabled title=concept-fe-disabled>disabled</a>).</li>

Expand Down
10 changes: 6 additions & 4 deletions index
Expand Up @@ -76703,10 +76703,12 @@ addShortcutKeyLabel(document.getElementById('c'));</pre>
<hr><p>User agents must only consider the following pieces of text as
checkable for the purposes of this feature:</p>

<ul><li>The <a href=#concept-fe-value title=concept-fe-value>value</a> of <code><a href=#the-input-element>input</a></code> elements to which the <code title=attr-input-readonly><a href=#attr-input-readonly>readonly</a></code> attribute <a href=#concept-input-apply title=concept-input-apply>applies</a>,
whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attributes are not
in the <a href="#password-state-(type=password)" title=attr-input-type-password>Password</a>
state, and that are <i title=concept-fe-mutable><a href=#concept-fe-mutable>mutable</a></i> (i.e.
<ul><li>The <a href=#concept-fe-value title=concept-fe-value>value</a> of <code><a href=#the-input-element>input</a></code> elements whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attributes are in the
<a href="#text-(type=text)-state-and-search-state-(type=search)" title=attr-input-type-text>Text</a>,
<a href="#text-(type=text)-state-and-search-state-(type=search)" title=attr-input-type-search>Search</a>,
<a href="#url-state-(type=url)" title=attr-input-type-url>URL</a>, or
<a href="#e-mail-state-(type=email)" title=attr-input-type-email>E-mail</a> states
and that are <i title=concept-fe-mutable><a href=#concept-fe-mutable>mutable</a></i> (i.e.
that do not have the <code title=attr-input-readonly><a href=#attr-input-readonly>readonly</a></code> attribute specified and
that are not <a href=#concept-fe-disabled title=concept-fe-disabled>disabled</a>).</li>

Expand Down
12 changes: 7 additions & 5 deletions source
Expand Up @@ -85928,11 +85928,13 @@ addShortcutKeyLabel(document.getElementById('c'));</pre>

<ul>

<li>The <span title="concept-fe-value">value</span> of <code>input</code> elements to which the <code
title="attr-input-readonly">readonly</code> attribute <span title="concept-input-apply">applies</span>,
whose <code title="attr-input-type">type</code> attributes are not
in the <span title="attr-input-type-password">Password</span>
state, and that are <i title="concept-fe-mutable">mutable</i> (i.e.
<li>The <span title="concept-fe-value">value</span> of <code>input</code> elements whose <code
title="attr-input-type">type</code> attributes are in the
<span title="attr-input-type-text">Text</span>,
<span title="attr-input-type-search">Search</span>,
<span title="attr-input-type-url">URL</span>, or
<span title="attr-input-type-email">E-mail</span> states
and that are <i title="concept-fe-mutable">mutable</i> (i.e.
that do not have the <code
title="attr-input-readonly">readonly</code> attribute specified and
that are not <span
Expand Down

0 comments on commit ed2f902

Please sign in to comment.