[html5] r2162 - [] (0) WF2: Bring together 'disabled' and 'name' attributes that are common to a [...]
whatwg at whatwg.org
whatwg at whatwg.org
Wed Sep 10 14:44:44 PDT 2008
Author: ianh
Date: 2008-09-10 14:44:43 -0700 (Wed, 10 Sep 2008)
New Revision: 2162
Modified:
index
source
Log:
[] (0) WF2: Bring together 'disabled' and 'name' attributes that are common to all form controls, so we can have a single definition. Begin to specify 'successful'. Related minor editorial tweaks.
Modified: index
===================================================================
--- index 2008-09-10 10:43:46 UTC (rev 2161)
+++ index 2008-09-10 21:44:43 UTC (rev 2162)
@@ -1059,15 +1059,14 @@
<li><a href="#association"><span class=secno>4.9.12 </span>Association
of controls and forms</a>
- <li><a href="#processing1"><span class=secno>4.9.13 </span>Processing
- models</a>
- <ul class=toc>
- <li><a href="#constraint"><span class=secno>4.9.13.1.
- </span>Constraint validation</a>
+ <li><a href="#attributes1"><span class=secno>4.9.13 </span>Attributes
+ common to form controls</a>
- <li><a href="#form-submission"><span class=secno>4.9.13.2.
- </span>Form submission</a>
- </ul>
+ <li><a href="#constraint"><span class=secno>4.9.14 </span>Constraint
+ validation</a>
+
+ <li><a href="#form-submission"><span class=secno>4.9.15 </span>Form
+ submission</a>
</ul>
<li><a href="#scripting1"><span class=secno>4.10 </span>Scripting</a>
@@ -1198,7 +1197,7 @@
<li><a href="#global0"><span class=secno>4.12.5 </span>Global
attributes for data templates</a>
- <li><a href="#processing2"><span class=secno>4.12.6 </span>Processing
+ <li><a href="#processing1"><span class=secno>4.12.6 </span>Processing
model</a>
<ul class=toc>
<li><a href="#the-originalcontent"><span class=secno>4.12.6.1.
@@ -1368,7 +1367,7 @@
<li><a href="#updating1"><span class=secno>5.7.4 </span>Updating an
application cache</a>
- <li><a href="#processing3"><span class=secno>5.7.5 </span>Processing
+ <li><a href="#processing2"><span class=secno>5.7.5 </span>Processing
model</a>
<ul class=toc>
<li><a href="#changesToNetworkingModel"><span class=secno>5.7.5.1.
@@ -1487,7 +1486,7 @@
<li><a href="#errors"><span class=secno>5.10.2.5. </span>Errors</a>
- <li><a href="#processing4"><span class=secno>5.10.2.6.
+ <li><a href="#processing3"><span class=secno>5.10.2.6.
</span>Processing model</a>
</ul>
@@ -1856,7 +1855,7 @@
<li><a href="#end-tags"><span class=secno>8.1.2.2. </span>End
tags</a>
- <li><a href="#attributes1"><span class=secno>8.1.2.3.
+ <li><a href="#attributes2"><span class=secno>8.1.2.3.
</span>Attributes</a>
<li><a href="#optional"><span class=secno>8.1.2.4. </span>Optional
@@ -6694,7 +6693,7 @@
href="#applet">applet</a></code>, <code><a href="#area">area</a></code>,
<code><a href="#form">form</a></code>, <code><a
href="#img">img</a></code>, or <code><a href="#object">object</a></code>
- element with a <code title=attr-name>name</code> attribute equal to <var
+ element with a <code title="">name</code> attribute equal to <var
title="">key</var>, or,
<li>It is an <a href="#html-elements" title="HTML elements">HTML
@@ -6713,7 +6712,8 @@
<p>The <code><a
href="#htmlformcontrolscollection0">HTMLFormControlsCollection</a></code>
interface represents a <a href="#collections0"
- title=collections>collection</a> of form controls.
+ title=collections>collection</a> of <a href="#field"
+ title=category-field>field elements</a>.
<pre
class=idl>interface <dfn id=htmlformcontrolscollection0>HTMLFormControlsCollection</dfn> {
@@ -6742,14 +6742,14 @@
<ol>
<li>If, at the time the method is called, there is exactly one node in the
collection that has either an <code title=attr-id><a
- href="#id">id</a></code> attribute or a <code title=attr-name>name</code>
- attribute equal to <var title="">key</var>, then return that node and
- stop the algorithm.
+ href="#id">id</a></code> attribute or a <code title=attr-fe-name><a
+ href="#name9">name</a></code> attribute equal to <var title="">key</var>,
+ then return that node and stop the algorithm.
<li>Otherwise, if there are no nodes in the collection that have either an
<code title=attr-id><a href="#id">id</a></code> attribute or a <code
- title=attr-name>name</code> attribute equal to <var title="">key</var>,
- then return null and stop the algorithm.
+ title=attr-fe-name><a href="#name9">name</a></code> attribute equal to
+ <var title="">key</var>, then return null and stop the algorithm.
<li>Otherwise, create a <code>NodeList</code> object representing a live
view of the <code><a
@@ -6757,9 +6757,9 @@
object, further filtered so that the only nodes in the
<code>NodeList</code> object are those that have either an <code
title=attr-id><a href="#id">id</a></code> attribute or a <code
- title=attr-name>name</code> attribute equal to <var title="">key</var>.
- The nodes in the <code>NodeList</code> object must be sorted in <a
- href="#tree-order">tree order</a>.
+ title=attr-fe-name><a href="#name9">name</a></code> attribute equal to
+ <var title="">key</var>. The nodes in the <code>NodeList</code> object
+ must be sorted in <a href="#tree-order">tree order</a>.
<li>Return that <code>NodeList</code> object.
</ol>
@@ -6822,14 +6822,14 @@
<ol>
<li>If, at the time the method is called, there is exactly one node in the
collection that has either an <code title=attr-id><a
- href="#id">id</a></code> attribute or a <code title=attr-name>name</code>
- attribute equal to <var title="">key</var>, then return that node and
- stop the algorithm.
+ href="#id">id</a></code> attribute or a <code
+ title=attr-option-name>name</code> attribute equal to <var
+ title="">key</var>, then return that node and stop the algorithm.
<li>Otherwise, if there are no nodes in the collection that have either an
<code title=attr-id><a href="#id">id</a></code> attribute or a <code
- title=attr-name>name</code> attribute equal to <var title="">key</var>,
- then return null and stop the algorithm.
+ title=attr-option-name>name</code> attribute equal to <var
+ title="">key</var>, then return null and stop the algorithm.
<li>Otherwise, create a <code>NodeList</code> object representing a live
view of the <code><a
@@ -26521,14 +26521,15 @@
content attribute with a matching <code title=dom-fae-form><a
href="#form1">form</a></code> DOM attribute.
- <p>The controls that end up being submitted back to the server are in the
- <dfn id=field title=category-field>field</dfn> category.
+ <p>The controls that end up being submitted back to the server are <dfn
+ id=field title=category-field>field elements</dfn>.
<p>The controls that are exposed to the <code title=dom-form-elements><a
href="#elements3"><var title="">form</var>.elements</a></code> and <code
title=dom-fieldset-elements><a href="#elements4"><var
- title="">fieldset</var>.elements</a></code> APIs are in the <dfn id=listed
- title=category-listed-form-element>listed form element</dfn> category.
+ title="">fieldset</var>.elements</a></code> APIs are <dfn id=listed
+ title=category-listed-form-element>listed form elements</dfn>. This is a
+ superset of the <a href="#field" title=category-field>field elements</a>.
<h4 id=the-form><span class=secno>4.9.1 </span>The <dfn
id=form><code>form</code></dfn> element</h4>
@@ -26652,6 +26653,8 @@
<dd><code title=attr-fae-form><a href="#form0">form</a></code>
+ <dd><code title=attr-fe-name><a href="#name9">name</a></code>
+
<dt>DOM interface:
<dd>
@@ -26659,6 +26662,7 @@
class=idl>interface <dfn id=htmlfieldsetelement>HTMLFieldSetElement</dfn> : <a href="#htmlelement">HTMLElement</a> {
attribute DOMString <span title=dom-fieldset-disabled>disabled</span>;
readonly attribute <a href="#htmlformelement">HTMLFormElement</a> <a href="#form1" title=dom-fae-form>form</a>;
+ attribute DOMString <a href="#name10" title=dom-fe-name>name</a>;
readonly attribute DOMString <span title=dom-select-type>type</span>;
@@ -26695,7 +26699,7 @@
<dd><a href="#form-associated">Form-associated element</a>.
- <dd><a href="#field" title=category-field>Field</a>.
+ <dd><a href="#field" title=category-field>Field element</a>.
<dd><a href="#listed" title=category-listed-form-element>Listed form
element</a>.
@@ -26722,7 +26726,7 @@
<dd><code title=attr-input-checked>checked</code>
- <dd><code title=attr-input-disabled>disabled</code>
+ <dd><code title=attr-fe-disabled><a href="#disabled3">disabled</a></code>
<dd><code title=attr-input-enctype>enctype</code>
@@ -26740,7 +26744,7 @@
<dd><code title=attr-input-min>min</code>
- <dd><code title=attr-input-name>name</code>
+ <dd><code title=attr-fe-name><a href="#name9">name</a></code>
<dd><code title=attr-input-pattern>pattern</code>
@@ -26772,7 +26776,7 @@
attribute boolean <span title=dom-input-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-input-disabled>disabled</span>;
+ attribute boolean <a href="#disabled4" title=dom-fe-disabled>disabled</a>;
attribute DOMString <span title=dom-input-enctype>enctype</span>;
readonly attribute <a href="#htmlformelement">HTMLFormElement</a> <a href="#form1" title=dom-fae-form>form</a>;
attribute DOMString <span title=dom-input-inputmode>inputmode</span>;
@@ -26781,7 +26785,7 @@
attribute long <span title=dom-input-maxLength>maxLength</span>;
attribute DOMString <span title=dom-input-method>method</span>;
attribute DOMString <span title=dom-input-min>min</span>;
- attribute DOMString <span title=dom-input-name>name</span>;
+ attribute DOMString <a href="#name10" title=dom-fe-name>name</a>;
attribute DOMString <span title=dom-input-pattern>pattern</span>;
attribute boolean <span title=dom-input-readOnly>readOnly</span>;
attribute boolean <span title=dom-input-required>required</span>;
@@ -26827,7 +26831,7 @@
<dd><a href="#form-associated">Form-associated element</a>.
- <dd><a href="#field" title=category-field>Field</a>.
+ <dd><a href="#field" title=category-field>Field element</a>.
<dd><a href="#listed" title=category-listed-form-element>Listed form
element</a>.
@@ -26846,7 +26850,7 @@
<dd><code title=attr-button-autofocus>autofocus</code>
- <dd><code title=attr-button-disabled>disabled</code>
+ <dd><code title=attr-fe-disabled><a href="#disabled3">disabled</a></code>
<dd><code title=attr-button-enctype>enctype</code>
@@ -26854,7 +26858,7 @@
<dd><code title=attr-button-method>method</code>
- <dd><code title=attr-button-name>name</code>
+ <dd><code title=attr-fe-name><a href="#name9">name</a></code>
<dd><code title=attr-button-target>target</code>
@@ -26869,11 +26873,11 @@
class=idl>interface <dfn id=htmlbuttonelement>HTMLButtonElement</dfn> : <a href="#htmlelement">HTMLElement</a> {
attribute DOMString <span title=dom-button-action>action</span>;
attribute boolean <span title=dom-button-autofocus>autofocus</span>;
- attribute boolean <span title=dom-button-disabled>disabled</span>;
+ attribute boolean <a href="#disabled4" title=dom-fe-disabled>disabled</a>;
attribute DOMString <span title=dom-button-enctype>enctype</span>;
readonly attribute <a href="#htmlformelement">HTMLFormElement</a> <a href="#form1" title=dom-fae-form>form</a>;
attribute DOMString <span title=dom-button-method>method</span>;
- attribute DOMString <span title=dom-button-name>name</span>;
+ attribute DOMString <a href="#name10" title=dom-fe-name>name</a>;
attribute DOMString <span title=dom-button-target>target</span>;
attribute DOMString <span title=dom-button-type>type</span>;
attribute DOMString <span title=dom-button-value>value</span>;
@@ -26941,7 +26945,7 @@
<dd><a href="#form-associated">Form-associated element</a>.
- <dd><a href="#field" title=category-field>Field</a>.
+ <dd><a href="#field" title=category-field>Field element</a>.
<dd><a href="#listed" title=category-listed-form-element>Listed form
element</a>.
@@ -26959,13 +26963,13 @@
<dd><code title=attr-select-autofocus>autofocus</code>
- <dd><code title=attr-select-disabled>disabled</code>
+ <dd><code title=attr-fe-disabled><a href="#disabled3">disabled</a></code>
<dd><code title=attr-fae-form><a href="#form0">form</a></code>
<dd><code title=attr-select-multiple>multiple</code>
- <dd><code title=attr-select-name>name</code>
+ <dd><code title=attr-fe-name><a href="#name9">name</a></code>
<dd><code title=attr-select-size>size</code>
@@ -26975,10 +26979,10 @@
<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 <span title=dom-select-disabled>disabled</span>;
+ attribute boolean <a href="#disabled4" 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>;
- attribute DOMString <span title=dom-select-name>name</span>;
+ attribute DOMString <a href="#name10" title=dom-fe-name>name</a>;
attribute boolean <span title=dom-select-size>size</span>;
readonly attribute DOMString <span title=dom-select-type>type</span>;
@@ -27149,7 +27153,7 @@
<dd><a href="#form-associated">Form-associated element</a>.
- <dd><a href="#field" title=category-field>Field</a>.
+ <dd><a href="#field" title=category-field>Field element</a>.
<dd><a href="#listed" title=category-listed-form-element>Listed form
element</a>.
@@ -27170,7 +27174,7 @@
<dd><code title=attr-textarea-cols>cols</code>
- <dd><code title=attr-textarea-disabled>disabled</code>
+ <dd><code title=attr-fe-disabled><a href="#disabled3">disabled</a></code>
<dd><code title=attr-fae-form><a href="#form0">form</a></code>
@@ -27178,7 +27182,7 @@
<dd><code title=attr-textarea-maxlength>maxlength</code>
- <dd><code title=attr-textarea-name>name</code>
+ <dd><code title=attr-fe-name><a href="#name9">name</a></code>
<dd><code title=attr-textarea-pattern>pattern</code>
@@ -27198,11 +27202,11 @@
attribute DOMString <span title=dom-textarea-accept>accept</span>;
attribute boolean <span title=dom-textarea-autofocus>autofocus</span>;
attribute unsigned long <span title=dom-textarea-cols>cols</span>;
- attribute boolean <span title=dom-textarea-disabled>disabled</span>;
+ attribute boolean <a href="#disabled4" title=dom-fe-disabled>disabled</a>;
readonly attribute <a href="#htmlformelement">HTMLFormElement</a> <a href="#form1" title=dom-fae-form>form</a>;
attribute DOMString <span title=dom-textarea-inputmode>inputmode</span>;
attribute long <span title=dom-textarea-maxLength>maxLength</span>;
- attribute DOMString <span title=dom-textarea-name>name</span>;
+ attribute DOMString <a href="#name10" title=dom-fe-name>name</a>;
attribute DOMString <span title=dom-textarea-pattern>pattern</span>;
attribute boolean <span title=dom-textarea-readOnly>readOnly</span>;
attribute boolean <span title=dom-textarea-required>required</span>;
@@ -27256,7 +27260,7 @@
<dd><code title=attr-fae-form><a href="#form0">form</a></code>
- <dd><code title=attr-output-name>name</code>
+ <dd><code title=attr-fe-name><a href="#name9">name</a></code>
<dt>DOM interface:
@@ -27265,7 +27269,7 @@
class=idl>interface <dfn id=htmloutputelement>HTMLOutputElement</dfn> : <a href="#htmlelement">HTMLElement</a> {
attribute DOMString <span title=dom-output-wrap>htmlFor</span>;
readonly attribute <a href="#htmlformelement">HTMLFormElement</a> <a href="#form1" title=dom-fae-form>form</a>;
- attribute DOMString <span title=dom-output-name>name</span>;
+ attribute DOMString <a href="#name10" title=dom-fe-name>name</a>;
readonly attribute DOMString <span title=dom-output-type>type</span>;
attribute DOMString <span title=dom-output-defaultValue>defaultValue</span>;
@@ -27382,13 +27386,29 @@
getting, must return the element's <a href="#form-owner">form owner</a>,
or null if there isn't one.
- <h4 id=processing1><span class=secno>4.9.13 </span>Processing models</h4>
+ <h4 id=attributes1><span class=secno>4.9.13 </span>Attributes common to
+ form controls</h4>
- <h5 id=constraint><span class=secno>4.9.13.1. </span>Constraint validation</h5>
+ <p class=big-issue>... <dfn id=name9 title=attr-fe-name>name</dfn> content
+ attribute
+ <p class=big-issue>... <dfn id=name10 title=dom-fe-name>name</dfn> DOM
+ attribute
+
+ <p class=big-issue>... <dfn id=disabled2
+ title=concept-fe-disabled>disabled</dfn>
+
+ <p class=big-issue>... <dfn id=disabled3
+ title=attr-fe-disabled>disabled</dfn> content attribute
+
+ <p class=big-issue>... <dfn id=disabled4
+ title=dom-fe-disabled>disabled</dfn> DOM attribute
+
+ <h4 id=constraint><span class=secno>4.9.14 </span>Constraint validation</h4>
+
<p class=big-issue>...
- <h5 id=form-submission><span class=secno>4.9.13.2. </span>Form submission</h5>
+ <h4 id=form-submission><span class=secno>4.9.15 </span>Form submission</h4>
<p>When a form <var title="">form</var> is <dfn id=submitted
title=concept-form-submit>submitted</dfn> from an element <var
@@ -27422,10 +27442,44 @@
<li>
<p>Let <var title="">controls</var> be a list of all the <a href="#field"
- title=category-field>fields</a> whose <a href="#form-owner">form
- owner</a> is <var title="">form</var>.
+ title=category-field>field elements</a> whose <a href="#form-owner">form
+ owner</a> is <var title="">form</var>, in <a href="#tree-order">tree
+ order</a>.
<li>
+ <p>Let the <dfn id=form-data><var>form data set</var></dfn> be a list of
+ name/value pairs, initially empty.
+
+ <li>
+ <p>For each element <var title="">field</var> in <var
+ title="">controls</var>, in <a href="#tree-order">tree order</a>, run
+ the following substeps:</p>
+
+ <ol>
+ <li>
+ <p>If any of the following conditions are met, then skip these substeps
+ for this element:</p>
+
+ <ul>
+ <li>The <var title="">field</var> element has a <code><a
+ href="#datalist">datalist</a></code> element ancestor.
+
+ <li>The <var title="">field</var> element does not have a <code
+ title=attr-fe-name><a href="#name9">name</a></code> attribute
+ specified, or its <code title=attr-fe-name><a
+ href="#name9">name</a></code> attribute's value is the empty string,
+ and it is not an <code><a href="#input0">input</a></code> elements
+ whose <code title=attr-input-type>type</code> attribute is in the
+ <span>Image Button</span> state.
+
+ <li>The <var title="">field</var> element is <a href="#disabled2"
+ title=concept-fe-disabled>disabled</a>.
+
+ <li class=big-issue>...
+ </ul>
+ </ol>
+
+ <li>
<p class=big-issue>...
</ol>
@@ -28425,7 +28479,7 @@
href="#multiple0">multiple</a></code>
<dd><code title=attr-datagrid-disabled><a
- href="#disabled3">disabled</a></code>
+ href="#disabled6">disabled</a></code>
<dt>DOM interface:
@@ -28435,7 +28489,7 @@
attribute <a href="#datagriddataprovider">DataGridDataProvider</a> <a href="#data2" title=dom-datagrid-data>data</a>;
readonly attribute <a href="#datagridselection">DataGridSelection</a> <a href="#selection0" title=dom-datagrid-selection>selection</a>;
attribute boolean <a href="#multiple" title=dom-datagrid-multiple>multiple</a>;
- attribute boolean <a href="#disabled2" title=dom-datagrid-disabled>disabled</a>;
+ attribute boolean <a href="#disabled5" title=dom-datagrid-disabled>disabled</a>;
void <a href="#updateeverything" title=dom-datagrid-updateEverything>updateEverything</a>();
void <a href="#updaterowschanged" title=dom-datagrid-updateRowsChanged>updateRowsChanged</a>(in <a href="#rowspecification">RowSpecification</a> row, in unsigned long count);
void <a href="#updaterowsinserted" title=dom-datagrid-updateRowsInserted>updateRowsInserted</a>(in <a href="#rowspecification">RowSpecification</a> row, in unsigned long count);
@@ -28461,18 +28515,18 @@
<p>The <code title=attr-datagrid-multiple><a
href="#multiple0">multiple</a></code> and <code
- title=attr-datagrid-disabled><a href="#disabled3">disabled</a></code>
+ title=attr-datagrid-disabled><a href="#disabled6">disabled</a></code>
attributes are <a href="#boolean0" title="boolean attribute">boolean
attributes</a>. Their effects are described in the processing model
sections below.
<p>The <dfn id=multiple
title=dom-datagrid-multiple><code>multiple</code></dfn> and <dfn
- id=disabled2 title=dom-datagrid-disabled><code>disabled</code></dfn> DOM
+ id=disabled5 title=dom-datagrid-disabled><code>disabled</code></dfn> DOM
attributes must <a href="#reflect">reflect</a> the <code
title=attr-datagrid-multiple><a href="#multiple0">multiple</a></code> and
<code title=attr-datagrid-disabled><a
- href="#disabled3">disabled</a></code> content attributes respectively.
+ href="#disabled6">disabled</a></code> content attributes respectively.
<h5 id=the-datagrid><span class=secno>4.11.2.1. </span>The <code><a
href="#datagrid0">datagrid</a></code> data model</h5>
@@ -28505,7 +28559,7 @@
<p>The <code><a href="#datagrid0">datagrid</a></code> element can be
disabled entirely by setting the <code title=attr-datagrid-disabled><a
- href="#disabled3">disabled</a></code> attribute.</p>
+ href="#disabled6">disabled</a></code> attribute.</p>
<!--XXXDND
<p class="big-issue">selection draggable [normative definitions are
in the interactive part below]</p>
@@ -30227,7 +30281,7 @@
<p><em>This section only applies to interactive user agents.</em>
<p>If the <code><a href="#datagrid0">datagrid</a></code> element has a <dfn
- id=disabled3 title=attr-datagrid-disabled><code>disabled</code></dfn>
+ id=disabled6 title=attr-datagrid-disabled><code>disabled</code></dfn>
attribute, then the user agent must disable the <code><a
href="#datagrid0">datagrid</a></code>, preventing the user from
interacting with it. The <code><a href="#datagrid0">datagrid</a></code>
@@ -30494,7 +30548,7 @@
<dd><code title=attr-command-icon><a href="#icon">icon</a></code>
<dd><code title=attr-command-disabled><a
- href="#disabled4">disabled</a></code>
+ href="#disabled7">disabled</a></code>
<dd><code title=attr-command-checked><a
href="#checked0">checked</a></code>
@@ -30517,7 +30571,7 @@
attribute DOMString <a href="#type14" title=dom-command-type>type</a>;
attribute DOMString <a href="#label1" title=dom-command-label>label</a>;
attribute DOMString <a href="#icon0" title=dom-command-icon>icon</a>;
- attribute boolean <a href="#disabled5" title=dom-command-disabled>disabled</a>;
+ attribute boolean <a href="#disabled8" title=dom-command-disabled>disabled</a>;
attribute boolean <a href="#checked1" title=dom-command-checked>checked</a>;
attribute DOMString <a href="#radiogroup0" title=dom-command-radiogroup>radiogroup</a>;
attribute boolean <a href="#default3" title=dom-command-default>default</a>;
@@ -30554,13 +30608,13 @@
specified, the attribute's value must contain a <a href="#valid8">valid
URL</a>.
- <p>The <dfn id=disabled4
+ <p>The <dfn id=disabled7
title=attr-command-disabled><code>disabled</code></dfn> attribute is a <a
href="#boolean0">boolean attribute</a> that, if present, indicates that
the command is not available in the current state.
<p class=note>The distinction between <code title=attr-command-disabled><a
- href="#disabled4">disabled</a></code> and <code title=attr-hidden><a
+ href="#disabled7">disabled</a></code> and <code title=attr-hidden><a
href="#hidden1">hidden</a></code> is subtle. A command should be disabled
if, in the same context, it could be enabled if only certain aspects of
the situation were changed. A command should be marked as hidden if, in
@@ -30601,7 +30655,7 @@
<p>The <dfn id=type14 title=dom-command-type><code>type</code></dfn>, <dfn
id=label1 title=dom-command-label><code>label</code></dfn>, <dfn id=icon0
- title=dom-command-icon><code>icon</code></dfn>, <dfn id=disabled5
+ title=dom-command-icon><code>icon</code></dfn>, <dfn id=disabled8
title=dom-command-disabled><code>disabled</code></dfn>, <dfn id=checked1
title=dom-command-checked><code>checked</code></dfn>, <dfn id=radiogroup0
title=dom-command-radiogroup><code>radiogroup</code></dfn>, and <dfn
@@ -30698,9 +30752,9 @@
<dd>
<pre
class=idl>interface <dfn id=htmlbrowserbuttonelement>HTMLBrowserButtonElement</dfn> : <a href="#htmlelement">HTMLElement</a> {
- attribute DOMString <a href="#type14" title=dom-command-type>type</a>;
- readonly attribute boolean <span title=dom-command-supported>supported</span>;
- readonly attribute boolean <a href="#disabled5" title=dom-command-disabled>disabled</a>;
+ attribute DOMString <a href="#type16" title=dom-bb-type>type</a>;
+ readonly attribute boolean <a href="#supported" title=dom-bb-supported>supported</a>;
+ readonly attribute boolean <a href="#disabled9" title=dom-bb-disabled>disabled</a>;
};</pre>
<p>The <code title=command-ro><a href="#command2">Command</a></code>
@@ -30781,9 +30835,9 @@
value is one that the user agent recognises and supports), and false
otherwise.
- <p>The <dfn id=disabled6 title=dom-bb-><code>disabled</code></dfn> DOM
- attribute must return true if the element is disabled, and false otherwise
- (i.e. it returns the opposite of the <code title=attr-bb-type><a
+ <p>The <dfn id=disabled9 title=dom-bb-disabled><code>disabled</code></dfn>
+ DOM attribute must return true if the element is disabled, and false
+ otherwise (i.e. it returns the opposite of the <code title=attr-bb-type><a
href="#type15">type</a></code> attribute's state's <i>relevance</i>).
<h5 id=browser><span class=secno>4.11.4.1. </span>Browser button types</h5>
@@ -31295,7 +31349,7 @@
<dd>Whether the command is hidden or not (basically, whether it should be
shown in menus).
- <dt><dfn id=disabled7 title=command-facet-DisabledState>Disabled
+ <dt><dfn id=disabled10 title=command-facet-DisabledState>Disabled
State</dfn>
<dd>Whether the command is relevant and can be triggered or not.
@@ -31337,7 +31391,7 @@
readonly attribute DOMString <a href="#title7" title=dom-command-ro-title>title</a>;
readonly attribute DOMString <a href="#icon2" title=dom-command-ro-icon>icon</a>;
readonly attribute boolean <a href="#hidden0" title=dom-command-ro-hidden>hidden</a>;
- readonly attribute boolean <a href="#disabled8" title=dom-command-ro-disabled>disabled</a>;
+ readonly attribute boolean <a href="#disabled11" title=dom-command-ro-disabled>disabled</a>;
readonly attribute boolean <a href="#checked3" title=dom-command-ro-checked>checked</a>;
void <a href="#click0" title=dom-command-ro-click>click</a>();
readonly attribute <a href="#htmlcollection0">HTMLCollection</a> <a href="#triggers0" title=dom-command-ro-triggers>triggers</a>;
@@ -31407,9 +31461,9 @@
href="#hidden2">hidden</a></code> DOM attribute on the <code><a
href="#htmlelement">HTMLElement</a></code> interface.
- <p>The <dfn id=disabled8
+ <p>The <dfn id=disabled11
title=dom-command-ro-disabled><code>disabled</code></dfn> attribute must
- return true if the command's <a href="#disabled7"
+ return true if the command's <a href="#disabled10"
title=command-facet-DisabledState>Disabled State</a> is that the command
is disabled, and false if the command is not disabled. This attribute is
not affected by the command's <a href="#hidden"
@@ -31499,7 +31553,7 @@
title=attr-hidden><a href="#hidden1">hidden</a></code> attribute, and
false otherwise.
- <p>The <a href="#disabled7" title=command-facet-DisabledState>Disabled
+ <p>The <a href="#disabled10" title=command-facet-DisabledState>Disabled
State</a> facet of the command is always false. (The command is always
enabled.)
@@ -31528,13 +31582,13 @@
<a href="#using5" title=a-command>as for <code>a</code> elements</a> (see
the previous section).
- <p>The <a href="#disabled7" title=command-facet-DisabledState>Disabled
- State</a> of the command mirrors the disabled state of the button.
- Typically this is given by the element's <code
- title=attr-button-disabled>disabled</code> attribute, but certain button
- types become disabled at other times too (for example, the
- <code>move-up</code> button type is disabled when it would have no
- effect).
+ <p>The <a href="#disabled10" title=command-facet-DisabledState>Disabled
+ State</a> of the command mirrors the <a href="#disabled2"
+ title=concept-fe-disabled>disabled</a> state of the button. Typically this
+ is given by the element's <code title=attr-fe-disabled><a
+ href="#disabled3">disabled</a></code> attribute, but certain button types
+ become disabled at other times too (for example, the <code>move-up</code>
+ button type is disabled when it would have no effect).
<h5 id=using1><span class=secno>4.11.6.3. </span><dfn id=using7
title=input-command>Using the <code>input</code> element to define a
@@ -31591,12 +31645,13 @@
title=attr-hidden><a href="#hidden1">hidden</a></code> attribute, and
false otherwise.
- <p>The <a href="#disabled7" title=command-facet-DisabledState>Disabled
- State</a> of the command mirrors the disabled state of the control.
- Typically this is given by the element's <code
- title=attr-input-disabled>disabled</code> attribute, but certain input
- types become disabled at other times too (for example, the
- <code>move-up</code> input type is disabled when it would have no effect).
+ <p>The <a href="#disabled10" title=command-facet-DisabledState>Disabled
+ State</a> of the command mirrors the <a href="#disabled2"
+ title=concept-fe-disabled>disabled</a> state of the control. Typically
+ this is given by the element's <code title=attr-fe-disabled><a
+ href="#disabled3">disabled</a></code> attribute, but certain input types
+ become disabled at other times too (for example, the <code>move-up</code>
+ input type is disabled when it would have no effect).
<p>The <a href="#checked2" title=command-facet-CheckedState>Checked
State</a> of the command is true if the command is of <a href="#type19"
@@ -31652,7 +31707,7 @@
title=attr-hidden><a href="#hidden1">hidden</a></code> attribute, and
false otherwise.
- <p>The <a href="#disabled7" title=command-facet-DisabledState>Disabled
+ <p>The <a href="#disabled10" title=command-facet-DisabledState>Disabled
State</a> of the command is true (disabled) if the element has a <code
title=attr-option-disabled>disabled</code> attribute, and false otherwise.
@@ -31715,9 +31770,9 @@
title=attr-hidden><a href="#hidden1">hidden</a></code> attribute, and
false otherwise.
- <p>The <a href="#disabled7" title=command-facet-DisabledState>Disabled
+ <p>The <a href="#disabled10" title=command-facet-DisabledState>Disabled
State</a> of the command is true (disabled) if the element has a <code
- title=attr-command-disabled><a href="#disabled4">disabled</a></code>
+ title=attr-command-disabled><a href="#disabled7">disabled</a></code>
attribute, and false otherwise.
<p>The <a href="#checked2" title=command-facet-CheckedState>Checked
@@ -31782,7 +31837,7 @@
element has a <code title=attr-hidden><a href="#hidden1">hidden</a></code>
attribute, and false otherwise.
- <p>The <a href="#disabled7" title=command-facet-DisabledState>Disabled
+ <p>The <a href="#disabled10" title=command-facet-DisabledState>Disabled
State</a> facet of the command is true if the <code><a
href="#bb">bb</a></code> element's <code title=attr-bb-type><a
href="#type15">type</a></code> attribute's state's <i>relevance</i> is
@@ -32039,7 +32094,7 @@
title=attr-registrationmark><a
href="#registrationmark">registrationmark</a></code> content attribute.
- <h4 id=processing2><span class=secno>4.12.6 </span>Processing model</h4>
+ <h4 id=processing1><span class=secno>4.12.6 </span>Processing model</h4>
<!-- ua side -->
<p>The <a href="#task-source">task source</a> for all <a href="#tasks"
@@ -33213,7 +33268,7 @@
// the current browsing context
readonly attribute <a href="#window">Window</a> <a href="#window0" title=dom-window>window</a>;
readonly attribute <a href="#window">Window</a> <a href="#self" title=dom-self>self</a>;
- attribute DOMString <a href="#name9" title=dom-name>name</a>;
+ attribute DOMString <a href="#name11" title=dom-name>name</a>;
[PutForwards=href] readonly attribute <a href="#location2">Location</a> <a href="#location0" title=dom-document-location>location</a>;
readonly attribute <a href="#history3">History</a> <a href="#history2" title=dom-history>history</a>;
readonly attribute <a href="#undomanager">UndoManager</a> <a href="#undomanager0" title=dom-undoManager>undoManager</a>;
@@ -33417,7 +33472,7 @@
context</a> that was navigated, or null if no browsing context was
navigated.
- <p>The <dfn id=name9 title=dom-name><code>name</code></dfn> attribute of
+ <p>The <dfn id=name11 title=dom-name><code>name</code></dfn> attribute of
the <code><a href="#window">Window</a></code> object must, on getting,
return the current name of the <a href="#browsing1">browsing context</a>,
and, on setting, set the name of the <a href="#browsing1">browsing
@@ -36511,7 +36566,7 @@
progress. Abort the update process.
</ol>
- <h4 id=processing3><span class=secno>5.7.5 </span>Processing model</h4>
+ <h4 id=processing2><span class=secno>5.7.5 </span>Processing model</h4>
<p>The processing model of application caches for offline support in Web
applications is part of the <a href="#navigate"
@@ -39268,7 +39323,7 @@
return an error message describing the error encountered. The message
should be localized to the user's language.
- <h5 id=processing4><span class=secno>5.10.2.6. </span>Processing model</h5>
+ <h5 id=processing3><span class=secno>5.10.2.6. </span>Processing model</h5>
<p>The <dfn id=transaction0>transaction steps</dfn> are as follows. These
steps must be run asynchronously. These steps are invoked with a
@@ -46479,13 +46534,13 @@
characters</a>.
<li>Then, the start tag may have a number of attributes, the <a
- href="#attributes2" title=syntax-attributes>syntax for which</a> is
+ href="#attributes3" title=syntax-attributes>syntax for which</a> is
described below. Attributes may be separated from each other by one or
more <a href="#space" title="space character">space characters</a>.
<li>After the attributes, there may be one or more <a href="#space"
title="space character">space characters</a>. (Some attributes are
- required to be followed by a space. See the <a href="#attributes2"
+ required to be followed by a space. See the <a href="#attributes3"
title=syntax-attributes>attributes section</a> below.)
<li>Then, if the element is one of the <a href="#void-elements">void
@@ -46520,9 +46575,9 @@
(<code>></code>) character.
</ol>
- <h5 id=attributes1><span class=secno>8.1.2.3. </span>Attributes</h5>
+ <h5 id=attributes2><span class=secno>8.1.2.3. </span>Attributes</h5>
- <p><dfn id=attributes2 title=syntax-attributes>Attributes</dfn> for an
+ <p><dfn id=attributes3 title=syntax-attributes>Attributes</dfn> for an
element are expressed inside the element's start tag.
<p>Attributes have a name and a value. <dfn id=attribute3
@@ -46553,9 +46608,9 @@
name</a>.</p>
<div class=example>
- <p>In the following example, the <code
- title=attr-input-disabled>disabled</code> attribute is given with the
- empty attribute syntax:</p>
+ <p>In the following example, the <code title=attr-fe-disabled><a
+ href="#disabled3">disabled</a></code> attribute is given with the empty
+ attribute syntax:</p>
<pre><input <em>disabled</em>></pre>
</div>
Modified: source
===================================================================
--- source 2008-09-10 10:43:46 UTC (rev 2161)
+++ source 2008-09-10 21:44:43 UTC (rev 2162)
@@ -4552,7 +4552,7 @@
<li>It is an <code>a</code>, <code>applet</code>,
<code>area</code>, <code>form</code>, <code>img</code>, or
<code>object</code> element with a <code
- title="attr-name">name</code> attribute equal to <var
+ title="">name</code> attribute equal to <var
title="">key</var>, or,</li>
<li>It is an <span title="HTML elements">HTML element</span> of any
@@ -4571,7 +4571,8 @@
<h5>HTMLFormControlsCollection</h5>
<p>The <code>HTMLFormControlsCollection</code> interface represents
- a <span title="collections">collection</span> of form controls.</p>
+ a <span title="collections">collection</span> of <span
+ title="category-field">field elements</span>.</p>
<pre class="idl">interface <dfn>HTMLFormControlsCollection</dfn> {
readonly attribute unsigned long <span title="dom-HTMLFormControlsCollection-length">length</span>;
@@ -4600,12 +4601,13 @@
<li>If, at the time the method is called, there is exactly one node
in the collection that has either an <code
title="attr-id">id</code> attribute or a <code
- title="attr-name">name</code> attribute equal to <var title="">key</var>,
- then return that node and stop the algorithm.</li>
+ title="attr-fe-name">name</code> attribute equal to <var
+ title="">key</var>, then return that node and stop the
+ algorithm.</li>
<li>Otherwise, if there are no nodes in the collection that have
either an <code title="attr-id">id</code> attribute or a <code
- title="attr-name">name</code> attribute equal to <var
+ title="attr-fe-name">name</code> attribute equal to <var
title="">key</var>, then return null and stop the algorithm.</li>
<li>Otherwise, create a <code>NodeList</code> object representing a
@@ -4613,7 +4615,7 @@
further filtered so that the only nodes in the
<code>NodeList</code> object are those that have either an <code
title="attr-id">id</code> attribute or a <code
- title="attr-name">name</code> attribute equal to <var
+ title="attr-fe-name">name</code> attribute equal to <var
title="">key</var>. The nodes in the <code>NodeList</code> object
must be sorted in <span>tree order</span>.</li>
@@ -4678,13 +4680,13 @@
<li>If, at the time the method is called, there is exactly one node
in the collection that has either an <code
title="attr-id">id</code> attribute or a <code
- title="attr-name">name</code> attribute equal to <var
+ title="attr-option-name">name</code> attribute equal to <var
title="">key</var>, then return that node and stop the
algorithm.</li>
<li>Otherwise, if there are no nodes in the collection that have
either an <code title="attr-id">id</code> attribute or a <code
- title="attr-name">name</code> attribute equal to <var
+ title="attr-option-name">name</code> attribute equal to <var
title="">key</var>, then return null and stop the algorithm.</li>
<li>Otherwise, create a <code>NodeList</code> object representing a
@@ -23905,14 +23907,15 @@
<code title="dom-fae-form">form</code> DOM attribute.</p>
<p>The controls that end up being submitted back to the server are
- in the <dfn title="category-field">field</dfn> category.</p>
+ <dfn title="category-field">field elements</dfn>.</p>
<p>The controls that are exposed to the <code
title="dom-form-elements"><var title="">form</var>.elements</code>
and <code title="dom-fieldset-elements"><var
- title="">fieldset</var>.elements</code> APIs are in the <dfn
- title="category-listed-form-element">listed form element</dfn>
- category.</p>
+ title="">fieldset</var>.elements</code> APIs are <dfn
+ title="category-listed-form-element">listed form
+ elements</dfn>. This is a superset of the <span
+ title="category-field">field elements</span>.</p>
<h4>The <dfn><code>form</code></dfn> element</h4>
@@ -24004,11 +24007,13 @@
<dt>Element-specific attributes:</dt>
<dd><code title="attr-fieldset-disabled">disabled</code></dd>
<dd><code title="attr-fae-form">form</code></dd>
+ <dd><code title="attr-fe-name">name</code></dd>
<dt>DOM interface:</dt>
<dd>
<pre class="idl">interface <dfn>HTMLFieldSetElement</dfn> : <span>HTMLElement</span> {
attribute DOMString <span title="dom-fieldset-disabled">disabled</span>;
readonly attribute <span>HTMLFormElement</span> <span title="dom-fae-form">form</span>;
+ attribute DOMString <span title="dom-fe-name">name</span>;
readonly attribute DOMString <span title="dom-select-type">type</span>;
@@ -24040,7 +24045,7 @@
<dd><span>Phrasing content</span>.</dd>
<dd><span>Interactive content</span>.</dd>
<dd><span>Form-associated element</span>.</dd>
- <dd><span title="category-field">Field</span>.</dd>
+ <dd><span title="category-field">Field element</span>.</dd>
<dd><span title="category-listed-form-element">Listed form element</span>.</dd>
<dt>Contexts in which this element may be used:</dt>
<dd>Where <span>phrasing content</span> is expected.</dd>
@@ -24053,7 +24058,7 @@
<dd><code title="attr-input-autocomplete">autocomplete</code></dd>
<dd><code title="attr-input-autofocus">autofocus</code></dd>
<dd><code title="attr-input-checked">checked</code></dd>
- <dd><code title="attr-input-disabled">disabled</code></dd>
+ <dd><code title="attr-fe-disabled">disabled</code></dd>
<dd><code title="attr-input-enctype">enctype</code></dd>
<dd><code title="attr-fae-form">form</code></dd>
<dd><code title="attr-input-inputmode">inputmode</code></dd>
@@ -24062,7 +24067,7 @@
<dd><code title="attr-input-maxlength">maxlength</code></dd>
<dd><code title="attr-input-method">method</code></dd>
<dd><code title="attr-input-min">min</code></dd>
- <dd><code title="attr-input-name">name</code></dd>
+ <dd><code title="attr-fe-name">name</code></dd>
<dd><code title="attr-input-pattern">pattern</code></dd>
<dd><code title="attr-input-readonly">readonly</code></dd>
<dd><code title="attr-input-required">required</code></dd>
@@ -24082,7 +24087,7 @@
attribute boolean <span title="dom-input-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-input-disabled">disabled</span>;
+ attribute boolean <span title="dom-fe-disabled">disabled</span>;
attribute DOMString <span title="dom-input-enctype">enctype</span>;
readonly attribute <span>HTMLFormElement</span> <span title="dom-fae-form">form</span>;
attribute DOMString <span title="dom-input-inputmode">inputmode</span>;
@@ -24091,7 +24096,7 @@
attribute long <span title="dom-input-maxLength">maxLength</span>;
attribute DOMString <span title="dom-input-method">method</span>;
attribute DOMString <span title="dom-input-min">min</span>;
- attribute DOMString <span title="dom-input-name">name</span>;
+ attribute DOMString <span title="dom-fe-name">name</span>;
attribute DOMString <span title="dom-input-pattern">pattern</span>;
attribute boolean <span title="dom-input-readOnly">readOnly</span>;
attribute boolean <span title="dom-input-required">required</span>;
@@ -24135,7 +24140,7 @@
<dd><span>Phrasing content</span>.</dd>
<dd><span>Interactive content</span>.</dd>
<dd><span>Form-associated element</span>.</dd>
- <dd><span title="category-field">Field</span>.</dd>
+ <dd><span title="category-field">Field element</span>.</dd>
<dd><span title="category-listed-form-element">Listed form element</span>.</dd>
<dt>Contexts in which this element may be used:</dt>
<dd>Where <span>phrasing content</span> is expected.</dd>
@@ -24144,11 +24149,11 @@
<dt>Element-specific attributes:</dt>
<dd><code title="attr-button-action">action</code></dd>
<dd><code title="attr-button-autofocus">autofocus</code></dd>
- <dd><code title="attr-button-disabled">disabled</code></dd>
+ <dd><code title="attr-fe-disabled">disabled</code></dd>
<dd><code title="attr-button-enctype">enctype</code></dd>
<dd><code title="attr-fae-form">form</code></dd>
<dd><code title="attr-button-method">method</code></dd>
- <dd><code title="attr-button-name">name</code></dd>
+ <dd><code title="attr-fe-name">name</code></dd>
<dd><code title="attr-button-target">target</code></dd>
<dd><code title="attr-button-type">type</code></dd>
<dd><code title="attr-button-value">value</code></dd>
@@ -24157,11 +24162,11 @@
<pre class="idl">interface <dfn>HTMLButtonElement</dfn> : <span>HTMLElement</span> {
attribute DOMString <span title="dom-button-action">action</span>;
attribute boolean <span title="dom-button-autofocus">autofocus</span>;
- attribute boolean <span title="dom-button-disabled">disabled</span>;
+ attribute boolean <span title="dom-fe-disabled">disabled</span>;
attribute DOMString <span title="dom-button-enctype">enctype</span>;
readonly attribute <span>HTMLFormElement</span> <span title="dom-fae-form">form</span>;
attribute DOMString <span title="dom-button-method">method</span>;
- attribute DOMString <span title="dom-button-name">name</span>;
+ attribute DOMString <span title="dom-fe-name">name</span>;
attribute DOMString <span title="dom-button-target">target</span>;
attribute DOMString <span title="dom-button-type">type</span>;
attribute DOMString <span title="dom-button-value">value</span>;
@@ -24214,7 +24219,7 @@
<dd><span>Phrasing content</span>.</dd>
<dd><span>Interactive content</span>.</dd>
<dd><span>Form-associated element</span>.</dd>
- <dd><span title="category-field">Field</span>.</dd>
+ <dd><span title="category-field">Field element</span>.</dd>
<dd><span title="category-listed-form-element">Listed form element</span>.</dd>
<dt>Contexts in which this element may be used:</dt>
<dd>Where <span>phrasing content</span> is expected.</dd>
@@ -24222,19 +24227,19 @@
<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-select-disabled">disabled</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>
- <dd><code title="attr-select-name">name</code></dd>
+ <dd><code title="attr-fe-name">name</code></dd>
<dd><code title="attr-select-size">size</code></dd>
<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-select-disabled">disabled</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>;
- attribute DOMString <span title="dom-select-name">name</span>;
+ attribute DOMString <span title="dom-fe-name">name</span>;
attribute boolean <span title="dom-select-size">size</span>;
readonly attribute DOMString <span title="dom-select-type">type</span>;
@@ -24367,7 +24372,7 @@
<dd><span>Phrasing content</span>.</dd>
<dd><span>Interactive content</span>.</dd>
<dd><span>Form-associated element</span>.</dd>
- <dd><span title="category-field">Field</span>.</dd>
+ <dd><span title="category-field">Field element</span>.</dd>
<dd><span title="category-listed-form-element">Listed form element</span>.</dd>
<dt>Contexts in which this element may be used:</dt>
<dd>Where <span>phrasing content</span> is expected.</dd>
@@ -24377,11 +24382,11 @@
<dd><code title="attr-textarea-accept">accept</code></dd>
<dd><code title="attr-textarea-autofocus">autofocus</code></dd>
<dd><code title="attr-textarea-cols">cols</code></dd>
- <dd><code title="attr-textarea-disabled">disabled</code></dd>
+ <dd><code title="attr-fe-disabled">disabled</code></dd>
<dd><code title="attr-fae-form">form</code></dd>
<dd><code title="attr-textarea-inputmode">inputmode</code></dd>
<dd><code title="attr-textarea-maxlength">maxlength</code></dd>
- <dd><code title="attr-textarea-name">name</code></dd>
+ <dd><code title="attr-fe-name">name</code></dd>
<dd><code title="attr-textarea-pattern">pattern</code></dd>
<dd><code title="attr-textarea-readonly">readonly</code></dd>
<dd><code title="attr-textarea-required">required</code></dd>
@@ -24393,11 +24398,11 @@
attribute DOMString <span title="dom-textarea-accept">accept</span>;
attribute boolean <span title="dom-textarea-autofocus">autofocus</span>;
attribute unsigned long <span title="dom-textarea-cols">cols</span>;
- attribute boolean <span title="dom-textarea-disabled">disabled</span>;
+ attribute boolean <span title="dom-fe-disabled">disabled</span>;
readonly attribute <span>HTMLFormElement</span> <span title="dom-fae-form">form</span>;
attribute DOMString <span title="dom-textarea-inputmode">inputmode</span>;
attribute long <span title="dom-textarea-maxLength">maxLength</span>;
- attribute DOMString <span title="dom-textarea-name">name</span>;
+ attribute DOMString <span title="dom-fe-name">name</span>;
attribute DOMString <span title="dom-textarea-pattern">pattern</span>;
attribute boolean <span title="dom-textarea-readOnly">readOnly</span>;
attribute boolean <span title="dom-textarea-required">required</span>;
@@ -24441,13 +24446,13 @@
<dt>Element-specific attributes:</dt>
<dd><code title="attr-output-for">for</code></dd>
<dd><code title="attr-fae-form">form</code></dd>
- <dd><code title="attr-output-name">name</code></dd>
+ <dd><code title="attr-fe-name">name</code></dd>
<dt>DOM interface:</dt>
<dd>
<pre class="idl">interface <dfn>HTMLOutputElement</dfn> : <span>HTMLElement</span> {
attribute DOMString <span title="dom-output-wrap">htmlFor</span>;
readonly attribute <span>HTMLFormElement</span> <span title="dom-fae-form">form</span>;
- attribute DOMString <span title="dom-output-name">name</span>;
+ attribute DOMString <span title="dom-fe-name">name</span>;
readonly attribute DOMString <span title="dom-output-type">type</span>;
attribute DOMString <span title="dom-output-defaultValue">defaultValue</span>;
@@ -24562,14 +24567,26 @@
null if there isn't one.</p>
- <h4>Processing models</h4>
+ <h4>Attributes common to form controls</h4>
- <h5>Constraint validation</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>
+
+ <p class="big-issue">... <dfn title="concept-fe-disabled">disabled</dfn></p>
+
+ <p class="big-issue">... <dfn title="attr-fe-disabled">disabled</dfn> content attribute</p>
+
+ <p class="big-issue">... <dfn title="dom-fe-disabled">disabled</dfn> DOM attribute</p>
+
+
+ <h4>Constraint validation</h4>
+
<p class="big-issue">...</p>
- <h5>Form submission</h5>
+ <h4>Form submission</h4>
+
<p>When a form <var title="">form</var> is <dfn
title="concept-form-submit">submitted</dfn> from an element <var
title="">submitter</var> (typically a button), the user agent must
@@ -24599,9 +24616,51 @@
the default action is to perform the submission).</p></li>
<li><p>Let <var title="">controls</var> be a list of all the <span
- title="category-field">fields</span> whose <span>form owner</span>
- is <var title="">form</var>.</p></li>
+ title="category-field">field elements</span> whose <span>form
+ owner</span> is <var title="">form</var>, in <span>tree
+ order</span>.</p></li>
+ <li><p>Let the <dfn><var>form data set</var></dfn> be a list of
+ name/value pairs, initially empty.</p></li>
+
+ <li>
+
+ <p>For each element <var title="">field</var> in <var
+ title="">controls</var>, in <span>tree order</span>, run the
+ following substeps:</p>
+
+ <ol>
+
+ <li>
+
+ <p>If any of the following conditions are met, then skip these
+ substeps for this element:</p>
+
+ <ul>
+
+ <li>The <var title="">field</var> element has a
+ <code>datalist</code> element ancestor.</li>
+
+ <li>The <var title="">field</var> element does not have a <code
+ title="attr-fe-name">name</code> attribute specified, or its
+ <code title="attr-fe-name">name</code> attribute's value is the
+ empty string, and it is not an <code>input</code> elements
+ whose <code title="attr-input-type">type</code> attribute is in
+ the <span>Image Button</span> state.</li>
+
+ <li>The <var title="">field</var> element is <span
+ title="concept-fe-disabled">disabled</span>.</li>
+
+ <li class="big-issue">...</li>
+
+ </ul>
+
+ </li>
+
+ </ol>
+
+ </li>
+
<li><p class="big-issue">...</p></li>
</ol>
@@ -27753,9 +27812,9 @@
<dt>DOM interface:</dt>
<dd>
<pre class="idl">interface <dfn>HTMLBrowserButtonElement</dfn> : <span>HTMLElement</span> {
- attribute DOMString <span title="dom-command-type">type</span>;
- readonly attribute boolean <span title="dom-command-supported">supported</span>;
- readonly attribute boolean <span title="dom-command-disabled">disabled</span>;
+ attribute DOMString <span title="dom-bb-type">type</span>;
+ readonly attribute boolean <span title="dom-bb-supported">supported</span>;
+ readonly attribute boolean <span title="dom-bb-disabled">disabled</span>;
};</pre>
<p>The <code title="command-ro">Command</code> interface must also
be implemented by this element.</p>
@@ -27827,7 +27886,7 @@
value is one that the user agent recognises and supports), and false
otherwise.</p>
- <p>The <dfn title="dom-bb-"><code>disabled</code></dfn> DOM
+ <p>The <dfn title="dom-bb-disabled"><code>disabled</code></dfn> DOM
attribute must return true if the element is disabled, and false
otherwise (i.e. it returns the opposite of the <code
title="attr-bb-type">type</code> attribute's state's
@@ -28558,9 +28617,10 @@
elements</span> (see the previous section).</p>
<p>The <span title="command-facet-DisabledState">Disabled
- State</span> of the command mirrors the disabled state of the
+ State</span> of the command mirrors the <span
+ title="concept-fe-disabled">disabled</span> state of the
button. Typically this is given by the element's <code
- title="attr-button-disabled">disabled</code> attribute, but certain
+ title="attr-fe-disabled">disabled</code> attribute, but certain
button types become disabled at other times too (for example, the
<code>move-up</code> button type is disabled when it would have no
effect).</p>
@@ -28621,9 +28681,10 @@
otherwise.</p>
<p>The <span title="command-facet-DisabledState">Disabled
- State</span> of the command mirrors the disabled state of the
+ State</span> of the command mirrors the <span
+ title="concept-fe-disabled">disabled</span> state of the
control. Typically this is given by the element's <code
- title="attr-input-disabled">disabled</code> attribute, but certain
+ title="attr-fe-disabled">disabled</code> attribute, but certain
input types become disabled at other times too (for example, the
<code>move-up</code> input type is disabled when it would have no
effect).</p>
@@ -43717,8 +43778,8 @@
<div class="example">
<p>In the following example, the <code
- title="attr-input-disabled">disabled</code> attribute is given
- with the empty attribute syntax:</p>
+ title="attr-fe-disabled">disabled</code> attribute is given with
+ the empty attribute syntax:</p>
<pre><input <em>disabled</em>></pre>
More information about the Commit-Watchers
mailing list