HTML Standard Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/2197

File a bug

SVNBugCommentTime (UTC)
2197WF2: Fill in the various <input> element's attribute definitions (but not with actual definitions yet).2008-09-16 21:52
Index: source
===================================================================
--- source	(revision 2196)
+++ source	(revision 2197)
@@ -24461,6 +24461,75 @@
   <span>form owner</span>. The <code title="attr-fe-name">name</code>
   attribute represents the element's name.</p>
 
+  <p class="big-issue">... <dfn title="attr-input-autofocus"><code>autofocus</code></dfn></p>
+
+  <p class="big-issue">... <code title="attr-fe-disabled">disabled</code></p>
+
+  <p>The semantics and processing rules of the <dfn
+  title="attr-input-accept"><code>accept</code></dfn>, <dfn
+  title="attr-input-alt"><code>alt</code></dfn>, <dfn
+  title="attr-input-autocomplete"><code>autocomplete</code></dfn>,
+  <dfn title="attr-input-checked"><code>checked</code></dfn>, <dfn
+  title="attr-input-inputmode"><code>inputmode</code></dfn>, <dfn
+  title="attr-input-list"><code>list</code></dfn>, <dfn
+  title="attr-input-max"><code>max</code></dfn>, <dfn
+  title="attr-input-maxlength"><code>maxlength</code></dfn>, <dfn
+  title="attr-input-min"><code>min</code></dfn>, <dfn
+  title="attr-input-pattern"><code>pattern</code></dfn>, <dfn
+  title="attr-input-readonly"><code>readonly</code></dfn>, <dfn
+  title="attr-input-required"><code>required</code></dfn>, <dfn
+  title="attr-input-size"><code>size</code></dfn>, <dfn
+  title="attr-input-src"><code>src</code></dfn>, <dfn
+  title="attr-input-step"><code>step</code></dfn>, and <dfn
+  title="attr-input-value"><code>value</code></dfn> attributes depend
+  on the state of the <code title="attr-input-type">type</code>
+  attribute, and are defined in the sections below.</p>
+
+  <p>The <code title="attr-fs-target">target</code>, <code
+  title="attr-fs-method">method</code>, <code
+  title="attr-fs-enctype">enctype</code>, and <code
+  title="attr-fs-action">action</code> attributes are used in
+  <span>form submission</span> when the <code
+  title="attr-input-type">type</code> attribute is in one of the <span
+  title="attr-input-type-submit">Submit Button</span> or <span
+  title="attr-input-type-image">Image Button</span> states.</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-autofocus"><code>autofocus</code></dfn>, <dfn
+  title="dom-input-inputmode"><code>inputmode</code></dfn>, <dfn
+  title="dom-input-max"><code>max</code></dfn>, <dfn
+  title="dom-input-min"><code>min</code></dfn>, <dfn
+  title="dom-input-pattern"><code>pattern</code></dfn>, <dfn
+  title="dom-input-required"><code>required</code></dfn>, <dfn
+  title="dom-input-size"><code>size</code></dfn>, <dfn
+  title="dom-input-src"><code>src</code></dfn>, <dfn
+  title="dom-input-step"><code>step</code></dfn>, and <dfn
+  title="dom-input-type"><code>type</code></dfn> DOM attributes must
+  <span>reflect</span> the content attributes with the same names.</p>
+
+  <p>The <dfn title="dom-input-maxLength"><code>maxLength</code></dfn>
+  DOM attribute must <span>reflect</span> the <code
+  title="attr-input-maxlength">maxlength</code> content attribute. The
+  <dfn title="dom-input-readOnly"><code>readOnly</code></dfn> DOM
+  attribute must <span>reflect</span> the <code
+  title="attr-input-readonly">readonly</code> content attribute. The
+  <dfn
+  title="dom-input-defaultChecked"><code>defaultChecked</code></dfn>
+  DOM attribute must <span>reflect</span> the <code
+  title="attr-input-checked">checked</code> content attribute. The
+  <dfn title="dom-input-defaultValue"><code>defaultValue</code></dfn>
+  DOM attribute must <span>reflect</span> the <code
+  title="attr-input-value">value</code> content attribute.</p>
+
+  <p class="big-issue">... <dfn title="dom-input-checked"><code>checked</code></dfn></p>
+  <p class="big-issue">... <dfn title="dom-input-value"><code>value</code></dfn></p>
+  <p class="big-issue">... <dfn title="dom-input-valueAsDate"><code>valueAsDate</code></dfn></p>
+  <p class="big-issue">... <dfn title="dom-input-valueAsNumber"><code>valueAsNumber</code></dfn></p>
+  <p class="big-issue">... <dfn title="dom-input-list"><code>list</code></dfn></p>
+  <p class="big-issue">... <dfn title="dom-input-selectedOption"><code>selectedOption</code></dfn></p>
+
   <p>The <code title="dom-cva-willValidate">willValidate</code>,
   <code title="dom-cva-validity">validity</code>, and <code
   title="dom-cva-validationMessage">validationMessage</code>
@@ -24470,12 +24539,8 @@
   title="dom-cva-setCustomValidity">setCustomValidity()</code>
   methods, are part of the <span>constraint validation API</span>.</p>
 
-  <p>The semantics and processing rules of the other attributes depend
-  on the state of the <code title="attr-input-type">type</code>
-  attribute, and are defined in the sections below.</p>
 
 
-
   <h5><dfn title="attr-input-type-text">Text</dfn> State</h5>
 
   <p>When an <code>input</code> element's <code title="attr-input-type">type</code>

|