- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 02 Oct 2008 17:56:18 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv17294 Modified Files: Overview.html Log Message: WF2: <input type=hidden> and some preparations for type=image. (whatwg r2268) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.1440 retrieving revision 1.1441 diff -u -d -r1.1440 -r1.1441 --- Overview.html 2 Oct 2008 10:16:23 -0000 1.1440 +++ Overview.html 2 Oct 2008 17:56:15 -0000 1.1441 @@ -18387,8 +18387,8 @@ DOM attribute must return an <code><a href=#htmlformcontrolscollection-0>HTMLFormControlsCollection</a></code> rooted at the <code>Document</code> node, whose filter matches <a href=#category-listed title=category-listed>listed</a> elements whose <a href=#form-owner>form owner</a> is the <code><a href=#the-form-element>form</a></code> element, with the exception of - <code><a href=#the-input-element>input</a></code> elements whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <span title=attr-input-type-image-state>Image Button</span> state, which - must, for historical reasons, be excluded from this particular + <code><a href=#the-input-element>input</a></code> elements whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href=#image-button-state title=attr-input-type-image>Image Button</a> state, which must, + for historical reasons, be excluded from this particular collection.<p>The <dfn id=dom-form-length title=dom-form-length><code>length</code></dfn> DOM attribute must return the number of nodes <a href=#represented-by-the-collection title="represented by the collection">represented</a> by the <code title=dom-form-elements><a href=#dom-form-elements>elements</a></code> collection.</p><!-- XXX7 and XXX8: in IE these are called item and namedItem, but @@ -19368,10 +19368,46 @@ serialisation. e.g. should it be 2008-01-01T00:00 or 2008-01-01t00:00? should it be 1e2 or 100? --><!-- XXX for each of these, need to say when to fire oninput, onchange, and when required='' is satisfied --><h6 id=hidden-state><span class=secno>4.10.4.1.1 </span><dfn title=attr-input-type-hidden>Hidden</dfn> state</h6><p>When an <code><a href=#the-input-element>input</a></code> element's <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href=#hidden-state title=attr-input-type-hidden>Hidden</a> state, the rules in - this section apply.<p class=XXX>...<p><strong>Constraint validation:</strong> If an <code><a href=#the-input-element>input</a></code> + this section apply.<p>The <code><a href=#the-input-element>input</a></code> element represents a value that is not + intended to be examined or manipulated by the user.<p><strong>Constraint validation:</strong> If an <code><a href=#the-input-element>input</a></code> element's <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href=#hidden-state title=attr-input-type-hidden>Hidden</a> state, it is - <a href=#barred-from-constraint-validation>barred from constraint validation</a>.<h6 id=text-state><span class=secno>4.10.4.1.2 </span><dfn title=attr-input-type-text>Text</dfn> state</h6><p>When an <code><a href=#the-input-element>input</a></code> element's <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href=#text-state title=attr-input-type-text>Text</a> state, the rules in this + <a href=#barred-from-constraint-validation>barred from constraint validation</a>.<p><strong>The <a href=#value-sanitization-algorithm>value sanitization algorithm</a> is as + follows:</strong> Do nothing.<p>If the <code title=attr-input-value><a href=#attr-input-value>name</a></code> attribute is + present and has a value that is a <a href=#case-sensitive>case-sensitive</a> match + for the string "<code title="">_charset_</code>", then the element's + <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute must be + omitted.<p>The + <code title=dom-input-value><a href=#dom-input-value>value</a></code> + DOM attribute applies to this element and is + in mode <a href=#dom-input-value-value title=dom-input-value-value>value</a>.<p>The following content attributes must not be specified and do not + apply to the element: + <code class=no-backref title=attr-input-accept><a href=#attr-input-accept>accept</a></code>, + <code class=no-backref title=attr-fs-action><a href=#attr-fs-action>action</a></code>, + <code class=no-backref title=attr-input-alt><a href=#attr-input-alt>alt</a></code>, + <code class=no-backref title=attr-input-autocomplete><a href=#attr-input-autocomplete>autocomplete</a></code>, + <code class=no-backref title=attr-input-checked><a href=#attr-input-checked>checked</a></code>, + <code class=no-backref title=attr-fs-enctype><a href=#attr-fs-enctype>enctype</a></code>, + <code class=no-backref title=attr-input-list><a href=#attr-input-list>list</a></code>, + <code class=no-backref title=attr-input-max><a href=#attr-input-max>max</a></code>, + <code class=no-backref title=attr-input-maxlength><a href=#attr-input-maxlength>maxlength</a></code>, + <code class=no-backref title=attr-fs-method><a href=#attr-fs-method>method</a></code>, + <code class=no-backref title=attr-input-min><a href=#attr-input-min>min</a></code>, + <code class=no-backref title=attr-input-pattern><a href=#attr-input-pattern>pattern</a></code>, + <code class=no-backref title=attr-input-readonly><a href=#attr-input-readonly>readonly</a></code>, + <code class=no-backref title=attr-input-required><a href=#attr-input-required>required</a></code>, + <code class=no-backref title=attr-input-size><a href=#attr-input-size>size</a></code>, + <code class=no-backref title=attr-input-src><a href=#attr-input-src>src</a></code>, + <code class=no-backref title=attr-input-step><a href=#attr-input-step>step</a></code>, and + <code class=no-backref title=attr-fs-target><a href=#attr-fs-target>target</a></code>.<p>The following DOM attributes and methods do not apply to the + element: + <code class=no-backref title=dom-input-checked><a href=#dom-input-checked>checked</a></code>, + <code class=no-backref title=dom-input-list><a href=#dom-input-list>list</a></code>, + <code class=no-backref title=dom-input-selectedOption><a href=#dom-input-selectedoption>selectedOption</a></code>, + <code class=no-backref title=dom-input-valueAsDate><a href=#dom-input-valueasdate>valueAsDate</a></code>, and + <code class=no-backref title=dom-input-valueAsNumber><a href=#dom-input-valueasnumber>valueAsNumber</a></code> DOM attributes + <code class=no-backref title=dom-input-stepUp><a href=#dom-input-stepup>stepUp()</a></code>, and + <code class=no-backref title=dom-input-stepDown><a href=#dom-input-stepdown>stepDown()</a></code> methods.<h6 id=text-state><span class=secno>4.10.4.1.2 </span><dfn title=attr-input-type-text>Text</dfn> state</h6><p>When an <code><a href=#the-input-element>input</a></code> element's <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href=#text-state title=attr-input-type-text>Text</a> state, the rules in this section apply.<p>The <code><a href=#the-input-element>input</a></code> element represents a one line plain text edit control for the element's <a href=#concept-fe-value title=concept-fe-value>value</a>.<p>If the element is <i title=concept-input-mutable><a href=#concept-input-mutable>mutable</a></i>, its <a href=#concept-fe-value title=concept-fe-value>value</a> should be editable @@ -20258,7 +20294,8 @@ in this section apply.<p class=XXX>...</p><!--XXX rel="" on submit buttons? --><h6 id=image-button-state><span class=secno>4.10.4.1.18 </span><dfn title=attr-input-type-image>Image Button</dfn> state</h6><p>When an <code><a href=#the-input-element>input</a></code> element's <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href=#image-button-state title=attr-input-type-image>Image Button</a> state, the rules - in this section apply.<p class=XXX>...<p class=XXX>... <dfn id=attr-input-alt title=attr-input-alt><code>alt</code></dfn><p class=XXX>... <dfn id=attr-input-src title=attr-input-src><code>src</code></dfn><p class=XXX>... image: <dfn id=concept-input-type-image-coordinate title=concept-input-type-image-coordinate>selected coordinate</dfn><h6 id=reset-button-state><span class=secno>4.10.4.1.19 </span><dfn title=attr-input-type-reset>Reset Button</dfn> state</h6><p>When an <code><a href=#the-input-element>input</a></code> element's <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href=#reset-button-state title=attr-input-type-reset>Reset Button</a> state, the rules + in this section apply.<p>the element's <code title=attr-input-value><a href=#attr-input-value>value</a></code> + attribute must be omitted.<p class=XXX>...<p class=XXX>... <dfn id=attr-input-alt title=attr-input-alt><code>alt</code></dfn><p class=XXX>... <dfn id=attr-input-src title=attr-input-src><code>src</code></dfn><p class=XXX>... image: <dfn id=concept-input-type-image-coordinate title=concept-input-type-image-coordinate>selected coordinate</dfn><h6 id=reset-button-state><span class=secno>4.10.4.1.19 </span><dfn title=attr-input-type-reset>Reset Button</dfn> state</h6><p>When an <code><a href=#the-input-element>input</a></code> element's <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href=#reset-button-state title=attr-input-type-reset>Reset Button</a> state, the rules in this section apply.<p class=XXX>...<p><strong>Constraint validation:</strong> If an <code><a href=#the-input-element>input</a></code> element's <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href=#reset-button-state title=attr-input-type-reset>Reset Button</a> state,
Received on Thursday, 2 October 2008 17:56:53 UTC