Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[] (0) WF2: Prepare the document for autofocus=''.
git-svn-id: http://svn.whatwg.org/webapps@2215 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 18, 2008
1 parent ac5e472 commit 429a578
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 90 deletions.
97 changes: 42 additions & 55 deletions index
Expand Up @@ -1148,6 +1148,19 @@

<li><a href="#attributes1"><span class=secno>4.9.13 </span>Attributes
common to form controls</a>
<ul class=toc>
<li><a href="#naming"><span class=secno>4.9.13.1. </span>Naming form
controls</a>

<li><a href="#enabling"><span class=secno>4.9.13.2. </span>Enabling
and disabling form controls</a>

<li><a href="#a-form"><span class=secno>4.9.13.3. </span>A form
control's value</a>

<li><a href="#autofocusing"><span class=secno>4.9.13.4.
</span>Autofocusing a form control</a>
</ul>

<li><a href="#attributes2"><span class=secno>4.9.14 </span>Attributes
for form submission</a>
Expand Down Expand Up @@ -27072,7 +27085,8 @@ function AddCloud(data, x, y) { ... }</pre>
<dd><code title=attr-input-autocomplete><a
href="#autocomplete0">autocomplete</a></code>

<dd><code title=attr-input-autofocus>autofocus</code>
<dd><code title=attr-fe-autofocus><a
href="#autofocus">autofocus</a></code>

<dd><code title=attr-input-checked>checked</code>

Expand Down Expand Up @@ -27123,7 +27137,7 @@ function AddCloud(data, x, y) { ... }</pre>
attribute DOMString <a href="#action0" title=dom-fs-action>action</a>;
attribute DOMString <a href="#alt4" title=dom-input-alt>alt</a>;
attribute boolean <a href="#autocomplete" title=dom-input-autocomplete>autocomplete</a>;
attribute boolean <a href="#autofocus" title=dom-input-autofocus>autofocus</a>;
attribute boolean <a href="#autofocus0" title=dom-fe-autofocus>autofocus</a>;
attribute boolean <a href="#defaultchecked" title=dom-input-defaultChecked>defaultChecked</a>;
attribute boolean <a href="#checked1" title=dom-input-checked>checked</a>;
attribute boolean <a href="#disabled6" title=dom-fe-disabled>disabled</a>;
Expand Down Expand Up @@ -27406,7 +27420,6 @@ function AddCloud(data, x, y) { ... }</pre>
title=attr-fs-action><a href="#action">action</a></code>, <code
title=attr-input-alt>alt</code>, <code title=attr-input-autocomplete><a
href="#autocomplete0">autocomplete</a></code>, <code
title=attr-input-autofocus>autofocus</code>, <code
title=attr-input-checked>checked</code>, <code title=attr-fs-enctype><a
href="#enctype">enctype</a></code>, and <code
title=attr-input-inputmode>inputmode</code>, <code
Expand Down Expand Up @@ -27657,49 +27670,6 @@ function AddCloud(data, x, y) { ... }</pre>

<td class=no> &middot; <!-- Button -->

<tr>
<th> <code title=attr-input-autofocus>autofocus</code>

<td class=yes> Yes <!-- Text -->

<td class=yes> Yes <!-- Password -->

<td class=no> &middot; <!-- E-mail -->

<td class=no> &middot; <!-- URL -->

<td class=no> &middot; <!-- Date and Time -->

<td class=no> &middot; <!-- Local Date and Time -->

<td class=no> &middot; <!-- Date -->

<td class=no> &middot; <!-- Month -->

<td class=no> &middot; <!-- Week -->

<td class=no> &middot; <!-- Time -->

<td class=no> &middot; <!-- Number -->

<td class=no> &middot; <!-- Range -->

<td class=no> &middot; <!-- Checkbox -->

<td class=no> &middot; <!-- Radio Button -->

<td class=no> &middot; <!-- File -->

<td class=no> &middot; <!-- Hidden -->

<td class=no> &middot; <!-- Submit Button -->

<td class=no> &middot; <!-- Image Button -->

<td class=no> &middot; <!-- Reset Button -->

<td class=no> &middot; <!-- Button -->

<tr>
<th> <code title=attr-input-checked>checked</code>

