W3C home > Mailing lists > Public > public-html-commits@w3.org > December 2008

html5/spec Overview.html,1.1802,1.1803

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 30 Dec 2008 14:26:07 +0000
To: public-html-commits@w3.org
Message-Id: <E1LHfXr-0002fq-OV@lionel-hutz.w3.org>

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv10247

Modified Files:
	Overview.html 
Log Message:
Support .indeterminate from IE/Safari. Hopefully this is an accurate specification for it. Let me know if it isn't. (whatwg r2633)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1802
retrieving revision 1.1803
diff -u -d -r1.1802 -r1.1803
--- Overview.html	30 Dec 2008 11:13:38 -0000	1.1802
+++ Overview.html	30 Dec 2008 14:26:04 -0000	1.1803
@@ -19485,6 +19485,7 @@
            attribute boolean <a href=#dom-fe-disabled title=dom-fe-disabled>disabled</a>;
            attribute DOMString <a href=#dom-fs-enctype title=dom-fs-enctype>enctype</a>;
   readonly attribute <a href=#htmlformelement>HTMLFormElement</a> <a href=#dom-fae-form title=dom-fae-form>form</a>;
+           attribute boolean <a href=#dom-input-indeterminate title=dom-input-indeterminate>indeterminate</a>;
   readonly attribute <a href=#htmlelement>HTMLElement</a> <a href=#dom-input-list title=dom-input-list>list</a>;
            attribute DOMString <a href=#dom-input-max title=dom-input-max>max</a>;
            attribute long <a href=#dom-input-maxlength title=dom-input-maxLength>maxLength</a>;
@@ -20509,7 +20510,10 @@
   attribute represents the element's name. The <code title=attr-fe-disabled><a href=#attr-fe-disabled>disabled</a></code> attribute is used to make
   the control non-interactive and to prevent its value from being
   submitted. The <code title=attr-fe-autofocus><a href=#attr-fe-autofocus>autofocus</a></code>
-  attribute controls focus.<p>The <dfn id=dom-input-accept title=dom-input-accept><code>accept</code></dfn>, <dfn id=dom-input-alt title=dom-input-alt><code>alt</code></dfn>, <dfn id=dom-input-autocomplete title=dom-input-autocomplete><code>autocomplete</code></dfn>, <dfn id=dom-input-max title=dom-input-max><code>max</code></dfn>, <dfn id=dom-input-min title=dom-input-min><code>min</code></dfn>, <dfn id=dom-input-multiple title=dom-input-multiple><code>multiple</code></dfn>, <dfn id=dom-input-pattern title=dom-input-pattern><code>pattern</code></dfn>, <dfn id=dom-input-placeholder title=dom-input-placeholder><code>placeholder</code></dfn>, <dfn id=dom-input-required title=dom-input-required><code>required</code></dfn>, <dfn id=dom-input-size title=dom-input-size><code>size</code></dfn>, <dfn id=dom-input-src title=dom-input-src><code>src</code></dfn>, <dfn id=dom-input-step title=dom-input-step><code>step</code></dfn>, and <dfn id=dom-input-type title=dom-input-type><code>type</code></dfn> DOM attributes must
+  attribute controls focus.<p>The <dfn id=dom-input-indeterminate title=dom-input-indeterminate><code>indeterminate</code></dfn> DOM
+  attribute must initially be set to false. On getting, it must return
+  the last value it was set to. On setting, it must be set to the new
+  value. It has no effect except for changing the appearance of <a href=#checkbox-state title=attr-input-type-checkbox>checkbox</a> controls.<p>The <dfn id=dom-input-accept title=dom-input-accept><code>accept</code></dfn>, <dfn id=dom-input-alt title=dom-input-alt><code>alt</code></dfn>, <dfn id=dom-input-autocomplete title=dom-input-autocomplete><code>autocomplete</code></dfn>, <dfn id=dom-input-max title=dom-input-max><code>max</code></dfn>, <dfn id=dom-input-min title=dom-input-min><code>min</code></dfn>, <dfn id=dom-input-multiple title=dom-input-multiple><code>multiple</code></dfn>, <dfn id=dom-input-pattern title=dom-input-pattern><code>pattern</code></dfn>, <dfn id=dom-input-placeholder title=dom-input-placeholder><code>placeholder</code></dfn>, <dfn id=dom-input-required title=dom-input-required><code>required</code></dfn>, <dfn id=dom-input-size title=dom-input-size><code>size</code></dfn>, <dfn id=dom-input-src title=dom-input-src><code>src</code></dfn>, <dfn id=dom-input-step title=dom-input-step><code>step</code></dfn>, and <dfn id=dom-input-type title=dom-input-type><code>type</code></dfn> DOM attributes must
   <a href=#reflect>reflect</a> the respective content attributes of the same
   name.  The <dfn id=dom-input-maxlength title=dom-input-maxLength><code>maxLength</code></dfn> DOM
   attribute must <a href=#reflect>reflect</a> the <code title=attr-input-maxlength><a href=#attr-input-maxlength>maxlength</a></code> content attribute. The
