[html5] r8753 - [giow] (3) Make sure :disabled matches fieldsets inside disabled fieldsets, sinc [...]
whatwg at whatwg.org
whatwg at whatwg.org
Fri Sep 5 16:01:15 PDT 2014
Author: ianh
Date: 2014-09-05 16:01:12 -0700 (Fri, 05 Sep 2014)
New Revision: 8753
Modified:
complete.html
index
source
Log:
[giow] (3) Make sure :disabled matches fieldsets inside disabled fieldsets, since apparently that's a thing. Also, editorial cleanup around 'disabled'.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=26454
Affected topics: CSS, HTML
Modified: complete.html
===================================================================
--- complete.html 2014-09-05 22:38:19 UTC (rev 8752)
+++ complete.html 2014-09-05 23:01:12 UTC (rev 8753)
@@ -39320,8 +39320,17 @@
are descendants of the <code id=the-fieldset-element:the-fieldset-element-4><a href=#the-fieldset-element>fieldset</a></code> element's first <code id=the-fieldset-element:the-legend-element-3><a href=#the-legend-element>legend</a></code> element child, if
any, to be <a href=#concept-fe-disabled id=the-fieldset-element:concept-fe-disabled>disabled</a>.</p>
+ <p>A <code id=the-fieldset-element:the-fieldset-element-5><a href=#the-fieldset-element>fieldset</a></code> element is a <dfn id=concept-fieldset-disabled>disabled
+ fieldset</dfn> if it matches any of the following conditions:</p>
+
+ <ul><li>Its <code id=the-fieldset-element:attr-fieldset-disabled-2><a href=#attr-fieldset-disabled>disabled</a></code> attribute is specified
+
+ <li>It is a descendant of another <code id=the-fieldset-element:the-fieldset-element-6><a href=#the-fieldset-element>fieldset</a></code> element whose <code id=the-fieldset-element:attr-fieldset-disabled-3><a href=#attr-fieldset-disabled>disabled</a></code> attribute is specified, and is <em>not</em> a
+ descendant of that <code id=the-fieldset-element:the-fieldset-element-7><a href=#the-fieldset-element>fieldset</a></code> element's first <code id=the-fieldset-element:the-legend-element-4><a href=#the-legend-element>legend</a></code> element child, if
+ any.</ul>
+
<p>The <code id=the-fieldset-element:attr-fae-form-2><a href=#attr-fae-form>form</a></code> attribute is used to explicitly associate the
- <code id=the-fieldset-element:the-fieldset-element-5><a href=#the-fieldset-element>fieldset</a></code> element with its <a href=#form-owner id=the-fieldset-element:form-owner>form owner</a>. The <code id=the-fieldset-element:attr-fe-name-2><a href=#attr-fe-name>name</a></code> attribute represents the element's name.</p>
+ <code id=the-fieldset-element:the-fieldset-element-8><a href=#the-fieldset-element>fieldset</a></code> element with its <a href=#form-owner id=the-fieldset-element:form-owner>form owner</a>. The <code id=the-fieldset-element:attr-fe-name-2><a href=#attr-fe-name>name</a></code> attribute represents the element's name.</p>
<dl class=domintro><dt><var>fieldset</var> . <code id=the-fieldset-element:dom-fieldset-type-2><a href=#dom-fieldset-type>type</a></code><dd>
@@ -39343,7 +39352,7 @@
"<code>fieldset</code>".</p>
<p>The <dfn id=dom-fieldset-elements><code>elements</code></dfn> IDL attribute must return an
- <code id=the-fieldset-element:htmlformcontrolscollection-2-3><a href=#htmlformcontrolscollection-2>HTMLFormControlsCollection</a></code> rooted at the <code id=the-fieldset-element:the-fieldset-element-6><a href=#the-fieldset-element>fieldset</a></code> element, whose filter
+ <code id=the-fieldset-element:htmlformcontrolscollection-2-3><a href=#htmlformcontrolscollection-2>HTMLFormControlsCollection</a></code> rooted at the <code id=the-fieldset-element:the-fieldset-element-9><a href=#the-fieldset-element>fieldset</a></code> element, whose filter
matches <a href=#category-listed id=the-fieldset-element:category-listed-2>listed elements</a>.</p>
<p>The <code id=the-fieldset-element:dom-cva-willvalidate-2><a href=#dom-cva-willvalidate>willValidate</a></code>, <code id=the-fieldset-element:dom-cva-validity-2><a href=#dom-cva-validity>validity</a></code>, and <code id=the-fieldset-element:dom-cva-validationmessage-2><a href=#dom-cva-validationmessage>validationMessage</a></code> attributes, and the <code id=the-fieldset-element:dom-cva-checkvalidity-2><a href=#dom-cva-checkvalidity>checkValidity()</a></code>, <code id=the-fieldset-element:dom-cva-reportvalidity-2><a href=#dom-cva-reportvalidity>reportValidity()</a></code>, and <code id=the-fieldset-element:dom-cva-setcustomvalidity-2><a href=#dom-cva-setcustomvalidity>setCustomValidity()</a></code> methods, are part of the
@@ -39354,7 +39363,7 @@
<div class=example>
- <p>This example shows a <code id=the-fieldset-element:the-fieldset-element-7><a href=#the-fieldset-element>fieldset</a></code> element being used to group a set of related
+ <p>This example shows a <code id=the-fieldset-element:the-fieldset-element-10><a href=#the-fieldset-element>fieldset</a></code> element being used to group a set of related
controls:</p>
<pre><fieldset>
@@ -39391,7 +39400,7 @@
<div class=example>
- <p>You can also nest <code id=the-fieldset-element:the-fieldset-element-8><a href=#the-fieldset-element>fieldset</a></code> elements. Here is an example expanding on the previous
+ <p>You can also nest <code id=the-fieldset-element:the-fieldset-element-11><a href=#the-fieldset-element>fieldset</a></code> elements. Here is an example expanding on the previous
one that does so:</p>
<pre><fieldset name="clubfields" disabled>
@@ -39417,10 +39426,10 @@
</fieldset></pre>
<p>In this example, if the outer "Use Club Card" checkbox is not checked, everything inside the
- outer <code id=the-fieldset-element:the-fieldset-element-9><a href=#the-fieldset-element>fieldset</a></code>, including the two radio buttons in the legends of the two nested
- <code id=the-fieldset-element:the-fieldset-element-10><a href=#the-fieldset-element>fieldset</a></code>s, will be disabled. However, if the checkbox is checked, then the radio
+ outer <code id=the-fieldset-element:the-fieldset-element-12><a href=#the-fieldset-element>fieldset</a></code>, including the two radio buttons in the legends of the two nested
+ <code id=the-fieldset-element:the-fieldset-element-13><a href=#the-fieldset-element>fieldset</a></code>s, will be disabled. However, if the checkbox is checked, then the radio
buttons will both be enabled and will let you select which of the two inner
- <code id=the-fieldset-element:the-fieldset-element-11><a href=#the-fieldset-element>fieldset</a></code>s is to be enabled.</p>
+ <code id=the-fieldset-element:the-fieldset-element-14><a href=#the-fieldset-element>fieldset</a></code>s is to be enabled.</p>
</div>
@@ -39773,8 +39782,9 @@
<p>A form control is <dfn id=concept-fe-disabled>disabled</dfn> if any of the following
conditions are met:</p>
- <ol><li>The <code id=enabling-and-disabling-form-controls:-the-disabled-attribute:attr-fe-disabled-2><a href=#attr-fe-disabled>disabled</a></code> attribute is a conforming attribute on
- this element, and is specified on this element (regardless of its value).<li>The element is a descendant of a <code id=enabling-and-disabling-form-controls:-the-disabled-attribute:the-fieldset-element><a href=#the-fieldset-element>fieldset</a></code> element whose <code id=enabling-and-disabling-form-controls:-the-disabled-attribute:attr-fieldset-disabled><a href=#attr-fieldset-disabled>disabled</a></code> attribute is specified, and is <em>not</em> a
+ <ol><li>The element is a <code id=enabling-and-disabling-form-controls:-the-disabled-attribute:the-button-element><a href=#the-button-element>button</a></code>, <code id=enabling-and-disabling-form-controls:-the-disabled-attribute:the-input-element><a href=#the-input-element>input</a></code>, <code id=enabling-and-disabling-form-controls:-the-disabled-attribute:the-select-element><a href=#the-select-element>select</a></code>, or
+ <code id=enabling-and-disabling-form-controls:-the-disabled-attribute:the-textarea-element><a href=#the-textarea-element>textarea</a></code> element, and the <code id=enabling-and-disabling-form-controls:-the-disabled-attribute:attr-fe-disabled-2><a href=#attr-fe-disabled>disabled</a></code> attribute
+ is specified on this element (regardless of its value).<li>The element is a descendant of a <code id=enabling-and-disabling-form-controls:-the-disabled-attribute:the-fieldset-element><a href=#the-fieldset-element>fieldset</a></code> element whose <code id=enabling-and-disabling-form-controls:-the-disabled-attribute:attr-fieldset-disabled><a href=#attr-fieldset-disabled>disabled</a></code> attribute is specified, and is <em>not</em> a
descendant of that <code id=enabling-and-disabling-form-controls:-the-disabled-attribute:the-fieldset-element-2><a href=#the-fieldset-element>fieldset</a></code> element's first <code id=enabling-and-disabling-form-controls:-the-disabled-attribute:the-legend-element><a href=#the-legend-element>legend</a></code> element child, if
any.</ol>
@@ -50513,9 +50523,9 @@
<h3 id=disabled-elements>4.14 Disabled elements</h3>
<p>An element is said to be <dfn id=concept-element-disabled>actually disabled</dfn> if it
- falls into one of the following categories:</p>
+ one of the following:</p>
- <ul><li><code id=disabled-elements:the-button-element><a href=#the-button-element>button</a></code> elements that are <a href=#concept-fe-disabled id=disabled-elements:concept-fe-disabled>disabled</a><li><code id=disabled-elements:the-input-element><a href=#the-input-element>input</a></code> elements that are <a href=#concept-fe-disabled id=disabled-elements:concept-fe-disabled-2>disabled</a><li><code id=disabled-elements:the-select-element><a href=#the-select-element>select</a></code> elements that are <a href=#concept-fe-disabled id=disabled-elements:concept-fe-disabled-3>disabled</a><li><code id=disabled-elements:the-textarea-element><a href=#the-textarea-element>textarea</a></code> elements that are <a href=#concept-fe-disabled id=disabled-elements:concept-fe-disabled-4>disabled</a><li><code id=disabled-elements:the-optgroup-element><a href=#the-optgroup-element>optgroup</a></code> elements that have a <code id=disabled-elements:attr-optgroup-disabled><a href=#attr-opt
group-disabled>disabled</a></code> attribute<li><code id=disabled-elements:the-option-element><a href=#the-option-element>option</a></code> elements that are <a href=#concept-option-disabled id=disabled-elements:concept-option-disabled>disabled</a><li><code id=disabled-elements:the-menuitem-element><a href=#the-menuitem-element>menuitem</a></code> elements that have a <code id=disabled-elements:attr-menuitem-disabled><a href=#attr-menuitem-disabled>disabled</a></code> attribute<li><code id=disabled-elements:the-fieldset-element><a href=#the-fieldset-element>fieldset</a></code> elements that have a <code id=disabled-elements:attr-fieldset-disabled><a href=#attr-fieldset-disabled>disabled</a></code> attribute</ul>
+ <ul><li>a <code id=disabled-elements:the-button-element><a href=#the-button-element>button</a></code> element that is <a href=#concept-fe-disabled id=disabled-elements:concept-fe-disabled>disabled</a><li>an <code id=disabled-elements:the-input-element><a href=#the-input-element>input</a></code> element that is <a href=#concept-fe-disabled id=disabled-elements:concept-fe-disabled-2>disabled</a><li>a <code id=disabled-elements:the-select-element><a href=#the-select-element>select</a></code> element that is <a href=#concept-fe-disabled id=disabled-elements:concept-fe-disabled-3>disabled</a><li>a <code id=disabled-elements:the-textarea-element><a href=#the-textarea-element>textarea</a></code> element that is <a href=#concept-fe-disabled id=disabled-elements:concept-fe-disabled-4>disabled</a><li>an <code id=disabled-elements:the-optgroup-element><a href=#the-optgroup-element>optgroup</a></code> element that has a <code id=disabled-elements:attr-optgroup-disabled><a href=#attr-o
ptgroup-disabled>disabled</a></code> attribute<li>an <code id=disabled-elements:the-option-element><a href=#the-option-element>option</a></code> element that is <a href=#concept-option-disabled id=disabled-elements:concept-option-disabled>disabled</a><li>a <code id=disabled-elements:the-menuitem-element><a href=#the-menuitem-element>menuitem</a></code> element that has a <code id=disabled-elements:attr-menuitem-disabled><a href=#attr-menuitem-disabled>disabled</a></code> attribute<li>a <code id=disabled-elements:the-fieldset-element><a href=#the-fieldset-element>fieldset</a></code> element that is a <a href=#concept-fieldset-disabled id=disabled-elements:concept-fieldset-disabled>disabled fieldset</a></ul>
<p class=note>This definition is used to determine what elements <a href=#specially-focusable id=disabled-elements:specially-focusable>can be focused</a> and which elements match the <code id=disabled-elements:selector-disabled><a href=#selector-disabled>:disabled</a></code> pseudo-class.</p>
@@ -50660,12 +50670,9 @@
<dt><dfn id=selector-enabled><code>:enabled</code></dfn><dd>
<p>The <code id=pseudo-classes:selector-enabled><a href=#selector-enabled>:enabled</a></code> pseudo-class must match any element
- falling into one of the following categories:</p>
+ that is one of the following:</p>
- <ul><li><code id=pseudo-classes:the-a-element-3><a href=#the-a-element>a</a></code> elements that have an <code id=pseudo-classes:attr-hyperlink-href-5><a href=#attr-hyperlink-href>href</a></code>
- attribute<li><code id=pseudo-classes:the-area-element-3><a href=#the-area-element>area</a></code> elements that have an <code id=pseudo-classes:attr-hyperlink-href-6><a href=#attr-hyperlink-href>href</a></code>
- attribute<li><code id=pseudo-classes:the-link-element-3><a href=#the-link-element>link</a></code> elements that have an <code id=pseudo-classes:attr-link-href-3><a href=#attr-link-href>href</a></code>
- attribute<li><code id=pseudo-classes:the-button-element-3><a href=#the-button-element>button</a></code> elements that are not <a href=#concept-fe-disabled id=pseudo-classes:concept-fe-disabled-2>disabled</a><li><code id=pseudo-classes:the-input-element-2><a href=#the-input-element>input</a></code> elements that are not <a href=#concept-fe-disabled id=pseudo-classes:concept-fe-disabled-3>disabled</a><li><code id=pseudo-classes:the-select-element><a href=#the-select-element>select</a></code> elements that are not <a href=#concept-fe-disabled id=pseudo-classes:concept-fe-disabled-4>disabled</a><li><code id=pseudo-classes:the-textarea-element><a href=#the-textarea-element>textarea</a></code> elements that are not <a href=#concept-fe-disabled id=pseudo-classes:concept-fe-disabled-5>disabled</a><li><code id=pseudo-classes:the-optgroup-element><a href=#the-optgroup-element>optgroup</a></code> elements that do not have a <code id=pseudo-classes:attr-optgroup-disabled><a href=#a
ttr-optgroup-disabled>disabled</a></code> attribute<li><code id=pseudo-classes:the-option-element><a href=#the-option-element>option</a></code> elements that are not <a href=#concept-option-disabled id=pseudo-classes:concept-option-disabled>disabled</a><li><code id=pseudo-classes:the-menuitem-element-2><a href=#the-menuitem-element>menuitem</a></code> elements that do not have a <code id=pseudo-classes:attr-menuitem-disabled-2><a href=#attr-menuitem-disabled>disabled</a></code> attribute<li><code id=pseudo-classes:the-fieldset-element><a href=#the-fieldset-element>fieldset</a></code> elements that do not have a <code id=pseudo-classes:attr-fieldset-disabled><a href=#attr-fieldset-disabled>disabled</a></code> attribute</ul>
+ <ul><li>an <code id=pseudo-classes:the-a-element-3><a href=#the-a-element>a</a></code> element that has an <code id=pseudo-classes:attr-hyperlink-href-5><a href=#attr-hyperlink-href>href</a></code> attribute<li>an <code id=pseudo-classes:the-area-element-3><a href=#the-area-element>area</a></code> element that has an <code id=pseudo-classes:attr-hyperlink-href-6><a href=#attr-hyperlink-href>href</a></code> attribute<li>a <code id=pseudo-classes:the-link-element-3><a href=#the-link-element>link</a></code> element that has an <code id=pseudo-classes:attr-link-href-3><a href=#attr-link-href>href</a></code> attribute<li>a <code id=pseudo-classes:the-button-element-3><a href=#the-button-element>button</a></code> element that is not <a href=#concept-fe-disabled id=pseudo-classes:concept-fe-disabled-2>disabled</a><li>an <code id=pseudo-classes:the-input-element-2><a href=#the-input-element>input</a></code> element that is not <a href=#concept-fe-disabled id=pseudo-classes:conce
pt-fe-disabled-3>disabled</a><li>a <code id=pseudo-classes:the-select-element><a href=#the-select-element>select</a></code> element that is not <a href=#concept-fe-disabled id=pseudo-classes:concept-fe-disabled-4>disabled</a><li>a <code id=pseudo-classes:the-textarea-element><a href=#the-textarea-element>textarea</a></code> element that is not <a href=#concept-fe-disabled id=pseudo-classes:concept-fe-disabled-5>disabled</a><li>an <code id=pseudo-classes:the-optgroup-element><a href=#the-optgroup-element>optgroup</a></code> element that does not have a <code id=pseudo-classes:attr-optgroup-disabled><a href=#attr-optgroup-disabled>disabled</a></code> attribute<li>an <code id=pseudo-classes:the-option-element><a href=#the-option-element>option</a></code> element that is not <a href=#concept-option-disabled id=pseudo-classes:concept-option-disabled>disabled</a><li>a <code id=pseudo-classes:the-menuitem-element-2><a href=#the-menuitem-element>menuitem</a></code> element that does
not have a <code id=pseudo-classes:attr-menuitem-disabled-2><a href=#attr-menuitem-disabled>disabled</a></code> attribute<li>a <code id=pseudo-classes:the-fieldset-element><a href=#the-fieldset-element>fieldset</a></code> element that is not a <a href=#concept-fieldset-disabled id=pseudo-classes:concept-fieldset-disabled>disabled fieldset</a></ul>
<dt><dfn id=selector-disabled><code>:disabled</code></dfn><dd>
Modified: index
===================================================================
--- index 2014-09-05 22:38:19 UTC (rev 8752)
+++ index 2014-09-05 23:01:12 UTC (rev 8753)
@@ -39320,8 +39320,17 @@
are descendants of the <code id=the-fieldset-element:the-fieldset-element-4><a href=#the-fieldset-element>fieldset</a></code> element's first <code id=the-fieldset-element:the-legend-element-3><a href=#the-legend-element>legend</a></code> element child, if
any, to be <a href=#concept-fe-disabled id=the-fieldset-element:concept-fe-disabled>disabled</a>.</p>
+ <p>A <code id=the-fieldset-element:the-fieldset-element-5><a href=#the-fieldset-element>fieldset</a></code> element is a <dfn id=concept-fieldset-disabled>disabled
+ fieldset</dfn> if it matches any of the following conditions:</p>
+
+ <ul><li>Its <code id=the-fieldset-element:attr-fieldset-disabled-2><a href=#attr-fieldset-disabled>disabled</a></code> attribute is specified
+
+ <li>It is a descendant of another <code id=the-fieldset-element:the-fieldset-element-6><a href=#the-fieldset-element>fieldset</a></code> element whose <code id=the-fieldset-element:attr-fieldset-disabled-3><a href=#attr-fieldset-disabled>disabled</a></code> attribute is specified, and is <em>not</em> a
+ descendant of that <code id=the-fieldset-element:the-fieldset-element-7><a href=#the-fieldset-element>fieldset</a></code> element's first <code id=the-fieldset-element:the-legend-element-4><a href=#the-legend-element>legend</a></code> element child, if
+ any.</ul>
+
<p>The <code id=the-fieldset-element:attr-fae-form-2><a href=#attr-fae-form>form</a></code> attribute is used to explicitly associate the
- <code id=the-fieldset-element:the-fieldset-element-5><a href=#the-fieldset-element>fieldset</a></code> element with its <a href=#form-owner id=the-fieldset-element:form-owner>form owner</a>. The <code id=the-fieldset-element:attr-fe-name-2><a href=#attr-fe-name>name</a></code> attribute represents the element's name.</p>
+ <code id=the-fieldset-element:the-fieldset-element-8><a href=#the-fieldset-element>fieldset</a></code> element with its <a href=#form-owner id=the-fieldset-element:form-owner>form owner</a>. The <code id=the-fieldset-element:attr-fe-name-2><a href=#attr-fe-name>name</a></code> attribute represents the element's name.</p>
<dl class=domintro><dt><var>fieldset</var> . <code id=the-fieldset-element:dom-fieldset-type-2><a href=#dom-fieldset-type>type</a></code><dd>
@@ -39343,7 +39352,7 @@
"<code>fieldset</code>".</p>
<p>The <dfn id=dom-fieldset-elements><code>elements</code></dfn> IDL attribute must return an
- <code id=the-fieldset-element:htmlformcontrolscollection-2-3><a href=#htmlformcontrolscollection-2>HTMLFormControlsCollection</a></code> rooted at the <code id=the-fieldset-element:the-fieldset-element-6><a href=#the-fieldset-element>fieldset</a></code> element, whose filter
+ <code id=the-fieldset-element:htmlformcontrolscollection-2-3><a href=#htmlformcontrolscollection-2>HTMLFormControlsCollection</a></code> rooted at the <code id=the-fieldset-element:the-fieldset-element-9><a href=#the-fieldset-element>fieldset</a></code> element, whose filter
matches <a href=#category-listed id=the-fieldset-element:category-listed-2>listed elements</a>.</p>
<p>The <code id=the-fieldset-element:dom-cva-willvalidate-2><a href=#dom-cva-willvalidate>willValidate</a></code>, <code id=the-fieldset-element:dom-cva-validity-2><a href=#dom-cva-validity>validity</a></code>, and <code id=the-fieldset-element:dom-cva-validationmessage-2><a href=#dom-cva-validationmessage>validationMessage</a></code> attributes, and the <code id=the-fieldset-element:dom-cva-checkvalidity-2><a href=#dom-cva-checkvalidity>checkValidity()</a></code>, <code id=the-fieldset-element:dom-cva-reportvalidity-2><a href=#dom-cva-reportvalidity>reportValidity()</a></code>, and <code id=the-fieldset-element:dom-cva-setcustomvalidity-2><a href=#dom-cva-setcustomvalidity>setCustomValidity()</a></code> methods, are part of the
@@ -39354,7 +39363,7 @@
<div class=example>
- <p>This example shows a <code id=the-fieldset-element:the-fieldset-element-7><a href=#the-fieldset-element>fieldset</a></code> element being used to group a set of related
+ <p>This example shows a <code id=the-fieldset-element:the-fieldset-element-10><a href=#the-fieldset-element>fieldset</a></code> element being used to group a set of related
controls:</p>
<pre><fieldset>
@@ -39391,7 +39400,7 @@
<div class=example>
- <p>You can also nest <code id=the-fieldset-element:the-fieldset-element-8><a href=#the-fieldset-element>fieldset</a></code> elements. Here is an example expanding on the previous
+ <p>You can also nest <code id=the-fieldset-element:the-fieldset-element-11><a href=#the-fieldset-element>fieldset</a></code> elements. Here is an example expanding on the previous
one that does so:</p>
<pre><fieldset name="clubfields" disabled>
@@ -39417,10 +39426,10 @@
</fieldset></pre>
<p>In this example, if the outer "Use Club Card" checkbox is not checked, everything inside the
- outer <code id=the-fieldset-element:the-fieldset-element-9><a href=#the-fieldset-element>fieldset</a></code>, including the two radio buttons in the legends of the two nested
- <code id=the-fieldset-element:the-fieldset-element-10><a href=#the-fieldset-element>fieldset</a></code>s, will be disabled. However, if the checkbox is checked, then the radio
+ outer <code id=the-fieldset-element:the-fieldset-element-12><a href=#the-fieldset-element>fieldset</a></code>, including the two radio buttons in the legends of the two nested
+ <code id=the-fieldset-element:the-fieldset-element-13><a href=#the-fieldset-element>fieldset</a></code>s, will be disabled. However, if the checkbox is checked, then the radio
buttons will both be enabled and will let you select which of the two inner
- <code id=the-fieldset-element:the-fieldset-element-11><a href=#the-fieldset-element>fieldset</a></code>s is to be enabled.</p>
+ <code id=the-fieldset-element:the-fieldset-element-14><a href=#the-fieldset-element>fieldset</a></code>s is to be enabled.</p>
</div>
@@ -39773,8 +39782,9 @@
<p>A form control is <dfn id=concept-fe-disabled>disabled</dfn> if any of the following
conditions are met:</p>
- <ol><li>The <code id=enabling-and-disabling-form-controls:-the-disabled-attribute:attr-fe-disabled-2><a href=#attr-fe-disabled>disabled</a></code> attribute is a conforming attribute on
- this element, and is specified on this element (regardless of its value).<li>The element is a descendant of a <code id=enabling-and-disabling-form-controls:-the-disabled-attribute:the-fieldset-element><a href=#the-fieldset-element>fieldset</a></code> element whose <code id=enabling-and-disabling-form-controls:-the-disabled-attribute:attr-fieldset-disabled><a href=#attr-fieldset-disabled>disabled</a></code> attribute is specified, and is <em>not</em> a
+ <ol><li>The element is a <code id=enabling-and-disabling-form-controls:-the-disabled-attribute:the-button-element><a href=#the-button-element>button</a></code>, <code id=enabling-and-disabling-form-controls:-the-disabled-attribute:the-input-element><a href=#the-input-element>input</a></code>, <code id=enabling-and-disabling-form-controls:-the-disabled-attribute:the-select-element><a href=#the-select-element>select</a></code>, or
+ <code id=enabling-and-disabling-form-controls:-the-disabled-attribute:the-textarea-element><a href=#the-textarea-element>textarea</a></code> element, and the <code id=enabling-and-disabling-form-controls:-the-disabled-attribute:attr-fe-disabled-2><a href=#attr-fe-disabled>disabled</a></code> attribute
+ is specified on this element (regardless of its value).<li>The element is a descendant of a <code id=enabling-and-disabling-form-controls:-the-disabled-attribute:the-fieldset-element><a href=#the-fieldset-element>fieldset</a></code> element whose <code id=enabling-and-disabling-form-controls:-the-disabled-attribute:attr-fieldset-disabled><a href=#attr-fieldset-disabled>disabled</a></code> attribute is specified, and is <em>not</em> a
descendant of that <code id=enabling-and-disabling-form-controls:-the-disabled-attribute:the-fieldset-element-2><a href=#the-fieldset-element>fieldset</a></code> element's first <code id=enabling-and-disabling-form-controls:-the-disabled-attribute:the-legend-element><a href=#the-legend-element>legend</a></code> element child, if
any.</ol>
@@ -50513,9 +50523,9 @@
<h3 id=disabled-elements>4.14 Disabled elements</h3>
<p>An element is said to be <dfn id=concept-element-disabled>actually disabled</dfn> if it
- falls into one of the following categories:</p>
+ one of the following:</p>
- <ul><li><code id=disabled-elements:the-button-element><a href=#the-button-element>button</a></code> elements that are <a href=#concept-fe-disabled id=disabled-elements:concept-fe-disabled>disabled</a><li><code id=disabled-elements:the-input-element><a href=#the-input-element>input</a></code> elements that are <a href=#concept-fe-disabled id=disabled-elements:concept-fe-disabled-2>disabled</a><li><code id=disabled-elements:the-select-element><a href=#the-select-element>select</a></code> elements that are <a href=#concept-fe-disabled id=disabled-elements:concept-fe-disabled-3>disabled</a><li><code id=disabled-elements:the-textarea-element><a href=#the-textarea-element>textarea</a></code> elements that are <a href=#concept-fe-disabled id=disabled-elements:concept-fe-disabled-4>disabled</a><li><code id=disabled-elements:the-optgroup-element><a href=#the-optgroup-element>optgroup</a></code> elements that have a <code id=disabled-elements:attr-optgroup-disabled><a href=#attr-opt
group-disabled>disabled</a></code> attribute<li><code id=disabled-elements:the-option-element><a href=#the-option-element>option</a></code> elements that are <a href=#concept-option-disabled id=disabled-elements:concept-option-disabled>disabled</a><li><code id=disabled-elements:the-menuitem-element><a href=#the-menuitem-element>menuitem</a></code> elements that have a <code id=disabled-elements:attr-menuitem-disabled><a href=#attr-menuitem-disabled>disabled</a></code> attribute<li><code id=disabled-elements:the-fieldset-element><a href=#the-fieldset-element>fieldset</a></code> elements that have a <code id=disabled-elements:attr-fieldset-disabled><a href=#attr-fieldset-disabled>disabled</a></code> attribute</ul>
+ <ul><li>a <code id=disabled-elements:the-button-element><a href=#the-button-element>button</a></code> element that is <a href=#concept-fe-disabled id=disabled-elements:concept-fe-disabled>disabled</a><li>an <code id=disabled-elements:the-input-element><a href=#the-input-element>input</a></code> element that is <a href=#concept-fe-disabled id=disabled-elements:concept-fe-disabled-2>disabled</a><li>a <code id=disabled-elements:the-select-element><a href=#the-select-element>select</a></code> element that is <a href=#concept-fe-disabled id=disabled-elements:concept-fe-disabled-3>disabled</a><li>a <code id=disabled-elements:the-textarea-element><a href=#the-textarea-element>textarea</a></code> element that is <a href=#concept-fe-disabled id=disabled-elements:concept-fe-disabled-4>disabled</a><li>an <code id=disabled-elements:the-optgroup-element><a href=#the-optgroup-element>optgroup</a></code> element that has a <code id=disabled-elements:attr-optgroup-disabled><a href=#attr-o
ptgroup-disabled>disabled</a></code> attribute<li>an <code id=disabled-elements:the-option-element><a href=#the-option-element>option</a></code> element that is <a href=#concept-option-disabled id=disabled-elements:concept-option-disabled>disabled</a><li>a <code id=disabled-elements:the-menuitem-element><a href=#the-menuitem-element>menuitem</a></code> element that has a <code id=disabled-elements:attr-menuitem-disabled><a href=#attr-menuitem-disabled>disabled</a></code> attribute<li>a <code id=disabled-elements:the-fieldset-element><a href=#the-fieldset-element>fieldset</a></code> element that is a <a href=#concept-fieldset-disabled id=disabled-elements:concept-fieldset-disabled>disabled fieldset</a></ul>
<p class=note>This definition is used to determine what elements <a href=#specially-focusable id=disabled-elements:specially-focusable>can be focused</a> and which elements match the <code id=disabled-elements:selector-disabled><a href=#selector-disabled>:disabled</a></code> pseudo-class.</p>
@@ -50660,12 +50670,9 @@
<dt><dfn id=selector-enabled><code>:enabled</code></dfn><dd>
<p>The <code id=pseudo-classes:selector-enabled><a href=#selector-enabled>:enabled</a></code> pseudo-class must match any element
- falling into one of the following categories:</p>
+ that is one of the following:</p>
- <ul><li><code id=pseudo-classes:the-a-element-3><a href=#the-a-element>a</a></code> elements that have an <code id=pseudo-classes:attr-hyperlink-href-5><a href=#attr-hyperlink-href>href</a></code>
- attribute<li><code id=pseudo-classes:the-area-element-3><a href=#the-area-element>area</a></code> elements that have an <code id=pseudo-classes:attr-hyperlink-href-6><a href=#attr-hyperlink-href>href</a></code>
- attribute<li><code id=pseudo-classes:the-link-element-3><a href=#the-link-element>link</a></code> elements that have an <code id=pseudo-classes:attr-link-href-3><a href=#attr-link-href>href</a></code>
- attribute<li><code id=pseudo-classes:the-button-element-3><a href=#the-button-element>button</a></code> elements that are not <a href=#concept-fe-disabled id=pseudo-classes:concept-fe-disabled-2>disabled</a><li><code id=pseudo-classes:the-input-element-2><a href=#the-input-element>input</a></code> elements that are not <a href=#concept-fe-disabled id=pseudo-classes:concept-fe-disabled-3>disabled</a><li><code id=pseudo-classes:the-select-element><a href=#the-select-element>select</a></code> elements that are not <a href=#concept-fe-disabled id=pseudo-classes:concept-fe-disabled-4>disabled</a><li><code id=pseudo-classes:the-textarea-element><a href=#the-textarea-element>textarea</a></code> elements that are not <a href=#concept-fe-disabled id=pseudo-classes:concept-fe-disabled-5>disabled</a><li><code id=pseudo-classes:the-optgroup-element><a href=#the-optgroup-element>optgroup</a></code> elements that do not have a <code id=pseudo-classes:attr-optgroup-disabled><a href=#a
ttr-optgroup-disabled>disabled</a></code> attribute<li><code id=pseudo-classes:the-option-element><a href=#the-option-element>option</a></code> elements that are not <a href=#concept-option-disabled id=pseudo-classes:concept-option-disabled>disabled</a><li><code id=pseudo-classes:the-menuitem-element-2><a href=#the-menuitem-element>menuitem</a></code> elements that do not have a <code id=pseudo-classes:attr-menuitem-disabled-2><a href=#attr-menuitem-disabled>disabled</a></code> attribute<li><code id=pseudo-classes:the-fieldset-element><a href=#the-fieldset-element>fieldset</a></code> elements that do not have a <code id=pseudo-classes:attr-fieldset-disabled><a href=#attr-fieldset-disabled>disabled</a></code> attribute</ul>
+ <ul><li>an <code id=pseudo-classes:the-a-element-3><a href=#the-a-element>a</a></code> element that has an <code id=pseudo-classes:attr-hyperlink-href-5><a href=#attr-hyperlink-href>href</a></code> attribute<li>an <code id=pseudo-classes:the-area-element-3><a href=#the-area-element>area</a></code> element that has an <code id=pseudo-classes:attr-hyperlink-href-6><a href=#attr-hyperlink-href>href</a></code> attribute<li>a <code id=pseudo-classes:the-link-element-3><a href=#the-link-element>link</a></code> element that has an <code id=pseudo-classes:attr-link-href-3><a href=#attr-link-href>href</a></code> attribute<li>a <code id=pseudo-classes:the-button-element-3><a href=#the-button-element>button</a></code> element that is not <a href=#concept-fe-disabled id=pseudo-classes:concept-fe-disabled-2>disabled</a><li>an <code id=pseudo-classes:the-input-element-2><a href=#the-input-element>input</a></code> element that is not <a href=#concept-fe-disabled id=pseudo-classes:conce
pt-fe-disabled-3>disabled</a><li>a <code id=pseudo-classes:the-select-element><a href=#the-select-element>select</a></code> element that is not <a href=#concept-fe-disabled id=pseudo-classes:concept-fe-disabled-4>disabled</a><li>a <code id=pseudo-classes:the-textarea-element><a href=#the-textarea-element>textarea</a></code> element that is not <a href=#concept-fe-disabled id=pseudo-classes:concept-fe-disabled-5>disabled</a><li>an <code id=pseudo-classes:the-optgroup-element><a href=#the-optgroup-element>optgroup</a></code> element that does not have a <code id=pseudo-classes:attr-optgroup-disabled><a href=#attr-optgroup-disabled>disabled</a></code> attribute<li>an <code id=pseudo-classes:the-option-element><a href=#the-option-element>option</a></code> element that is not <a href=#concept-option-disabled id=pseudo-classes:concept-option-disabled>disabled</a><li>a <code id=pseudo-classes:the-menuitem-element-2><a href=#the-menuitem-element>menuitem</a></code> element that does
not have a <code id=pseudo-classes:attr-menuitem-disabled-2><a href=#attr-menuitem-disabled>disabled</a></code> attribute<li>a <code id=pseudo-classes:the-fieldset-element><a href=#the-fieldset-element>fieldset</a></code> element that is not a <a href=#concept-fieldset-disabled id=pseudo-classes:concept-fieldset-disabled>disabled fieldset</a></ul>
<dt><dfn id=selector-disabled><code>:disabled</code></dfn><dd>
Modified: source
===================================================================
--- source 2014-09-05 22:38:19 UTC (rev 8752)
+++ source 2014-09-05 23:01:12 UTC (rev 8753)
@@ -50558,6 +50558,20 @@
are descendants of the <code>fieldset</code> element's first <code>legend</code> element child, if
any, to be <span data-x="concept-fe-disabled">disabled</span>.</p>
+ <p>A <code>fieldset</code> element is a <dfn data-x="concept-fieldset-disabled">disabled
+ fieldset</dfn> if it matches any of the following conditions:</p>
+
+ <ul>
+
+ <li>Its <code data-x="attr-fieldset-disabled">disabled</code> attribute is specified
+
+ <li>It is a descendant of another <code>fieldset</code> element whose <code
+ data-x="attr-fieldset-disabled">disabled</code> attribute is specified, and is <em>not</em> a
+ descendant of that <code>fieldset</code> element's first <code>legend</code> element child, if
+ any.</li>
+
+ </ul>
+
<p>The <code data-x="attr-fae-form">form</code> attribute is used to explicitly associate the
<code>fieldset</code> element with its <span>form owner</span>. The <code
data-x="attr-fe-name">name</code> attribute represents the element's name.</p>
@@ -51107,8 +51121,9 @@
<ol>
- <li>The <code data-x="attr-fe-disabled">disabled</code> attribute is a conforming attribute on
- this element, and is specified on this element (regardless of its value).</li>
+ <li>The element is a <code>button</code>, <code>input</code>, <code>select</code>, or
+ <code>textarea</code> element, and the <code data-x="attr-fe-disabled">disabled</code> attribute
+ is specified on this element (regardless of its value).</li>
<li>The element is a descendant of a <code>fieldset</code> element whose <code
data-x="attr-fieldset-disabled">disabled</code> attribute is specified, and is <em>not</em> a
@@ -66615,30 +66630,25 @@
<h3>Disabled elements</h3>
<p>An element is said to be <dfn data-x="concept-element-disabled">actually disabled</dfn> if it
- falls into one of the following categories:</p>
+ one of the following:</p>
<ul>
- <li><code>button</code> elements that are <span data-x="concept-fe-disabled">disabled</span></li>
+ <li>a <code>button</code> element that is <span data-x="concept-fe-disabled">disabled</span></li>
- <li><code>input</code> elements that are <span data-x="concept-fe-disabled">disabled</span></li>
+ <li>an <code>input</code> element that is <span data-x="concept-fe-disabled">disabled</span></li>
- <li><code>select</code> elements that are <span data-x="concept-fe-disabled">disabled</span></li>
+ <li>a <code>select</code> element that is <span data-x="concept-fe-disabled">disabled</span></li>
- <li><code>textarea</code> elements that are <span
- data-x="concept-fe-disabled">disabled</span></li>
+ <li>a <code>textarea</code> element that is <span data-x="concept-fe-disabled">disabled</span></li>
- <li><code>optgroup</code> elements that have a <code
- data-x="attr-optgroup-disabled">disabled</code> attribute</li>
+ <li>an <code>optgroup</code> element that has a <code data-x="attr-optgroup-disabled">disabled</code> attribute</li>
- <li><code>option</code> elements that are <span
- data-x="concept-option-disabled">disabled</span></li>
+ <li>an <code>option</code> element that is <span data-x="concept-option-disabled">disabled</span></li>
- <li><code>menuitem</code> elements that have a <code
- data-x="attr-menuitem-disabled">disabled</code> attribute</li>
+ <li>a <code>menuitem</code> element that has a <code data-x="attr-menuitem-disabled">disabled</code> attribute</li>
- <li><code>fieldset</code> elements that have a <code
- data-x="attr-fieldset-disabled">disabled</code> attribute</li>
+ <li>a <code>fieldset</code> element that is a <span data-x="concept-fieldset-disabled">disabled fieldset</span></li>
</ul>
@@ -66859,42 +66869,31 @@
<dd>
<p>The <code data-x="selector-enabled">:enabled</code> pseudo-class must match any element
- falling into one of the following categories:</p>
+ that is one of the following:</p>
<ul>
- <li><code>a</code> elements that have an <code data-x="attr-hyperlink-href">href</code>
- attribute</li>
+ <li>an <code>a</code> element that has an <code data-x="attr-hyperlink-href">href</code> attribute</li>
- <li><code>area</code> elements that have an <code data-x="attr-hyperlink-href">href</code>
- attribute</li>
+ <li>an <code>area</code> element that has an <code data-x="attr-hyperlink-href">href</code> attribute</li>
- <li><code>link</code> elements that have an <code data-x="attr-link-href">href</code>
- attribute</li>
+ <li>a <code>link</code> element that has an <code data-x="attr-link-href">href</code> attribute</li>
- <li><code>button</code> elements that are not <span
- data-x="concept-fe-disabled">disabled</span></li>
+ <li>a <code>button</code> element that is not <span data-x="concept-fe-disabled">disabled</span></li>
- <li><code>input</code> elements that are not <span
- data-x="concept-fe-disabled">disabled</span></li>
+ <li>an <code>input</code> element that is not <span data-x="concept-fe-disabled">disabled</span></li>
- <li><code>select</code> elements that are not <span
- data-x="concept-fe-disabled">disabled</span></li>
+ <li>a <code>select</code> element that is not <span data-x="concept-fe-disabled">disabled</span></li>
- <li><code>textarea</code> elements that are not <span
- data-x="concept-fe-disabled">disabled</span></li>
+ <li>a <code>textarea</code> element that is not <span data-x="concept-fe-disabled">disabled</span></li>
- <li><code>optgroup</code> elements that do not have a <code
- data-x="attr-optgroup-disabled">disabled</code> attribute</li>
+ <li>an <code>optgroup</code> element that does not have a <code data-x="attr-optgroup-disabled">disabled</code> attribute</li>
- <li><code>option</code> elements that are not <span
- data-x="concept-option-disabled">disabled</span></li>
+ <li>an <code>option</code> element that is not <span data-x="concept-option-disabled">disabled</span></li>
- <li><code>menuitem</code> elements that do not have a <code
- data-x="attr-menuitem-disabled">disabled</code> attribute</li>
+ <li>a <code>menuitem</code> element that does not have a <code data-x="attr-menuitem-disabled">disabled</code> attribute</li>
- <li><code>fieldset</code> elements that do not have a <code
- data-x="attr-fieldset-disabled">disabled</code> attribute</li>
+ <li>a <code>fieldset</code> element that is not a <span data-x="concept-fieldset-disabled">disabled fieldset</span></li>
</ul>
More information about the Commit-Watchers
mailing list