HTML5 Tracker

Diff (omit for latest revision)
Filter

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

SVNBugCommentTime (UTC)
2237WF2: Put password type after email/url.2008-09-25 07:30
Index: source
===================================================================
--- source	(revision 2236)
+++ source	(revision 2237)
@@ -25339,11 +25339,6 @@
      <td> Text with no line breaks
      <td> Text field
     <tr>
-     <td> <dfn title="attr-input-type-password-keyword"><code>password</code></dfn>
-     <td> <span title="attr-input-type-password">Password</span>
-     <td> Text with no line breaks (sensitive information)
-     <td> Text field that obscures data entry
-    <tr>
      <td> <dfn title="attr-input-type-email-keyword"><code>email</code></dfn>
      <td> <span title="attr-input-type-email">E-mail</span>
      <td> An e-mail address
@@ -25354,6 +25349,11 @@
      <td> An IRI
      <td> A text field
     <tr>
+     <td> <dfn title="attr-input-type-password-keyword"><code>password</code></dfn>
+     <td> <span title="attr-input-type-password">Password</span>
+     <td> Text with no line breaks (sensitive information)
+     <td> Text field that obscures data entry
+    <tr>
      <td> <dfn title="attr-input-type-datetime-keyword"><code>datetime</code></dfn>
      <td> <span title="attr-input-type-datetime">Date and Time</span>
      <td> A date and time (year, month, day, hour, minute, second, fraction of a second) with the time zone set to UTC
@@ -25474,9 +25474,9 @@
     <tr>
      <td>
      <th> <span title="attr-input-type-text">Text</span>
-     <th> <span title="attr-input-type-password">Password</span>
      <th> <span title="attr-input-type-email">E-mail</span>
      <th> <span title="attr-input-type-url">URL</span>
+     <th> <span title="attr-input-type-password">Password</span>
      <th> <span title="attr-input-type-datetime">Date and Time</span>
      <th> <span title="attr-input-type-datetime-local">Local Date and Time</span>
      <th> <span title="attr-input-type-date">Date</span>
@@ -25499,9 +25499,9 @@
     <tr><!-- complete -->
      <th> <code title="attr-input-accept">accept</code>
      <td class="no"> &middot; <!-- Text -->
-     <td class="no"> &middot; <!-- Password -->
      <td class="no"> &middot; <!-- E-mail -->
      <td class="no"> &middot; <!-- URL -->
+     <td class="no"> &middot; <!-- Password -->
      <td class="no"> &middot; <!-- Date and Time -->
      <td class="no"> &middot; <!-- Local Date and Time -->
      <td class="no"> &middot; <!-- Date -->
@@ -25522,9 +25522,9 @@
     <tr>
      <th> <code title="attr-fs-action">action</code>
      <td class="no"> &middot; <!-- Text -->
-     <td class="no"> &middot; <!-- Password -->
      <td class="no"> &middot; <!-- E-mail -->
      <td class="no"> &middot; <!-- URL -->
+     <td class="no"> &middot; <!-- Password -->
      <td class="no"> &middot; <!-- Date and Time -->
      <td class="no"> &middot; <!-- Local Date and Time -->
      <td class="no"> &middot; <!-- Date -->
@@ -25545,9 +25545,9 @@
     <tr>
      <th> <code title="attr-input-alt">alt</code>
      <td class="no"> &middot; <!-- Text -->
-     <td class="no"> &middot; <!-- Password -->
      <td class="no"> &middot; <!-- E-mail -->
      <td class="no"> &middot; <!-- URL -->
+     <td class="no"> &middot; <!-- Password -->
      <td class="no"> &middot; <!-- Date and Time -->
      <td class="no"> &middot; <!-- Local Date and Time -->
      <td class="no"> &middot; <!-- Date -->
@@ -25568,9 +25568,9 @@
     <tr>
      <th> <code title="attr-input-autocomplete">autocomplete</code>
      <td class="yes"> Yes <!-- Text -->
-     <td class="yes"> Yes <!-- Password -->
      <td class="yes"> Yes <!-- E-mail -->
      <td class="yes"> Yes <!-- URL -->
+     <td class="yes"> Yes <!-- Password -->
      <td class="yes"> Yes <!-- Date and Time -->
      <td class="yes"> Yes <!-- Local Date and Time -->
      <td class="yes"> Yes <!-- Date -->
@@ -25591,9 +25591,9 @@
     <tr>
      <th> <code title="attr-input-checked">checked</code>
      <td class="no"> &middot; <!-- Text -->
-     <td class="no"> &middot; <!-- Password -->
      <td class="no"> &middot; <!-- E-mail -->
      <td class="no"> &middot; <!-- URL -->