@@ -21667,17 +21671,24 @@
   that represents the element's <a href=#concept-fe-checked title=concept-fe-checked>checkedness</a> state. If the
   element's <a href=#concept-fe-checked title=concept-fe-checked>checkedness</a> state
   is true, the control represents a positive selection, and if it is
-  false, a negative selection.<p>If the element is <i title=concept-input-mutable><a href=#concept-input-mutable>mutable</a></i>,
+  false, a negative selection. If the element's <code title=dom-input-indeterminate><a href=#dom-input-indeterminate>indeterminate</a></code> DOM attribute
+  is set to true, then the control's selection should be obscured as
+  if the control was in a third, indeterminate, state.<p class=note>The control is never a true tri-state control, even
+  if the element's <code title=dom-input-indeterminate><a href=#dom-input-indeterminate>indeterminate</a></code> DOM attribute
+  is set to true. The <code title=dom-input-indeterminate><a href=#dom-input-indeterminate>indeterminate</a></code> DOM attribute
+  only gives the appearance of a third state.<p>If the element is <i title=concept-input-mutable><a href=#concept-input-mutable>mutable</a></i>,
   then: The <a href=#pre-click-activation-steps>pre-click activation steps</a> consist of setting
   the element's <a href=#concept-fe-checked title=concept-fe-checked>checkedness</a> to
-  its opposite value (i.e. true if it is false, false if it is
-  true). The <a href=#canceled-activation-steps>canceled activation steps</a> consist of setting
-  the <a href=#concept-fe-checked title=concept-fe-checked>checkedness</a> back to the
-  value it had before the <a href=#pre-click-activation-steps>pre-click activation steps</a> were
-  run. The <a href=#activation-behavior>activation behavior</a> is to <a href=#fire-a-simple-event>fire a simple
-  event</a> called <code title=event-change>change</code> at the
-  element, then <a href=#broadcast-formchange-events>broadcast <code title=event-formchange>formchange</code> events</a> at the
-  element's <a href=#form-owner>form owner</a>.<p><strong>Constraint validation:</strong> If the element is <i title=concept-input-required><a href=#concept-input-required>required</a></i> and its <a href=#concept-fe-checked title=concept-fe-checked>checkedness</a> is false, then the
+  its opposite value (i.e. true if it is false, false if it is true),
+  and of setting the element's <code title=dom-input-indeterminate><a href=#dom-input-indeterminate>indeterminate</a></code> DOM attribute
+  to false. The <a href=#canceled-activation-steps>canceled activation steps</a> consist of
+  setting the <a href=#concept-fe-checked title=concept-fe-checked>checkedness</a> and
+  the element's <code title=dom-input-indeterminate><a href=#dom-input-indeterminate>indeterminate</a></code> DOM attribute
+  back to the values they had before the <a href=#pre-click-activation-steps>pre-click activation
+  steps</a> were run. The <a href=#activation-behavior>activation behavior</a> is to
+  <a href=#fire-a-simple-event>fire a simple event</a> called <code title=event-change>change</code> at the element, then
+  <a href=#broadcast-formchange-events>broadcast <code title=event-formchange>formchange</code>
+  events</a> at the element's <a href=#form-owner>form owner</a>.<p><strong>Constraint validation:</strong> If the element is <i title=concept-input-required><a href=#concept-input-required>required</a></i> and its <a href=#concept-fe-checked title=concept-fe-checked>checkedness</a> is false, then the
   element is <a href=#suffering-from-being-missing>suffering from being missing</a>.<div class=bookkeeping>
 
    <p>The following common <code><a href=#the-input-element>input</a></code> element content
Received on Tuesday, 30 December 2008 14:26:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 30 December 2008 14:26:19 GMT