[html5] r2183 - [] (0) WF2: fieldset.disabled
whatwg at whatwg.org
whatwg at whatwg.org
Mon Sep 15 04:24:36 PDT 2008
Author: ianh
Date: 2008-09-15 04:24:36 -0700 (Mon, 15 Sep 2008)
New Revision: 2183
Modified:
index
source
Log:
[] (0) WF2: fieldset.disabled
Modified: index
===================================================================
--- index 2008-09-15 10:19:51 UTC (rev 2182)
+++ index 2008-09-15 11:24:36 UTC (rev 2183)
@@ -26755,7 +26755,8 @@
<dt>Element-specific attributes:
- <dd><code title=attr-fieldset-disabled>disabled</code>
+ <dd><code title=attr-fieldset-disabled><a
+ href="#disabled2">disabled</a></code>
<dd><code title=attr-fae-form><a href="#form0">form</a></code>
@@ -26766,7 +26767,7 @@
<dd>
<pre
class=idl>interface <dfn id=htmlfieldsetelement>HTMLFieldSetElement</dfn> : <a href="#htmlelement">HTMLElement</a> {
- attribute DOMString <span title=dom-fieldset-disabled>disabled</span>;
+ attribute boolean <a href="#disabled3" title=dom-fieldset-disabled>disabled</a>;
readonly attribute <a href="#htmlformelement">HTMLFormElement</a> <a href="#form1" title=dom-fae-form>form</a>;
attribute DOMString <a href="#name12" title=dom-fe-name>name</a>;
@@ -26784,6 +26785,16 @@
<p class=big-issue>...
+ <p>The <dfn id=disabled2
+ title=attr-fieldset-disabled><code>disabled</code></dfn> attribute, when
+ specified, causes all the form control descendants of the <code><a
+ href="#fieldset">fieldset</a></code> element to be <a href="#disabled4"
+ title=concept-fe-disabled>disabled</a>.
+
+ <p>The <dfn id=disabled3
+ title=dom-fieldset-disabled><code>disabled</code></dfn> DOM attribute must
+ <a href="#reflect">reflect</a> the content attribute of the same name.
+
<p>The <dfn id=elements4
title=dom-fieldset-elements><code>elements</code></dfn> DOM attribute must
return an <code><a
@@ -26829,7 +26840,7 @@
<dd><code title=attr-input-checked>checked</code>
- <dd><code title=attr-fe-disabled><a href="#disabled3">disabled</a></code>
+ <dd><code title=attr-fe-disabled><a href="#disabled5">disabled</a></code>
<dd><code title=attr-fs-enctype><a href="#enctype">enctype</a></code>
@@ -26879,7 +26890,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 <a href="#disabled4" title=dom-fe-disabled>disabled</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>;
attribute DOMString <span title=dom-input-inputmode>inputmode</span>;
@@ -26959,7 +26970,7 @@
<dd><code title=attr-button-autofocus>autofocus</code>
- <dd><code title=attr-fe-disabled><a href="#disabled3">disabled</a></code>
+ <dd><code title=attr-fe-disabled><a href="#disabled5">disabled</a></code>
<dd><code title=attr-fs-enctype><a href="#enctype">enctype</a></code>
@@ -26982,7 +26993,7 @@
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="#disabled4" title=dom-fe-disabled>disabled</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>;
attribute DOMString <a href="#method0" title=dom-fs-method>method</a>;
@@ -27074,7 +27085,7 @@
<dd><code title=attr-select-autofocus>autofocus</code>
- <dd><code title=attr-fe-disabled><a href="#disabled3">disabled</a></code>
+ <dd><code title=attr-fe-disabled><a href="#disabled5">disabled</a></code>
<dd><code title=attr-fae-form><a href="#form0">form</a></code>
@@ -27090,7 +27101,7 @@
<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="#disabled4" title=dom-fe-disabled>disabled</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>;
attribute DOMString <a href="#name12" title=dom-fe-name>name</a>;
@@ -27286,7 +27297,7 @@
<dd><code title=attr-textarea-cols>cols</code>
- <dd><code title=attr-fe-disabled><a href="#disabled3">disabled</a></code>
+ <dd><code title=attr-fe-disabled><a href="#disabled5">disabled</a></code>
<dd><code title=attr-fae-form><a href="#form0">form</a></code>
@@ -27314,7 +27325,7 @@
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 <a href="#disabled4" title=dom-fe-disabled>disabled</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 DOMString <span title=dom-textarea-inputmode>inputmode</span>;
attribute long <span title=dom-textarea-maxLength>maxLength</span>;
@@ -27503,13 +27514,15 @@
<p class=big-issue>... <dfn id=name12 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=disabled4
+ 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 -->
- <p class=big-issue>... <dfn id=disabled3
+ <p class=big-issue>... <dfn id=disabled5
title=attr-fe-disabled>disabled</dfn> content attribute
- <p class=big-issue>... <dfn id=disabled4
+ <p class=big-issue>... <dfn id=disabled6
title=dom-fe-disabled>disabled</dfn> DOM attribute
<p class=big-issue>... <dfn id=value8 title=concept-fe-value>value</dfn>
@@ -27739,7 +27752,7 @@
<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 is <a href="#disabled2"
+ <li>The <var title="">field</var> element is <a href="#disabled4"
title=concept-fe-disabled>disabled</a>.
<li>The <var title="">field</var> element is a <a href="#buttons"
@@ -29329,7 +29342,7 @@
href="#multiple0">multiple</a></code>
<dd><code title=attr-datagrid-disabled><a
- href="#disabled6">disabled</a></code>
+ href="#disabled8">disabled</a></code>
<dt>DOM interface:
@@ -29339,7 +29352,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="#disabled5" title=dom-datagrid-disabled>disabled</a>;
+ attribute boolean <a href="#disabled7" 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);
@@ -29365,18 +29378,18 @@
<p>The <code title=attr-datagrid-multiple><a
href="#multiple0">multiple</a></code> and <code
- title=attr-datagrid-disabled><a href="#disabled6">disabled</a></code>
+ title=attr-datagrid-disabled><a href="#disabled8">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=disabled5 title=dom-datagrid-disabled><code>disabled</code></dfn> DOM
+ id=disabled7 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="#disabled6">disabled</a></code> content attributes respectively.
+ href="#disabled8">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>
@@ -29409,7 +29422,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="#disabled6">disabled</a></code> attribute.</p>
+ href="#disabled8">disabled</a></code> attribute.</p>
<!--XXXDND
<p class="big-issue">selection draggable [normative definitions are
in the interactive part below]</p>
@@ -31131,7 +31144,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=disabled6 title=attr-datagrid-disabled><code>disabled</code></dfn>
+ id=disabled8 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>
@@ -31398,7 +31411,7 @@
<dd><code title=attr-command-icon><a href="#icon">icon</a></code>
<dd><code title=attr-command-disabled><a
- href="#disabled7">disabled</a></code>
+ href="#disabled9">disabled</a></code>
<dd><code title=attr-command-checked><a
href="#checked1">checked</a></code>
@@ -31421,7 +31434,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="#disabled8" title=dom-command-disabled>disabled</a>;
+ attribute boolean <a href="#disabled10" title=dom-command-disabled>disabled</a>;
attribute boolean <a href="#checked2" 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>;
@@ -31459,13 +31472,13 @@
specified, the attribute's value must contain a <a href="#valid8">valid
URL</a>.
- <p>The <dfn id=disabled7
+ <p>The <dfn id=disabled9
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="#disabled7">disabled</a></code> and <code title=attr-hidden><a
+ href="#disabled9">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
@@ -31506,7 +31519,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=disabled8
+ title=dom-command-icon><code>icon</code></dfn>, <dfn id=disabled10
title=dom-command-disabled><code>disabled</code></dfn>, <dfn id=checked2
title=dom-command-checked><code>checked</code></dfn>, <dfn id=radiogroup0
title=dom-command-radiogroup><code>radiogroup</code></dfn>, and <dfn
@@ -31605,7 +31618,7 @@
class=idl>interface <dfn id=htmlbrowserbuttonelement>HTMLBrowserButtonElement</dfn> : <a href="#htmlelement">HTMLElement</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>;
+ readonly attribute boolean <a href="#disabled11" title=dom-bb-disabled>disabled</a>;
};</pre>
<p>The <code title=command-ro><a href="#command2">Command</a></code>
@@ -31686,7 +31699,7 @@
value is one that the user agent recognises and supports), and false
otherwise.
- <p>The <dfn id=disabled9 title=dom-bb-disabled><code>disabled</code></dfn>
+ <p>The <dfn id=disabled11 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>).
@@ -32200,7 +32213,7 @@
<dd>Whether the command is hidden or not (basically, whether it should be
shown in menus).
- <dt><dfn id=disabled10 title=command-facet-DisabledState>Disabled
+ <dt><dfn id=disabled12 title=command-facet-DisabledState>Disabled
State</dfn>
<dd>Whether the command is relevant and can be triggered or not.
@@ -32242,7 +32255,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="#disabled11" title=dom-command-ro-disabled>disabled</a>;
+ readonly attribute boolean <a href="#disabled13" title=dom-command-ro-disabled>disabled</a>;
readonly attribute boolean <a href="#checked4" 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>;
@@ -32312,9 +32325,9 @@
href="#hidden2">hidden</a></code> DOM attribute on the <code><a
href="#htmlelement">HTMLElement</a></code> interface.
- <p>The <dfn id=disabled11
+ <p>The <dfn id=disabled13
title=dom-command-ro-disabled><code>disabled</code></dfn> attribute must
- return true if the command's <a href="#disabled10"
+ return true if the command's <a href="#disabled12"
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"
@@ -32404,7 +32417,7 @@
title=attr-hidden><a href="#hidden1">hidden</a></code> attribute, and
false otherwise.
- <p>The <a href="#disabled10" title=command-facet-DisabledState>Disabled
+ <p>The <a href="#disabled12" title=command-facet-DisabledState>Disabled
State</a> facet of the command is always false. (The command is always
enabled.)
@@ -32433,8 +32446,8 @@
<a href="#using5" title=a-command>as for <code>a</code> elements</a> (see
the previous section).
- <p>The <a href="#disabled10" title=command-facet-DisabledState>Disabled
- State</a> of the command mirrors the <a href="#disabled2"
+ <p>The <a href="#disabled12" title=command-facet-DisabledState>Disabled
+ State</a> of the command mirrors the <a href="#disabled4"
title=concept-fe-disabled>disabled</a> state of the button.
<h5 id=using1><span class=secno>4.11.6.3. </span><dfn id=using7
@@ -32496,8 +32509,8 @@
title=attr-hidden><a href="#hidden1">hidden</a></code> attribute, and
false otherwise.
- <p>The <a href="#disabled10" title=command-facet-DisabledState>Disabled
- State</a> of the command mirrors the <a href="#disabled2"
+ <p>The <a href="#disabled12" title=command-facet-DisabledState>Disabled
+ State</a> of the command mirrors the <a href="#disabled4"
title=concept-fe-disabled>disabled</a> state of the control.
<p>The <a href="#checked3" title=command-facet-CheckedState>Checked
@@ -32554,7 +32567,7 @@
title=attr-hidden><a href="#hidden1">hidden</a></code> attribute, and
false otherwise.
- <p>The <a href="#disabled10" title=command-facet-DisabledState>Disabled
+ <p>The <a href="#disabled12" 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.
@@ -32617,9 +32630,9 @@
title=attr-hidden><a href="#hidden1">hidden</a></code> attribute, and
false otherwise.
- <p>The <a href="#disabled10" title=command-facet-DisabledState>Disabled
+ <p>The <a href="#disabled12" 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="#disabled7">disabled</a></code>
+ title=attr-command-disabled><a href="#disabled9">disabled</a></code>
attribute, and false otherwise.
<p>The <a href="#checked3" title=command-facet-CheckedState>Checked
@@ -32684,7 +32697,7 @@
element has a <code title=attr-hidden><a href="#hidden1">hidden</a></code>
attribute, and false otherwise.
- <p>The <a href="#disabled10" title=command-facet-DisabledState>Disabled
+ <p>The <a href="#disabled12" 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
@@ -47468,7 +47481,7 @@
<div class=example>
<p>In the following example, the <code title=attr-fe-disabled><a
- href="#disabled3">disabled</a></code> attribute is given with the empty
+ href="#disabled5">disabled</a></code> attribute is given with the empty
attribute syntax:</p>
<pre><input <em>disabled</em>></pre>
Modified: source
===================================================================
--- source 2008-09-15 10:19:51 UTC (rev 2182)
+++ source 2008-09-15 11:24:36 UTC (rev 2183)
@@ -24100,7 +24100,7 @@
<dt>DOM interface:</dt>
<dd>
<pre class="idl">interface <dfn>HTMLFieldSetElement</dfn> : <span>HTMLElement</span> {
- attribute DOMString <span title="dom-fieldset-disabled">disabled</span>;
+ attribute boolean <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>;
@@ -24120,6 +24120,17 @@
<p class="big-issue">...</p>
<p>The <dfn
+ title="attr-fieldset-disabled"><code>disabled</code></dfn>
+ attribute, when specified, causes all the form control descendants
+ of the <code>fieldset</code> element to be <span
+ title="concept-fe-disabled">disabled</span>.</p>
+
+ <p>The <dfn
+ title="dom-fieldset-disabled"><code>disabled</code></dfn> DOM
+ attribute must <span>reflect</span> the content attribute of the
+ same name.</p>
+
+ <p>The <dfn
title="dom-fieldset-elements"><code>elements</code></dfn> DOM
attribute must return an <code>HTMLFormControlsCollection</code>
rooted at the <code>Document</code> node, whose filter matches <span
@@ -24661,6 +24672,8 @@
<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>
+ <!-- XXX remember to check for a fieldset ancestor that has its
+ disabled attribute set, and always be disabled if you find one -->
<p class="big-issue">... <dfn title="attr-fe-disabled">disabled</dfn> content attribute</p>
More information about the Commit-Watchers
mailing list