+     <td class="no"> &middot; <!-- Password -->
      <td class="no"> &middot; <!-- Date and Time -->
      <td class="no"> &middot; <!-- Local Date and Time -->
      <td class="no"> &middot; <!-- Date -->
@@ -25614,9 +25614,9 @@
     <tr>
      <th> <code title="attr-fs-enctype">enctype</code>
      <td class="no"> &middot; <!-- Text -->
-     <td class="no"> &middot; <!-- Password -->
      <td class="no"> &middot; <!-- E-mail -->
      <td class="no"> &middot; <!-- URL -->
+     <td class="no"> &middot; <!-- Password -->
      <td class="no"> &middot; <!-- Date and Time -->
      <td class="no"> &middot; <!-- Local Date and Time -->
      <td class="no"> &middot; <!-- Date -->
@@ -25637,9 +25637,9 @@
     <tr>
      <th> <code title="attr-input-list">list</code>
      <td class="yes"> Yes <!-- Text -->
-     <td class="no"> &middot; <!-- Password -->
      <td class="yes"> Yes <!-- E-mail -->
      <td class="yes"> Yes <!-- URL -->
+     <td class="no"> &middot; <!-- Password -->
      <td class="yes"> Yes <!-- Date and Time -->
      <td class="yes"> Yes <!-- Local Date and Time -->
      <td class="yes"> Yes <!-- Date -->
@@ -25660,9 +25660,9 @@
     <tr>
      <th> <code title="attr-input-max">max</code>
      <td class="no"> &middot; <!-- Text -->
-     <td class="no"> &middot; <!-- Password -->
      <td class="no"> &middot; <!-- E-mail -->
      <td class="no"> &middot; <!-- URL -->
+     <td class="no"> &middot; <!-- Password -->
      <td class="yes"> Yes <!-- Date and Time -->
      <td class="yes"> Yes <!-- Local Date and Time -->
      <td class="yes"> Yes <!-- Date -->
@@ -25683,9 +25683,9 @@
     <tr>
      <th> <code title="attr-input-maxlength">maxlength</code>
      <td class="yes"> Yes <!-- Text -->
-     <td class="yes"> Yes <!-- Password -->
      <td class="yes"> Yes <!-- E-mail -->
      <td class="yes"> Yes <!-- URL -->
+     <td class="yes"> Yes <!-- Password -->
      <td class="no"> &middot; <!-- Date and Time -->
      <td class="no"> &middot; <!-- Local Date and Time -->
      <td class="no"> &middot; <!-- Date -->
@@ -25706,9 +25706,9 @@
     <tr>
      <th> <code title="attr-fs-method">method</code>
      <td class="no"> &middot; <!-- Text -->
-     <td class="no"> &middot; <!-- Password -->
      <td class="no"> &middot; <!-- E-mail -->
      <td class="no"> &middot; <!-- URL -->
+     <td class="no"> &middot; <!-- Password -->
      <td class="no"> &middot; <!-- Date and Time -->
      <td class="no"> &middot; <!-- Local Date and Time -->
      <td class="no"> &middot; <!-- Date -->
@@ -25729,9 +25729,9 @@
     <tr>
      <th> <code title="attr-input-min">min</code>
      <td class="no"> &middot; <!-- Text -->
-     <td class="no"> &middot; <!-- Password -->
      <td class="no"> &middot; <!-- E-mail -->
      <td class="no"> &middot; <!-- URL -->
+     <td class="no"> &middot; <!-- Password -->
      <td class="yes"> Yes <!-- Date and Time -->
      <td class="yes"> Yes <!-- Local Date and Time -->
      <td class="yes"> Yes <!-- Date -->
@@ -25752,9 +25752,9 @@
     <tr>
      <th> <code title="attr-input-pattern">pattern</code>
      <td class="yes"> Yes <!-- Text -->
-     <td class="yes"> Yes <!-- Password -->
      <td class="yes"> Yes <!-- E-mail -->
      <td class="yes"> Yes <!-- URL -->
+     <td class="yes"> Yes <!-- Password -->
      <td class="no"> &middot; <!-- Date and Time -->
      <td class="no"> &middot; <!-- Local Date and Time -->
      <td class="no"> &middot; <!-- Date -->
@@ -25775,9 +25775,9 @@
     <tr>
      <th> <code title="attr-input-readonly">readonly</code>
      <td class="yes"> Yes <!-- Text -->
-     <td class="yes"> Yes <!-- Password -->
      <td class="yes"> Yes <!-- E-mail -->
      <td class="yes"> Yes <!-- URL -->
