- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 15 Sep 2008 11:24:42 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv18896 Modified Files: Overview.html Log Message: WF2: fieldset.disabled (whatwg r2183) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.1355 retrieving revision 1.1356 diff -u -d -r1.1355 -r1.1356 --- Overview.html 15 Sep 2008 10:19:56 -0000 1.1355 +++ Overview.html 15 Sep 2008 11:24:40 -0000 1.1356 @@ -26762,7 +26762,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> @@ -26773,7 +26774,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>; @@ -26791,6 +26792,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 @@ -26836,7 +26847,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> @@ -26886,7 +26897,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>; @@ -26966,7 +26977,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> @@ -26989,7 +27000,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>; @@ -27081,7 +27092,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> @@ -27097,7 +27108,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>; @@ -27293,7 +27304,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> @@ -27321,7 +27332,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>; @@ -27510,13 +27521,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> @@ -27746,7 +27759,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" @@ -29336,7 +29349,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: @@ -29346,7 +29359,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); @@ -29372,18 +29385,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> @@ -29416,7 +29429,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> @@ -31138,7 +31151,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> @@ -31405,7 +31418,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> @@ -31428,7 +31441,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>; @@ -31466,13 +31479,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 @@ -31513,7 +31526,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 @@ -31612,7 +31625,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> @@ -31693,7 +31706,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>). @@ -32207,7 +32220,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. @@ -32249,7 +32262,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>; @@ -32319,9 +32332,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" @@ -32411,7 +32424,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.) @@ -32440,8 +32453,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 @@ -32503,8 +32516,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 @@ -32561,7 +32574,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. @@ -32624,9 +32637,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 @@ -32691,7 +32704,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 @@ -47475,7 +47488,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>
Received on Monday, 15 September 2008 11:25:18 UTC