HTML Standard Tracker

Filter

File a bug

SVNBugCommentTime (UTC)
2633[Internet Explorer] [Webkit] Support .indeterminate from IE/Safari. Hopefully this is an accurate specification for it. Let me know if it isn't.2008-12-30 14:25
@@ -26657,20 +26657,21 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
            attribute DOMString <span title="dom-input-accept">accept</span>;
            attribute DOMString <span title="dom-fs-action">action</span>;
            attribute DOMString <span title="dom-input-alt">alt</span>;
            attribute boolean <span title="dom-input-autocomplete">autocomplete</span>;
            attribute boolean <span title="dom-fe-autofocus">autofocus</span>;
            attribute boolean <span title="dom-input-defaultChecked">defaultChecked</span>;
            attribute boolean <span title="dom-input-checked">checked</span>;
            attribute boolean <span title="dom-fe-disabled">disabled</span>;
            attribute DOMString <span title="dom-fs-enctype">enctype</span>;
   readonly attribute <span>HTMLFormElement</span> <span title="dom-fae-form">form</span>;
+           attribute boolean <span title="dom-input-indeterminate">indeterminate</span>;
   readonly attribute <span>HTMLElement</span> <span title="dom-input-list">list</span>;
            attribute DOMString <span title="dom-input-max">max</span>;
            attribute long <span title="dom-input-maxLength">maxLength</span>;
            attribute DOMString <span title="dom-fs-method">method</span>;
            attribute DOMString <span title="dom-input-min">min</span>;
            attribute boolean <span title="dom-input-multiple">multiple</span>;
            attribute DOMString <span title="dom-fe-name">name</span>;
            attribute boolean <span title="dom-fs-noValidate">noValidate</span>;
            attribute DOMString <span title="dom-input-pattern">pattern</span>;
            attribute DOMString <span title="dom-input-placeholder">placeholder</span>;
@@ -27850,20 +27851,27 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
 
   <p>The <code title="attr-fae-form">form</code> attribute is used to
   explicitly associate the <code>input</code> element with its
   <span>form owner</span>. The <code title="attr-fe-name">name</code>
   attribute represents the element's name. The <code
   title="attr-fe-disabled">disabled</code> attribute is used to make
   the control non-interactive and to prevent its value from being
   submitted. The <code title="attr-fe-autofocus">autofocus</code>
   attribute controls focus.</p>
 
+  <p>The <dfn
+  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 <span
+  title="attr-input-type-checkbox">checkbox</span> controls.</p>
+
   <p>The <dfn title="dom-input-accept"><code>accept</code></dfn>, <dfn
   title="dom-input-alt"><code>alt</code></dfn>, <dfn
   title="dom-input-autocomplete"><code>autocomplete</code></dfn>, <dfn
   title="dom-input-max"><code>max</code></dfn>, <dfn
   title="dom-input-min"><code>min</code></dfn>, <dfn
   title="dom-input-multiple"><code>multiple</code></dfn>, <dfn
   title="dom-input-pattern"><code>pattern</code></dfn>, <dfn
   title="dom-input-placeholder"><code>placeholder</code></dfn>, <dfn
   title="dom-input-required"><code>required</code></dfn>, <dfn
   title="dom-input-size"><code>size</code></dfn>, <dfn
@@ -29568,34 +29576,48 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
   <p>When an <code>input</code> element's <code
   title="attr-input-type">type</code> attribute is in the <span
   title="attr-input-type-checkbox">Checkbox</span> state, the rules in
   this section apply.</p>
 
   <p>The <code>input</code> element represents a two-state control
   that represents the element's <span
   title="concept-fe-checked">checkedness</span> state. If the
   element's <span title="concept-fe-checked">checkedness</span> state
   is true, the control represents a positive selection, and if it is
-  false, a negative selection.</p>
+  false, a negative selection. If the element's <code
+  title="dom-input-indeterminate">indeterminate</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>
+
+  <p class="note">The control is never a true tri-state control, even
+  if the element's <code
+  title="dom-input-indeterminate">indeterminate</code> DOM attribute
+  is set to true. The <code
+  title="dom-input-indeterminate">indeterminate</code> DOM attribute
+  only gives the appearance of a third state.</p>
 
   <p>If the element is <i title="concept-input-mutable">mutable</i>,
   then: The <span>pre-click activation steps</span> consist of setting
   the element's <span title="concept-fe-checked">checkedness</span> to
-  its opposite value (i.e. true if it is false, false if it is
-  true). The <span>canceled activation steps</span> consist of setting
-  the <span title="concept-fe-checked">checkedness</span> back to the
-  value it had before the <span>pre-click activation steps</span> were
-  run. The <span>activation behavior</span> is to <span>fire a simple
-  event</span> called <code title="event-change">change</code> at the
-  element, then <span>broadcast <code
-  title="event-formchange">formchange</code> events</span> at the
-  element's <span>form owner</span>.</p>
+  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">indeterminate</code> DOM attribute
+  to false. The <span>canceled activation steps</span> consist of
+  setting the <span title="concept-fe-checked">checkedness</span> and
+  the element's <code
+  title="dom-input-indeterminate">indeterminate</code> DOM attribute
+  back to the values they had before the <span>pre-click activation
+  steps</span> were run. The <span>activation behavior</span> is to
+  <span>fire a simple event</span> called <code
+  title="event-change">change</code> at the element, then
+  <span>broadcast <code title="event-formchange">formchange</code>
+  events</span> at the element's <span>form owner</span>.</p>
 
   <p><strong>Constraint validation:</strong> If the element is <i
   title="concept-input-required">required</i> and its <span
   title="concept-fe-checked">checkedness</span> is false, then the
   element is <span>suffering from being missing</span>.</p>
 
   <div class="bookkeeping">
 
    <p>The following common <code>input</code> element content
    attributes and DOM attributes apply to the element:

|