+     <td class="yes"> Yes <!-- Password -->
      <td class="yes"> Yes <!-- Date and Time -->
      <td class="yes"> Yes <!-- Local Date and Time -->
      <td class="yes"> Yes <!-- Date -->
@@ -25798,9 +25798,9 @@
     <tr>
      <th> <code title="attr-input-required">required</code>
      <td class="yes"> Yes <!-- Text -->
-     <td class="yes"> Yes <!-- Password -->
      <td class="yes"> Yes <!-- E-mail -->
      <td class="yes"> Yes <!-- URL -->
+     <td class="yes"> Yes <!-- Password -->
      <td class="yes"> Yes <!-- Date and Time -->
      <td class="yes"> Yes <!-- Local Date and Time -->
      <td class="yes"> Yes <!-- Date -->
@@ -25821,9 +25821,9 @@
     <tr>
      <th> <code title="attr-input-size">size</code>
      <td class="yes"> Yes <!-- Text -->
-     <td class="yes"> Yes <!-- Password -->
      <td class="yes"> Yes <!-- E-mail -->
      <td class="yes"> Yes <!-- URL -->
+     <td class="yes"> Yes <!-- Password -->
      <td class="no"> &middot; <!-- Date and Time -->
      <td class="no"> &middot; <!-- Local Date and Time -->
      <td class="no"> &middot; <!-- Date -->
@@ -25844,9 +25844,9 @@
     <tr>
      <th> <code title="attr-input-src">src</code>
      <td class="no"> &middot; <!-- Text -->
-     <td class="no"> &middot; <!-- Password -->
      <td class="no"> &middot; <!-- E-mail -->
      <td class="no"> &middot; <!-- URL -->
+     <td class="no"> &middot; <!-- Password -->
      <td class="no"> &middot; <!-- Date and Time -->
      <td class="no"> &middot; <!-- Local Date and Time -->
      <td class="no"> &middot; <!-- Date -->
@@ -25867,9 +25867,9 @@
     <tr>
      <th> <code title="attr-input-step">step</code>
      <td class="no"> &middot; <!-- Text -->
-     <td class="no"> &middot; <!-- Password -->
      <td class="no"> &middot; <!-- E-mail -->
      <td class="no"> &middot; <!-- URL -->
+     <td class="no"> &middot; <!-- Password -->
      <td class="yes"> Yes <!-- Date and Time -->
      <td class="yes"> Yes <!-- Local Date and Time -->
      <td class="yes"> Yes <!-- Date -->
@@ -25890,9 +25890,9 @@
     <tr>
      <th> <code title="attr-fs-target">target</code>
      <td class="no"> &middot; <!-- Text -->
-     <td class="no"> &middot; <!-- Password -->
      <td class="no"> &middot; <!-- E-mail -->
      <td class="no"> &middot; <!-- URL -->
+     <td class="no"> &middot; <!-- Password -->
      <td class="no"> &middot; <!-- Date and Time -->
      <td class="no"> &middot; <!-- Local Date and Time -->
      <td class="no"> &middot; <!-- Date -->
@@ -25913,9 +25913,9 @@
     <tr>
      <th> <code title="dom-input-checked">checked</code>
      <td class="no"> &middot; <!-- Text -->
-     <td class="no"> &middot; <!-- Password -->
      <td class="no"> &middot; <!-- E-mail -->
      <td class="no"> &middot; <!-- URL -->
+     <td class="no"> &middot; <!-- Password -->
      <td class="no"> &middot; <!-- Date and Time -->
      <td class="no"> &middot; <!-- Local Date and Time -->
      <td class="no"> &middot; <!-- Date -->
@@ -25936,9 +25936,9 @@
     <tr>
      <th> <code title="dom-input-valueAsDate">valueAsDate</code>
      <td class="no"> &middot; <!-- Text -->
-     <td class="no"> &middot; <!-- Password -->
      <td class="no"> &middot; <!-- E-mail -->
      <td class="no"> &middot; <!-- URL -->
+     <td class="no"> &middot; <!-- Password -->
      <td class="yes"> Yes <!-- Date and Time -->
      <td class="yes"> Yes <!-- Local Date and Time -->
      <td class="yes"> Yes <!-- Date -->
@@ -25959,9 +25959,9 @@
     <tr>
      <th> <code title="dom-input-valueAsNumber">valueAsNumber</code>
      <td class="no"> &middot; <!-- Text -->
-     <td class="no"> &middot; <!-- Password -->
      <td class="no"> &middot; <!-- E-mail -->
      <td class="no"> &middot; <!-- URL -->