Expand Down Expand Up @@ -28731,7 +28701,6 @@ function AddCloud(data, x, y) { ... }</pre>
<dfn id=alt4 title=dom-input-alt><code>alt</code></dfn>, <dfn
id=autocomplete
title=dom-input-autocomplete><code>autocomplete</code></dfn>, <dfn
id=autofocus title=dom-input-autofocus><code>autofocus</code></dfn>, <dfn
id=inputmode title=dom-input-inputmode><code>inputmode</code></dfn>, <dfn
id=max3 title=dom-input-max><code>max</code></dfn>, <dfn id=min1
title=dom-input-min><code>min</code></dfn>, <dfn id=pattern
Expand Down Expand Up @@ -28825,7 +28794,6 @@ function AddCloud(data, x, y) { ... }</pre>
attributes, DOM attributes, and methods apply to the element: <code
title=attr-input-autocomplete><a
href="#autocomplete0">autocomplete</a></code>, <code
title=attr-input-autofocus>autofocus</code>, <code
title=attr-input-inputmode>inputmode</code>, <code
title=attr-input-list>list</code>, <code
title=attr-input-maxlength>maxlength</code>, <code
Expand Down Expand Up @@ -28923,7 +28891,6 @@ function AddCloud(data, x, y) { ... }</pre>
element content attributes apply to the element: <code
title=attr-input-autocomplete><a
href="#autocomplete0">autocomplete</a></code>, <code
title=attr-input-autofocus>autofocus</code>, <code
title=attr-input-inputmode>inputmode</code>, <code
title=attr-input-maxlength>maxlength</code>, <code
title=attr-input-pattern>pattern</code>, <code
Expand Down Expand Up @@ -29369,7 +29336,8 @@ rel="" on submit buttons?

<dd><code title=attr-fs-action><a href="#action">action</a></code>

<dd><code title=attr-button-autofocus>autofocus</code>
<dd><code title=attr-fe-autofocus><a
href="#autofocus">autofocus</a></code>

<dd><code title=attr-fe-disabled><a href="#disabled5">disabled</a></code>

