- From: poot <cvsmail@w3.org>
- Date: Tue, 30 Dec 2008 23:29:01 +0900 (JST)
- To: public-html-diffs@w3.org
Support .indeterminate from IE/Safari. Hopefully this is an accurate specification for it. Let me know if it isn't. (whatwg r2633) maxLength http://people.w3.org/mike/diffs/html5/spec/Overview.1.1803.html#dom-input-maxlength accept http://people.w3.org/mike/diffs/html5/spec/Overview.1.1803.html#dom-input-accept indeterminate http://people.w3.org/mike/diffs/html5/spec/Overview.1.1803.html#dom-input-indeterminate 4.10.4.1.15 Checkbox state http://people.w3.org/mike/diffs/html5/spec/Overview.1.1803.html#checkbox-state immutable http://people.w3.org/mike/diffs/html5/spec/Overview.1.1803.html#concept-input-immutable HTMLInputElement http://people.w3.org/mike/diffs/html5/spec/Overview.1.1803.html#htmlinputelement http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1802&r2=1.1803&f=h http://html5.org/tools/web-apps-tracker?from=2632&to=2633 =================================================================== 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 ust + 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-ste><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:29:38 UTC