+     <td class="no"> &middot; <!-- Password -->
      <td class="yes"> Yes <!-- Date and Time -->
      <td class="yes"> Yes <!-- Local Date and Time -->
      <td class="yes"> Yes <!-- Date -->
@@ -25982,9 +25982,9 @@
     <tr>
      <th> <code title="dom-input-list">list</code>
      <td class="yes"> Yes <!-- Text -->
-     <td class="no"> &middot; <!-- Password -->
      <td class="yes"> Yes <!-- E-mail -->
      <td class="yes"> Yes <!-- URL -->
+     <td class="no"> &middot; <!-- Password -->
      <td class="yes"> Yes <!-- Date and Time -->
      <td class="yes"> Yes <!-- Local Date and Time -->
      <td class="yes"> Yes <!-- Date -->
@@ -26005,9 +26005,9 @@
     <tr>
      <th> <code title="dom-input-selectedOption">selectedOption</code>
      <td class="yes"> Yes <!-- Text -->
-     <td class="no"> &middot; <!-- Password -->
      <td class="yes"> Yes <!-- E-mail -->
      <td class="yes"> Yes <!-- URL -->
+     <td class="no"> &middot; <!-- Password -->
      <td class="yes"> Yes <!-- Date and Time -->
      <td class="yes"> Yes <!-- Local Date and Time -->
      <td class="yes"> Yes <!-- Date -->
@@ -26028,9 +26028,9 @@
     <tr>
      <th> <code title="dom-input-stepUp">stepUp()</code>
      <td class="no"> &middot; <!-- Text -->
-     <td class="no"> &middot; <!-- Password -->
      <td class="no"> &middot; <!-- E-mail -->
      <td class="no"> &middot; <!-- URL -->
+     <td class="no"> &middot; <!-- Password -->
      <td class="yes"> Yes <!-- Date and Time -->
      <td class="yes"> Yes <!-- Local Date and Time -->
      <td class="yes"> Yes <!-- Date -->
@@ -26051,9 +26051,9 @@
     <tr>
      <th> <code title="dom-input-stepDown">stepDown()</code>
      <td class="no"> &middot; <!-- Text -->
-     <td class="no"> &middot; <!-- Password -->
      <td class="no"> &middot; <!-- E-mail -->
      <td class="no"> &middot; <!-- URL -->
+     <td class="no"> &middot; <!-- Password -->
      <td class="yes"> Yes <!-- Date and Time -->
      <td class="yes"> Yes <!-- Local Date and Time -->
      <td class="yes"> Yes <!-- Date -->
@@ -26264,79 +26264,6 @@
 
 
 
-  <h6><dfn title="attr-input-type-password">Password</dfn> state</h6>
-
-  <p>When an <code>input</code> element's <code title="attr-input-type">type</code>
-  attribute has the value <code title="attr-input-type-password-keyword">password</code>,
-  it is in the <span title="attr-input-type-password">Password</span> state.</p>
-
-  <p>When an <code>input</code> element's <code
-  title="attr-input-type">type</code> attribute is in the <span
-  title="attr-input-type-password">Password</span> state, the element
-  represents a one line plain text edit control for the element's
-  <span title="concept-fe-value">value</span>. The user agent should
-  obscure the value so that people other than the user cannot see
-  it.</p>
-
-  <p>If an <code>input</code> element whose <code
-  title="attr-input-type">type</code> attribute is in the <span
-  title="attr-input-type-password">Password</span> state is <i
-  title="concept-input-mutable">mutable</i>, its <span
-  title="concept-fe-value">value</span> should be editable by the
-  user. User agents must not allow users to insert U+000A LINE FEED
-  (LF) or U+000D CARRIAGE RETURN (CR) characters into the <span
-  title="concept-fe-value">value</span> of such <code>input</code>
-  elements.</p>
-
-  <p><strong>The <span
-  title="attr-input-type-password">Password</span> state's <span>value
-  sanitization algorithm</span> is as follows:</strong> <span>Strip
-  line breaks from the value</span>.</p>
-
-  <p>When an <code>input</code> element's <code
-  title="attr-input-type">type</code> attribute is in the <span
-  title="attr-input-type-password">Password</span> state, the
-  following common <code>input</code> element content attributes apply
-  to the element:
-  <code title="attr-input-autocomplete">autocomplete</code>,
-  <code title="attr-input-maxlength">maxlength</code>,
-  <code title="attr-input-pattern">pattern</code>,
-  <code title="attr-input-readonly">readonly</code>,
-  <code title="attr-input-required">required</code>, and
-  <code title="attr-input-size">size</code>.
-
-  <p>When an <code>input</code> element's <code
-  title="attr-input-type">type</code> attribute is in the <span
-  title="attr-input-type-password">Password</span> state, 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-input-alt">alt</code>,
-  <code class="no-backref" title="attr-input-checked">checked</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-min">min</code>,
-  <code class="no-backref" title="attr-input-src">src</code>,
-  <code class="no-backref" title="attr-input-step">step</code>,
-  <code class="no-backref" title="attr-fs-target">target</code>,
-  <code class="no-backref" title="attr-fs-method">method</code>,
-  <code class="no-backref" title="attr-fs-enctype">enctype</code>, and
-  <code class="no-backref" title="attr-fs-action">action</code>.</p>
-
-  <p>When an <code>input</code> element's <code
-  title="attr-input-type">type</code> attribute is in the <span
-  title="attr-input-type-password">Password</span> state, 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>,
-  <code class="no-backref" title="dom-input-valueAsNumber">valueAsNumber</code>,
-  <code class="no-backref" title="dom-input-stepUp">stepUp()</code>, and
-  <code class="no-backref" title="dom-input-stepDown">stepDown()</code>.</p>
-
-
-
   <h6><dfn title="attr-input-type-email">E-mail</dfn> state</h6>
 
   <p>When an <code>input</code> element's <code title="attr-input-type">type</code>
