[html5] r2317 - [] (0) WF2: disabled='', value, checkedness

whatwg at whatwg.org whatwg at whatwg.org
Thu Oct 9 17:53:26 PDT 2008


Author: ianh
Date: 2008-10-09 17:53:26 -0700 (Thu, 09 Oct 2008)
New Revision: 2317

Modified:
   index
   source
Log:
[] (0) WF2: disabled='', value, checkedness

Modified: index
===================================================================
--- index	2008-10-10 00:48:54 UTC (rev 2316)
+++ index	2008-10-10 00:53:26 UTC (rev 2317)
@@ -27224,24 +27224,29 @@
 
   <h5 id=enabling-and-disabling-form-controls><span class=secno>4.10.13.2 </span>Enabling and disabling form controls</h5>
 
-  <p class=XXX>... <dfn id=concept-fe-disabled 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>The <dfn id=attr-fe-disabled title=attr-fe-disabled><code>disabled</code></dfn>
+  content attribute is a <a href=#boolean-attribute>boolean attribute</a>.</p>
 
-  <p class=XXX>... <dfn id=attr-fe-disabled title=attr-fe-disabled>disabled</dfn> content attribute</p>
+  <p>A form control is <dfn id=concept-fe-disabled title=concept-fe-disabled>disabled</dfn>
+  if its <code title=attr-fe-disabled><a href=#attr-fe-disabled>disabled</a></code> attribute is
+  set, or if it is a descendant of a <code><a href=#the-fieldset-element>fieldset</a></code> element
+  whose <code title=attr-fieldset-disabled><a href=#attr-fieldset-disabled>disabled</a></code> attribute
+  is set.</p>
 
-  <p class=XXX>... <dfn id=dom-fe-disabled title=dom-fe-disabled>disabled</dfn> DOM attribute</p>
-
   <p><strong>Constraint validation:</strong> If an element is <a href=#concept-fe-disabled title=concept-fe-disabled>disabled</a>, it is <a href=#barred-from-constraint-validation>barred from
   constraint validation</a>.</p>
 
+  <p>The <dfn id=dom-fe-disabled title=dom-fe-disabled><code>disabled</code></dfn> DOM
+  attribute must <a href=#reflect>reflect</a> the <code title=attr-fe-disabled><a href=#attr-fe-disabled>disabled</a></code> content attribute.</p>
 
 
+
   <h5 id="a-form-control's-value"><span class=secno>4.10.13.3 </span>A form control's value</h5>
 
-  <p class=XXX>... <dfn id=concept-fe-value title=concept-fe-value>value</dfn></p>
-  <p class=XXX>... <dfn id=concept-fe-checked title=concept-fe-checked>checkedness</dfn></p>
-  <!-- XXX autocomplete: define somewhere that the value may be set from a stored value -->
+  <p>Form controls have a <dfn id=concept-fe-value title=concept-fe-value>value</dfn>
+  and a <dfn id=concept-fe-checked title=concept-fe-checked>checkedness</dfn>. (The latter
+  is only used by <code><a href=#the-input-element>input</a></code> elements.) These are used to
+  describe how the user interacts with the control.</p>
 
 
 

Modified: source
===================================================================
--- source	2008-10-10 00:48:54 UTC (rev 2316)
+++ source	2008-10-10 00:53:26 UTC (rev 2317)
@@ -30569,25 +30569,31 @@
 
   <h5>Enabling and disabling form controls</h5>
 
-  <p class="XXX">... <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>The <dfn title="attr-fe-disabled"><code>disabled</code></dfn>
+  content attribute is a <span>boolean attribute</span>.</p>
 
-  <p class="XXX">... <dfn title="attr-fe-disabled">disabled</dfn> content attribute</p>
+  <p>A form control is <dfn title="concept-fe-disabled">disabled</dfn>
+  if its <code title="attr-fe-disabled">disabled</code> attribute is
+  set, or if it is a descendant of a <code>fieldset</code> element
+  whose <code title="attr-fieldset-disabled">disabled</code> attribute
+  is set.</p>
 
-  <p class="XXX">... <dfn title="dom-fe-disabled">disabled</dfn> DOM attribute</p>
-
   <p><strong>Constraint validation:</strong> If an element is <span
   title="concept-fe-disabled">disabled</span>, it is <span>barred from
   constraint validation</span>.</p>
 
+  <p>The <dfn title="dom-fe-disabled"><code>disabled</code></dfn> DOM
+  attribute must <span>reflect</span> the <code
+  title="attr-fe-disabled">disabled</code> content attribute.</p>
 
 
+
   <h5>A form control's value</h5>
 
-  <p class="XXX">... <dfn title="concept-fe-value">value</dfn></p>
-  <p class="XXX">... <dfn title="concept-fe-checked">checkedness</dfn></p>
-  <!-- XXX autocomplete: define somewhere that the value may be set from a stored value -->
+  <p>Form controls have a <dfn title="concept-fe-value">value</dfn>
+  and a <dfn title="concept-fe-checked">checkedness</dfn>. (The latter
+  is only used by <code>input</code> elements.) These are used to
+  describe how the user interacts with the control.</p>
 
 
 




More information about the Commit-Watchers mailing list