[html5] r2215 - [] (0) WF2: Prepare the document for autofocus=''.
whatwg at whatwg.org
whatwg at whatwg.org
Thu Sep 18 16:30:01 PDT 2008
Author: ianh
Date: 2008-09-18 16:30:00 -0700 (Thu, 18 Sep 2008)
New Revision: 2215
Modified:
index
source
Log:
[] (0) WF2: Prepare the document for autofocus=''.
Modified: index
===================================================================
--- index 2008-09-18 10:56:13 UTC (rev 2214)
+++ index 2008-09-18 23:30:00 UTC (rev 2215)
@@ -1148,7 +1148,20 @@
<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>
@@ -27072,7 +27085,8 @@
<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>
@@ -27123,7 +27137,7 @@
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>;
@@ -27406,7 +27420,6 @@
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
@@ -27658,49 +27671,6 @@
<td class=no> · <!-- Button -->
<tr>
- <th> <code title=attr-input-autofocus>autofocus</code>
-
- <td class=yes> Yes <!-- Text -->
-
- <td class=yes> Yes <!-- Password -->
-
- <td class=no> · <!-- E-mail -->
-
- <td class=no> · <!-- URL -->
-
- <td class=no> · <!-- Date and Time -->
-
- <td class=no> · <!-- Local Date and Time -->
-
- <td class=no> · <!-- Date -->
-
- <td class=no> · <!-- Month -->
-
- <td class=no> · <!-- Week -->
-
- <td class=no> · <!-- Time -->
-
- <td class=no> · <!-- Number -->
-
- <td class=no> · <!-- Range -->
-
- <td class=no> · <!-- Checkbox -->
-
- <td class=no> · <!-- Radio Button -->
-
- <td class=no> · <!-- File -->
-
- <td class=no> · <!-- Hidden -->
-
- <td class=no> · <!-- Submit Button -->
-
- <td class=no> · <!-- Image Button -->
-
- <td class=no> · <!-- Reset Button -->
-
- <td class=no> · <!-- Button -->
-
- <tr>
<th> <code title=attr-input-checked>checked</code>
<td class=no> · <!-- Text -->
@@ -28731,7 +28701,6 @@
<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
@@ -28825,7 +28794,6 @@
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
@@ -28923,7 +28891,6 @@
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
@@ -29369,7 +29336,8 @@
<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>
@@ -29393,7 +29361,7 @@
<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>;
@@ -29462,7 +29430,8 @@
<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>
@@ -29479,7 +29448,7 @@
<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>;
@@ -29693,7 +29662,8 @@
<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>
@@ -29723,7 +29693,7 @@
<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>;
@@ -29945,12 +29915,17 @@
<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
@@ -29962,9 +29937,21 @@
<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>
Modified: source
===================================================================
--- source 2008-09-18 10:56:13 UTC (rev 2214)
+++ source 2008-09-18 23:30:00 UTC (rev 2215)
@@ -24261,7 +24261,7 @@
<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>
@@ -24289,7 +24289,7 @@
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>;
@@ -24459,7 +24459,6 @@
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
@@ -24607,29 +24606,6 @@
<td class="no"> · <!-- Button -->
<tr>
- <th> <code title="attr-input-autofocus">autofocus</code>
- <td class="yes"> Yes <!-- Text -->
- <td class="yes"> Yes <!-- Password -->
- <td class="no"> · <!-- E-mail -->
- <td class="no"> · <!-- URL -->
- <td class="no"> · <!-- Date and Time -->
- <td class="no"> · <!-- Local Date and Time -->
- <td class="no"> · <!-- Date -->
- <td class="no"> · <!-- Month -->
- <td class="no"> · <!-- Week -->
- <td class="no"> · <!-- Time -->
- <td class="no"> · <!-- Number -->
- <td class="no"> · <!-- Range -->
- <td class="no"> · <!-- Checkbox -->
- <td class="no"> · <!-- Radio Button -->
- <td class="no"> · <!-- File -->
- <td class="no"> · <!-- Hidden -->
- <td class="no"> · <!-- Submit Button -->
- <td class="no"> · <!-- Image Button -->
- <td class="no"> · <!-- Reset Button -->
- <td class="no"> · <!-- Button -->
-
- <tr>
<th> <code title="attr-input-checked">checked</code>
<td class="no"> · <!-- Text -->
<td class="no"> · <!-- Password -->
@@ -25211,7 +25187,6 @@
<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
@@ -25300,7 +25275,6 @@
<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>,
@@ -25391,7 +25365,6 @@
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>,
@@ -25804,7 +25777,7 @@
<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>
@@ -25817,7 +25790,7 @@
<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>;
@@ -25871,7 +25844,7 @@
<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>
@@ -25880,7 +25853,7 @@
<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>;
@@ -26042,7 +26015,7 @@
<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>
@@ -26058,7 +26031,7 @@
<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>;
@@ -26258,12 +26231,19 @@
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 -->
@@ -26272,10 +26252,25 @@
<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>
More information about the Commit-Watchers
mailing list