Short URL: http://html5.org/r/2633
| SVN | Bug | Comment | Time (UTC) |
|---|---|---|---|
| 2633 | 2008-12-30 14:25 |
Index: source
===================================================================
--- source (revision 2632)
+++ source (revision 2633)
@@ -26664,6 +26664,7 @@
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>;
@@ -27857,6 +27858,13 @@
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
@@ -29575,20 +29583,34 @@
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