HTML Standard Tracker

Filter

File a bug

SVNBugCommentTime (UTC)
2268WF2: <input type=hidden> and some preparations for type=image.2008-10-02 17:56
@@ -25134,22 +25134,22 @@ function AddCloud(data, x, y) { ... }</pre>
   attributes must <span>reflect</span> the content attributes of the
   same name.</p>
 
   <p>The <dfn title="dom-form-elements"><code>elements</code></dfn>
   DOM attribute must return an <code>HTMLFormControlsCollection</code>
   rooted at the <code>Document</code> node, whose filter matches <span
   title="category-listed">listed</span> elements whose <span>form
   owner</span> is the <code>form</code> element, with the exception of
   <code>input</code> elements whose <code
   title="attr-input-type">type</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
+  title="attr-input-type-image">Image Button</span> state, which must,
+  for historical reasons, be excluded from this particular
   collection.</p>
 
   <p>The <dfn title="dom-form-length"><code>length</code></dfn> DOM
   attribute must return the number of nodes <span title="represented
   by the collection">represented</span> by the <code
   title="dom-form-elements">elements</code> collection.</p>
 
   <!-- XXX7 and XXX8: in IE these are called item and namedItem, but
   they have deep magic involved to resolve name clashes with form
   controls of those names. In other browsers, they are anonymous. -->
@@ -26408,27 +26408,73 @@ function AddCloud(data, x, y) { ... }</pre>
 
 
 
   <h6><dfn title="attr-input-type-hidden">Hidden</dfn> state</h6>
 
   <p>When an <code>input</code> element's <code
   title="attr-input-type">type</code> attribute is in the <span
   title="attr-input-type-hidden">Hidden</span> state, the rules in
   this section apply.</p>
 
-  <p class="XXX">...</p>
+  <p>The <code>input</code> element represents a value that is not
+  intended to be examined or manipulated by the user.</p>
 
   <p><strong>Constraint validation:</strong> If an <code>input</code>
   element's <code title="attr-input-type">type</code> attribute is in
   the <span title="attr-input-type-hidden">Hidden</span> state, it is
   <span>barred from constraint validation</span>.</p>
 
+  <p><strong>The <span>value sanitization algorithm</span> is as
+  follows:</strong> Do nothing.</p>
+
+  <p>If the <code title="attr-input-value">name</code> attribute is
+  present and has a value that is a <span>case-sensitive</span> match
+  for the string "<code title="">_charset_</code>", then the element's
+  <code title="attr-input-value">value</code> attribute must be
+  omitted.</p>
+
+  <p>The 
+  <code title="dom-input-value">value</code>
+  DOM attribute applies to this element and is
+  in mode <span title="dom-input-value-value">value</span>.</p>
+
+  <p>The following content attributes must not be specified and do not
+  apply to the element:
+  <code class="no-backref" title="attr-input-accept">accept</code>,
+  <code class="no-backref" title="attr-fs-action">action</code>,
+  <code class="no-backref" title="attr-input-alt">alt</code>,
+  <code class="no-backref" title="attr-input-autocomplete">autocomplete</code>,
+  <code class="no-backref" title="attr-input-checked">checked</code>,
+  <code class="no-backref" title="attr-fs-enctype">enctype</code>,
+  <code class="no-backref" title="attr-input-list">list</code>,
+  <code class="no-backref" title="attr-input-max">max</code>,
+  <code class="no-backref" title="attr-input-maxlength">maxlength</code>,
+  <code class="no-backref" title="attr-fs-method">method</code>,
+  <code class="no-backref" title="attr-input-min">min</code>,
+  <code class="no-backref" title="attr-input-pattern">pattern</code>,
+  <code class="no-backref" title="attr-input-readonly">readonly</code>,
+  <code class="no-backref" title="attr-input-required">required</code>,
+  <code class="no-backref" title="attr-input-size">size</code>,
+  <code class="no-backref" title="attr-input-src">src</code>,
+  <code class="no-backref" title="attr-input-step">step</code>, and
+  <code class="no-backref" title="attr-fs-target">target</code>.</p>
+
+  <p>The following DOM attributes and methods do not apply to the
+  element:
+  <code class="no-backref" title="dom-input-checked">checked</code>,
+  <code class="no-backref" title="dom-input-list">list</code>,
+  <code class="no-backref" title="dom-input-selectedOption">selectedOption</code>,
+  <code class="no-backref" title="dom-input-valueAsDate">valueAsDate</code>, and
+  <code class="no-backref" title="dom-input-valueAsNumber">valueAsNumber</code> DOM attributes
+  <code class="no-backref" title="dom-input-stepUp">stepUp()</code>, and
+  <code class="no-backref" title="dom-input-stepDown">stepDown()</code> methods.</p>
+
 
 
   <h6><dfn title="attr-input-type-text">Text</dfn> state</h6>
 
   <p>When an <code>input</code> element's <code
   title="attr-input-type">type</code> attribute is in the <span
   title="attr-input-type-text">Text</span> state, the rules in this
   section apply.</p>
 
   <p>The <code>input</code> element represents a one line plain text
@@ -27922,20 +27968,23 @@ rel="" on submit buttons?
 
 
 
   <h6><dfn title="attr-input-type-image">Image Button</dfn> state</h6>
 
   <p>When an <code>input</code> element's <code
   title="attr-input-type">type</code> attribute is in the <span
   title="attr-input-type-image">Image Button</span> state, the rules
   in this section apply.</p>
 
+  <p>the element's <code title="attr-input-value">value</code>
+  attribute must be omitted.</p>
+
   <p class="XXX">...</p>
 
   <p class="XXX">... <dfn title="attr-input-alt"><code>alt</code></dfn></p>
 
   <p class="XXX">... <dfn title="attr-input-src"><code>src</code></dfn></p>
 
   <p class="XXX">... image: <dfn title="concept-input-type-image-coordinate">selected coordinate</dfn></p>
 
 
 

|