Expand All @@ -29393,7 +29361,7 @@ rel="" on submit buttons?
<pre
class=idl>interface <dfn id=htmlbuttonelement>HTMLButtonElement</dfn> : <a href="#htmlelement">HTMLElement</a> {
attribute DOMString <a href="#action0" title=dom-fs-action>action</a>;
attribute boolean <span title=dom-button-autofocus>autofocus</span>;
attribute boolean <a href="#autofocus0" title=dom-fe-autofocus>autofocus</a>;
attribute boolean <a href="#disabled6" title=dom-fe-disabled>disabled</a>;
attribute DOMString <a href="#enctype0" title=dom-fs-enctype>enctype</a>;
readonly attribute <a href="#htmlformelement">HTMLFormElement</a> <a href="#form1" title=dom-fae-form>form</a>;
Expand Down Expand Up @@ -29462,7 +29430,8 @@ rel="" on submit buttons?

<dt>Element-specific attributes:

<dd><code title=attr-select-autofocus>autofocus</code>
<dd><code title=attr-fe-autofocus><a
href="#autofocus">autofocus</a></code>

<dd><code title=attr-fe-disabled><a href="#disabled5">disabled</a></code>

Expand All @@ -29479,7 +29448,7 @@ rel="" on submit buttons?
<dd>
<pre
class=idl>interface <dfn id=htmlselectelement>HTMLSelectElement</dfn> : <a href="#htmlelement">HTMLElement</a> {
attribute boolean <span title=dom-select-autofocus>autofocus</span>;
attribute boolean <a href="#autofocus0" title=dom-fe-autofocus>autofocus</a>;
attribute boolean <a href="#disabled6" title=dom-fe-disabled>disabled</a>;
readonly attribute <a href="#htmlformelement">HTMLFormElement</a> <a href="#form1" title=dom-fae-form>form</a>;
attribute boolean <span title=dom-select-multiple>multiple</span>;
Expand Down Expand Up @@ -29693,7 +29662,8 @@ interface <dfn id=htmloptionelement>HTMLOptionElement</dfn> : <a href="#htmlelem

<dd><code title=attr-textarea-accept>accept</code>

<dd><code title=attr-textarea-autofocus>autofocus</code>
<dd><code title=attr-fe-autofocus><a
href="#autofocus">autofocus</a></code>

<dd><code title=attr-textarea-cols>cols</code>

Expand Down Expand Up @@ -29723,7 +29693,7 @@ interface <dfn id=htmloptionelement>HTMLOptionElement</dfn> : <a href="#htmlelem
<pre
class=idl>interface <dfn id=htmltextareaelement>HTMLTextAreaElement</dfn> : <a href="#htmlelement">HTMLElement</a> {
attribute DOMString <span title=dom-textarea-accept>accept</span>;
attribute boolean <span title=dom-textarea-autofocus>autofocus</span>;
attribute boolean <a href="#autofocus0" title=dom-fe-autofocus>autofocus</a>;
attribute unsigned long <span title=dom-textarea-cols>cols</span>;
attribute boolean <a href="#disabled6" title=dom-fe-disabled>disabled</a>;
readonly attribute <a href="#htmlformelement">HTMLFormElement</a> <a href="#form1" title=dom-fae-form>form</a>;
Expand Down Expand Up @@ -29945,12 +29915,17 @@ interface <dfn id=htmloptionelement>HTMLOptionElement</dfn> : <a href="#htmlelem
<h4 id=attributes1><span class=secno>4.9.13 </span><dfn
id=attributes4>Attributes common to form controls</dfn></h4>

<h5 id=naming><span class=secno>4.9.13.1. </span>Naming form controls</h5>

<p class=big-issue>... <dfn id=name11 title=attr-fe-name>name</dfn> content
attribute

<p class=big-issue>... <dfn id=name12 title=dom-fe-name>name</dfn> DOM
attribute

<h5 id=enabling><span class=secno>4.9.13.2. </span>Enabling and disabling
form controls</h5>

<p class=big-issue>... <dfn id=disabled4
title=concept-fe-disabled>disabled</dfn></p>
<!-- XXX remember to check for a fieldset ancestor that has its
Expand All @@ -29962,9 +29937,21 @@ interface <dfn id=htmloptionelement>HTMLOptionElement</dfn> : <a href="#htmlelem
<p class=big-issue>... <dfn id=disabled6
title=dom-fe-disabled>disabled</dfn> DOM attribute

<h5 id=a-form><span class=secno>4.9.13.3. </span>A form control's value</h5>

<p class=big-issue>... <dfn id=value12 title=concept-fe-value>value</dfn></p>
<!-- XXX autocomplete: define somewhere that the value may be set from a stored value -->

<h5 id=autofocusing><span class=secno>4.9.13.4. </span>Autofocusing a form
control</h5>

<p class=big-issue>... <dfn id=autofocus
title=attr-fe-autofocus>autofocus</dfn> content attribute

<p class=big-issue>... <dfn id=autofocus0
title=dom-fe-autofocus>autofocus</dfn> DOM attribute</p>
<!-- If the element is <span>focusable</span>, run the <span>focusing steps</step> for that element. -->

<h4 id=attributes2><span class=secno>4.9.14 </span><dfn
id=attributes5>Attributes for form submission</dfn></h4>

Expand Down
65 changes: 30 additions & 35 deletions source
Expand Up @@ -24261,7 +24261,7 @@ function AddCloud(data, x, y) { ... }</pre>
<dd><code title="attr-fs-action">action</code></dd>
<dd><code title="attr-input-alt">alt</code></dd>
<dd><code title="attr-input-autocomplete">autocomplete</code></dd>
<dd><code title="attr-input-autofocus">autofocus</code></dd>
<dd><code title="attr-fe-autofocus">autofocus</code></dd>
<dd><code title="attr-input-checked">checked</code></dd>
<dd><code title="attr-fe-disabled">disabled</code></dd>
<dd><code title="attr-fs-enctype">enctype</code></dd>
Expand Down Expand Up @@ -24289,7 +24289,7 @@ function AddCloud(data, x, y) { ... }</pre>
attribute DOMString <span title="dom-fs-action">action</span>;
attribute DOMString <span title="dom-input-alt">alt</span>;
attribute boolean <span title="dom-input-autocomplete">autocomplete</span>;
attribute boolean <span title="dom-input-autofocus">autofocus</span>;
attribute boolean <span title="dom-fe-autofocus">autofocus</span>;
attribute boolean <span title="dom-input-defaultChecked">defaultChecked</span>;
attribute boolean <span title="dom-input-checked">checked</span>;
attribute boolean <span title="dom-fe-disabled">disabled</span>;
Expand Down Expand Up @@ -24459,7 +24459,6 @@ function AddCloud(data, x, y) { ... }</pre>
title="attr-fs-action">action</code>, <code
title="attr-input-alt">alt</code>, <code
title="attr-input-autocomplete">autocomplete</code>, <code
title="attr-input-autofocus">autofocus</code>, <code
title="attr-input-checked">checked</code>, <code
title="attr-fs-enctype">enctype</code>, and <code
title="attr-input-inputmode">inputmode</code>, <code
Expand Down Expand Up @@ -24606,29 +24605,6 @@ function AddCloud(data, x, y) { ... }</pre>
<td class="no"> &middot; <!-- Reset Button -->
<td class="no"> &middot; <!-- Button -->

<tr>
<th> <code title="attr-input-autofocus">autofocus</code>
<td class="yes"> Yes <!-- Text -->
<td class="yes"> Yes <!-- Password -->
<td class="no"> &middot; <!-- E-mail -->
<td class="no"> &middot; <!-- URL -->
<td class="no"> &middot; <!-- Date and Time -->
<td class="no"> &middot; <!-- Local Date and Time -->
<td class="no"> &middot; <!-- Date -->
<td class="no"> &middot; <!-- Month -->
<td class="no"> &middot; <!-- Week -->
<td class="no"> &middot; <!-- Time -->
<td class="no"> &middot; <!-- Number -->
<td class="no"> &middot; <!-- Range -->
<td class="no"> &middot; <!-- Checkbox -->
<td class="no"> &middot; <!-- Radio Button -->
<td class="no"> &middot; <!-- File -->
<td class="no"> &middot; <!-- Hidden -->
<td class="no"> &middot; <!-- Submit Button -->
<td class="no"> &middot; <!-- Image Button -->
<td class="no"> &middot; <!-- Reset Button -->
<td class="no"> &middot; <!-- Button -->

<tr>
<th> <code title="attr-input-checked">checked</code>
<td class="no"> &middot; <!-- Text -->
Expand Down Expand Up @@ -25211,7 +25187,6 @@ function AddCloud(data, x, y) { ... }</pre>
<p>The <dfn title="dom-input-accept"><code>accept</code></dfn>, <dfn
title="dom-input-alt"><code>alt</code></dfn>, <dfn
title="dom-input-autocomplete"><code>autocomplete</code></dfn>, <dfn
title="dom-input-autofocus"><code>autofocus</code></dfn>, <dfn
title="dom-input-inputmode"><code>inputmode</code></dfn>, <dfn
title="dom-input-max"><code>max</code></dfn>, <dfn
title="dom-input-min"><code>min</code></dfn>, <dfn
Expand Down Expand Up @@ -25300,7 +25275,6 @@ function AddCloud(data, x, y) { ... }</pre>
<code>input</code> element content attributes, DOM attributes, and
methods apply to the element:
<code title="attr-input-autocomplete">autocomplete</code>,
<code title="attr-input-autofocus">autofocus</code>,
<code title="attr-input-inputmode">inputmode</code>,
<code title="attr-input-list">list</code>,
<code title="attr-input-maxlength">maxlength</code>,
Expand Down Expand Up @@ -25391,7 +25365,6 @@ function AddCloud(data, x, y) { ... }</pre>
following common <code>input</code> element content attributes apply
to the element:
<code title="attr-input-autocomplete">autocomplete</code>,
<code title="attr-input-autofocus">autofocus</code>,
<code title="attr-input-inputmode">inputmode</code>,
<code title="attr-input-maxlength">maxlength</code>,
<code title="attr-input-pattern">pattern</code>,
Expand Down Expand Up @@ -25804,7 +25777,7 @@ rel="" on submit buttons?
<dd><span>Phrasing content</span>.</dd>
<dt>Element-specific attributes:</dt>
<dd><code title="attr-fs-action">action</code></dd>
<dd><code title="attr-button-autofocus">autofocus</code></dd>
<dd><code title="attr-fe-autofocus">autofocus</code></dd>
<dd><code title="attr-fe-disabled">disabled</code></dd>
<dd><code title="attr-fs-enctype">enctype</code></dd>
<dd><code title="attr-fae-form">form</code></dd>
Expand All @@ -25817,7 +25790,7 @@ rel="" on submit buttons?
<dd>
<pre class="idl">interface <dfn>HTMLButtonElement</dfn> : <span>HTMLElement</span> {
attribute DOMString <span title="dom-fs-action">action</span>;
attribute boolean <span title="dom-button-autofocus">autofocus</span>;
attribute boolean <span title="dom-fe-autofocus">autofocus</span>;
attribute boolean <span title="dom-fe-disabled">disabled</span>;
attribute DOMString <span title="dom-fs-enctype">enctype</span>;
readonly attribute <span>HTMLFormElement</span> <span title="dom-fae-form">form</span>;
Expand Down Expand Up @@ -25871,7 +25844,7 @@ rel="" on submit buttons?
<dt>Content model:</dt>
<dd>Zero or more <code>option</code> or <code>optgroup</code> elements.</dd>
<dt>Element-specific attributes:</dt>
<dd><code title="attr-select-autofocus">autofocus</code></dd>
<dd><code title="attr-fe-autofocus">autofocus</code></dd>
<dd><code title="attr-fe-disabled">disabled</code></dd>
<dd><code title="attr-fae-form">form</code></dd>
<dd><code title="attr-select-multiple">multiple</code></dd>
Expand All @@ -25880,7 +25853,7 @@ rel="" on submit buttons?
<dt>DOM interface:</dt>
<dd>
<pre class="idl">interface <dfn>HTMLSelectElement</dfn> : <span>HTMLElement</span> {
attribute boolean <span title="dom-select-autofocus">autofocus</span>;
attribute boolean <span title="dom-fe-autofocus">autofocus</span>;
attribute boolean <span title="dom-fe-disabled">disabled</span>;
readonly attribute <span>HTMLFormElement</span> <span title="dom-fae-form">form</span>;
attribute boolean <span title="dom-select-multiple">multiple</span>;
Expand Down Expand Up @@ -26042,7 +26015,7 @@ interface <dfn>HTMLOptionElement</dfn> : <span>HTMLElement</span> {
<dd>Text.</dd>
<dt>Element-specific attributes:</dt>
<dd><code title="attr-textarea-accept">accept</code></dd>
<dd><code title="attr-textarea-autofocus">autofocus</code></dd>
<dd><code title="attr-fe-autofocus">autofocus</code></dd>
<dd><code title="attr-textarea-cols">cols</code></dd>
<dd><code title="attr-fe-disabled">disabled</code></dd>
<dd><code title="attr-fae-form">form</code></dd>
Expand All @@ -26058,7 +26031,7 @@ interface <dfn>HTMLOptionElement</dfn> : <span>HTMLElement</span> {
<dd>
<pre class="idl">interface <dfn>HTMLTextAreaElement</dfn> : <span>HTMLElement</span> {
attribute DOMString <span title="dom-textarea-accept">accept</span>;
attribute boolean <span title="dom-textarea-autofocus">autofocus</span>;
attribute boolean <span title="dom-fe-autofocus">autofocus</span>;
attribute unsigned long <span title="dom-textarea-cols">cols</span>;
attribute boolean <span title="dom-fe-disabled">disabled</span>;
readonly attribute <span>HTMLFormElement</span> <span title="dom-fae-form">form</span>;
Expand Down Expand Up @@ -26258,12 +26231,19 @@ interface <dfn>HTMLOptionElement</dfn> : <span>HTMLElement</span> {
null if there isn't one.</p>



<h4><dfn>Attributes common to form controls</dfn></h4>

<h5>Naming form controls</h5>

<p class="big-issue">... <dfn title="attr-fe-name">name</dfn> content attribute</p>

<p class="big-issue">... <dfn title="dom-fe-name">name</dfn> DOM attribute</p>



<h5>Enabling and disabling form controls</h5>

<p class="big-issue">... <dfn title="concept-fe-disabled">disabled</dfn></p>
<!-- XXX remember to check for a fieldset ancestor that has its
disabled attribute set, and always be disabled if you find one -->
Expand All @@ -26272,10 +26252,25 @@ interface <dfn>HTMLOptionElement</dfn> : <span>HTMLElement</span> {

<p class="big-issue">... <dfn title="dom-fe-disabled">disabled</dfn> DOM attribute</p>



<h5>A form control's value</h5>

<p class="big-issue">... <dfn title="concept-fe-value">value</dfn></p>
<!-- XXX autocomplete: define somewhere that the value may be set from a stored value -->



<h5>Autofocusing a form control</h5>

<p class="big-issue">... <dfn title="attr-fe-autofocus">autofocus</dfn> content attribute</p>

<p class="big-issue">... <dfn title="dom-fe-autofocus">autofocus</dfn> DOM attribute</p>

<!-- If the element is <span>focusable</span>, run the <span>focusing steps</step> for that element. -->



<h4><dfn>Attributes for form submission</dfn></h4>

<p class="big-issue">... <dfn title="attr-fs-action">action</dfn> content attribute</p>
Expand Down

0 comments on commit 429a578

Please sign in to comment.