@@ -26501,6 +26428,79 @@
 
 
 
+  <h6><dfn title="attr-input-type-password">Password</dfn> state</h6>
+
+  <p>When an <code>input</code> element's <code title="attr-input-type">type</code>
+  attribute has the value <code title="attr-input-type-password-keyword">password</code>,
+  it is in the <span title="attr-input-type-password">Password</span> state.</p>
+
+  <p>When an <code>input</code> element's <code
+  title="attr-input-type">type</code> attribute is in the <span
+  title="attr-input-type-password">Password</span> state, the element
+  represents a one line plain text edit control for the element's
+  <span title="concept-fe-value">value</span>. The user agent should
+  obscure the value so that people other than the user cannot see
+  it.</p>
+
+  <p>If an <code>input</code> element whose <code
+  title="attr-input-type">type</code> attribute is in the <span
+  title="attr-input-type-password">Password</span> state is <i
+  title="concept-input-mutable">mutable</i>, its <span
+  title="concept-fe-value">value</span> should be editable by the
+  user. User agents must not allow users to insert U+000A LINE FEED
+  (LF) or U+000D CARRIAGE RETURN (CR) characters into the <span
+  title="concept-fe-value">value</span> of such <code>input</code>
+  elements.</p>
+
+  <p><strong>The <span
+  title="attr-input-type-password">Password</span> state's <span>value
+  sanitization algorithm</span> is as follows:</strong> <span>Strip
+  line breaks from the value</span>.</p>
+
+  <p>When an <code>input</code> element's <code
+  title="attr-input-type">type</code> attribute is in the <span
+  title="attr-input-type-password">Password</span> state, the
+  following common <code>input</code> element content attributes apply
+  to the element:
+  <code title="attr-input-autocomplete">autocomplete</code>,
+  <code title="attr-input-maxlength">maxlength</code>,
+  <code title="attr-input-pattern">pattern</code>,
+  <code title="attr-input-readonly">readonly</code>,
+  <code title="attr-input-required">required</code>, and
+  <code title="attr-input-size">size</code>.
+
+  <p>When an <code>input</code> element's <code
+  title="attr-input-type">type</code> attribute is in the <span
+  title="attr-input-type-password">Password</span> state, 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-input-alt">alt</code>,
+  <code class="no-backref" title="attr-input-checked">checked</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-min">min</code>,
+  <code class="no-backref" title="attr-input-src">src</code>,
+  <code class="no-backref" title="attr-input-step">step</code>,
+  <code class="no-backref" title="attr-fs-target">target</code>,
+  <code class="no-backref" title="attr-fs-method">method</code>,
+  <code class="no-backref" title="attr-fs-enctype">enctype</code>, and
+  <code class="no-backref" title="attr-fs-action">action</code>.</p>
+
+  <p>When an <code>input</code> element's <code
+  title="attr-input-type">type</code> attribute is in the <span
+  title="attr-input-type-password">Password</span> state, 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>,
+  <code class="no-backref" title="dom-input-valueAsNumber">valueAsNumber</code>,
+  <code class="no-backref" title="dom-input-stepUp">stepUp()</code>, and
+  <code class="no-backref" title="dom-input-stepDown">stepDown()</code>.</p>
+
+
+
   <h6><dfn title="attr-input-type-datetime">Date and Time</dfn> state</h6>
 
   <p>When an <code>input</code> element's <code title="attr-input-type">type</code>

|