spec/Overview.html 1.1387 2214 WF2: <input type=password>; mention the

WF2: <input type=password>; mention the DOM methods and attributes
explicitly for type=text also. (whatwg r2214)

4.9.4.1.1. Text state
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1387.html#text-state
4.9.4.1.2. Password state
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1387.html#password
button
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1387.html#button0
4.9.4.1.3. E-mail state
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1387.html#e-mail

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1386&r2=1.1387&f=h
http://html5.org/tools/web-apps-tracker?from=2213&to=2214

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1386
retrieving revision 1.1387
diff -u -d -r1.1386 -r1.1387
--- Overview.html 18 Sep 2008 03:18:20 -0000 1.1386
+++ Overview.html 18 Sep 2008 10:56:17 -0000 1.1387
@@ -27448,8 +27448,9 @@
     <tr>
      <td>
 
-     <th> <a href="#text2" title=attr-input-type-text>Text</a>, <a
-      href="#password1" title=attr-input-type-password>Password</a>
+     <th> <a href="#text2" title=attr-input-type-text>Text</a>
+
+     <th> <a href="#password1" title=attr-input-type-password>Password</a>
 
      <th> <a href="#e-mail0" title=attr-input-type-email>E-mail</a>
 
@@ -27493,7 +27494,9 @@
     <tr>
      <th> <code title=attr-input-accept>accept</code>
 
-     <td class=no> &middot; <!-- Text, Password -->
+     <td class=no> &middot; <!-- Text -->
+
+     <td class=no> &middot; <!-- Password -->
 
      <td class=no> &middot; <!-- E-mail -->
 
@@ -27534,7 +27537,9 @@
     <tr>
      <th> <code title=attr-fs-action><a href="#action">action</a></code>
 
-     <td class=no> &middot; <!-- Text, Password -->
+     <td class=no> &middot; <!-- Text -->
+
+     <td class=no> &middot; <!-- Password -->
 
      <td class=no> &middot; <!-- E-mail -->
 
@@ -27575,7 +27580,9 @@
     <tr>
      <th> <code title=attr-input-alt>alt</code>
 
-     <td class=no> &middot; <!-- Text, Password -->
+     <td class=no> &middot; <!-- Text -->
+
+     <td class=no> &middot; <!-- Password -->
 
      <td class=no> &middot; <!-- E-mail -->
 
@@ -27617,7 +27624,9 @@
      <th> <code title=attr-input-autocomplete><a
       href="#autocomplete0">autocomplete</a></code>
 
-     <td class=yes> Yes <!-- Text, Password -->
+     <td class=yes> Yes <!-- Text -->
+
+     <td class=yes> Yes <!-- Password -->
 
      <td class=no> &middot; <!-- E-mail -->
 
@@ -27658,7 +27667,9 @@
     <tr>
      <th> <code title=attr-input-autofocus>autofocus</code>
 
-     <td class=yes> Yes <!-- Text, Password -->
+     <td class=yes> Yes <!-- Text -->
+
+     <td class=yes> Yes <!-- Password -->
 
      <td class=no> &middot; <!-- E-mail -->
 
@@ -27699,7 +27710,9 @@
     <tr>
      <th> <code title=attr-input-checked>checked</code>
 
-     <td class=no> &middot; <!-- Text, Password -->
+     <td class=no> &middot; <!-- Text -->
+
+     <td class=no> &middot; <!-- Password -->
 
      <td class=no> &middot; <!-- E-mail -->
 
@@ -27740,7 +27753,9 @@
     <tr>
      <th> <code title=attr-fs-enctype><a href="#enctype">enctype</a></code>
 
-     <td class=no> &middot; <!-- Text, Password -->
+     <td class=no> &middot; <!-- Text -->
+
+     <td class=no> &middot; <!-- Password -->
 
      <td class=no> &middot; <!-- E-mail -->
 
@@ -27781,7 +27796,9 @@
     <tr>
      <th> <code title=attr-input-inputmode>inputmode</code>
 
-     <td class=yes> Yes <!-- Text, Password -->
+     <td class=yes> Yes <!-- Text -->
+
+     <td class=yes> Yes <!-- Password -->
 
      <td class=no> &middot; <!-- E-mail -->
 
@@ -27822,7 +27839,9 @@
     <tr>
      <th> <code title=attr-input-list>list</code>
 
-     <td class=yes> Yes <!-- Text, Password -->
+     <td class=yes> Yes <!-- Text -->
+
+     <td class=no> &middot; <!-- Password -->
 
      <td class=no> &middot; <!-- E-mail -->
 
@@ -27863,7 +27882,9 @@
     <tr>
      <th> <code title=attr-input-max>max</code>
 
-     <td class=no> &middot; <!-- Text, Password -->
+     <td class=no> &middot; <!-- Text -->
+
+     <td class=no> &middot; <!-- Password -->
 
      <td class=no> &middot; <!-- E-mail -->
 
@@ -27904,7 +27925,9 @@
     <tr>
      <th> <code title=attr-input-maxlength>maxlength</code>
 
-     <td class=yes> Yes <!-- Text, Password -->
+     <td class=yes> Yes <!-- Text -->
+
+     <td class=yes> Yes <!-- Password -->
 
      <td class=no> &middot; <!-- E-mail -->
 
@@ -27945,7 +27968,9 @@
     <tr>
      <th> <code title=attr-fs-method><a href="#method">method</a></code>
 
-     <td class=no> &middot; <!-- Text, Password -->
+     <td class=no> &middot; <!-- Text -->
+
+     <td class=no> &middot; <!-- Password -->
 
      <td class=no> &middot; <!-- E-mail -->
 
@@ -27986,7 +28011,9 @@
     <tr>
      <th> <code title=attr-input-min>min</code>
 
-     <td class=no> &middot; <!-- Text, Password -->
+     <td class=no> &middot; <!-- Text -->
+
+     <td class=no> &middot; <!-- Password -->
 
      <td class=no> &middot; <!-- E-mail -->
 
@@ -28027,7 +28054,9 @@
     <tr>
      <th> <code title=attr-input-pattern>pattern</code>
 
-     <td class=yes> Yes <!-- Text, Password -->
+     <td class=yes> Yes <!-- Text -->
+
+     <td class=yes> Yes <!-- Password -->
 
      <td class=no> &middot; <!-- E-mail -->
 
@@ -28068,7 +28097,9 @@
     <tr>
      <th> <code title=attr-input-readonly>readonly</code>
 
-     <td class=yes> Yes <!-- Text, Password -->
+     <td class=yes> Yes <!-- Text -->
+
+     <td class=yes> Yes <!-- Password -->
 
      <td class=no> &middot; <!-- E-mail -->
 
@@ -28109,7 +28140,9 @@
     <tr>
      <th> <code title=attr-input-required>required</code>
 
-     <td class=yes> Yes <!-- Text, Password -->
+     <td class=yes> Yes <!-- Text -->
+
+     <td class=yes> Yes <!-- Password -->
 
      <td class=no> &middot; <!-- E-mail -->
 
@@ -28150,7 +28183,9 @@
     <tr>
      <th> <code title=attr-input-size>size</code>
 
-     <td class=yes> Yes <!-- Text, Password -->
+     <td class=yes> Yes <!-- Text -->
+
+     <td class=yes> Yes <!-- Password -->
 
      <td class=no> &middot; <!-- E-mail -->
 
@@ -28191,7 +28226,9 @@
     <tr>
      <th> <code title=attr-input-src>src</code>
 
-     <td class=no> &middot; <!-- Text, Password -->
+     <td class=no> &middot; <!-- Text -->
+
+     <td class=no> &middot; <!-- Password -->
 
      <td class=no> &middot; <!-- E-mail -->
 
@@ -28232,7 +28269,9 @@
     <tr>
      <th> <code title=attr-input-step>step</code>
 
-     <td class=no> &middot; <!-- Text, Password -->
+     <td class=no> &middot; <!-- Text -->
+
+     <td class=no> &middot; <!-- Password -->
 
      <td class=no> &middot; <!-- E-mail -->
 
@@ -28273,7 +28312,9 @@
     <tr>
      <th> <code title=attr-fs-target><a href="#target3">target</a></code>
 
-     <td class=no> &middot; <!-- Text, Password -->
+     <td class=no> &middot; <!-- Text -->
+
+     <td class=no> &middot; <!-- Password -->
 
      <td class=no> &middot; <!-- E-mail -->
 
@@ -28315,7 +28356,9 @@
      <th> <code title=dom-input-checked><a
       href="#checked1">checked</a></code>
 
-     <td class=no> &middot; <!-- Text, Password -->
+     <td class=no> &middot; <!-- Text -->
+
+     <td class=no> &middot; <!-- Password -->
 
      <td class=no> &middot; <!-- E-mail -->
 
@@ -28357,7 +28400,9 @@
      <th> <code title=dom-input-valueAsDate><a
       href="#valueasdate">valueAsDate</a></code>
 
-     <td class=no> &middot; <!-- Text, Password -->
+     <td class=no> &middot; <!-- Text -->
+
+     <td class=no> &middot; <!-- Password -->
 
      <td class=no> &middot; <!-- E-mail -->
 
@@ -28399,7 +28444,9 @@
      <th> <code title=dom-input-valueAsNumber><a
       href="#valueasnumber">valueAsNumber</a></code>
 
-     <td class=no> &middot; <!-- Text, Password -->
+     <td class=no> &middot; <!-- Text -->
+
+     <td class=no> &middot; <!-- Password -->
 
      <td class=no> &middot; <!-- E-mail -->
 
@@ -28440,7 +28487,9 @@
     <tr>
      <th> <code title=dom-input-list><a href="#list">list</a></code>
 
-     <td class=yes> Yes <!-- Text, Password -->
+     <td class=yes> Yes <!-- Text -->
+
+     <td class=no> &middot; <!-- Password -->
 
      <td class=no> &middot; <!-- E-mail -->
 
@@ -28482,7 +28531,9 @@
      <th> <code title=dom-input-selectedOption><a
       href="#selectedoption">selectedOption</a></code>
 
-     <td class=yes> Yes <!-- Text, Password -->
+     <td class=yes> Yes <!-- Text -->
+
+     <td class=no> &middot; <!-- Password -->
 
      <td class=no> &middot; <!-- E-mail -->
 
@@ -28523,7 +28574,9 @@
     <tr>
      <th> <code title=dom-input-stepUp><a href="#stepup">stepUp()</a></code>
 
-     <td class=no> &middot; <!-- Text, Password -->
+     <td class=no> &middot; <!-- Text -->
+
+     <td class=no> &middot; <!-- Password -->
 
      <td class=no> &middot; <!-- E-mail -->
 
@@ -28565,7 +28618,9 @@
      <th> <code title=dom-input-stepDown><a
       href="#stepdown">stepDown()</a></code>
 
-     <td class=no> &middot; <!-- Text, Password -->
+     <td class=no> &middot; <!-- Text -->
+
+     <td class=no> &middot; <!-- Password -->
 
      <td class=no> &middot; <!-- E-mail -->
 
@@ -28764,16 +28819,18 @@
    href="#value8">value</a></code> content attribute and <a
    href="#strip">strip line breaks from the value</a>.
 
-  <p><strong>The <a href="#value10"><code title=dom-input-value>value</code>
-   setter algorithm</a> is as follows:</strong> Set the <a href="#value12"
+  <p><strong>The <a href="#text2" title=attr-input-type-text>Text</a> state's
+   <a href="#value10"><code title=dom-input-value>value</code> setter
+   algorithm</a> is as follows:</strong> Set the <a href="#value12"
    title=concept-fe-value>value</a> of the element to the new value and <a
    href="#strip">strip line breaks from the value</a>.
 
   <p>When an <code><a href="#input0">input</a></code> element's <code
    title=attr-input-type><a href="#type12">type</a></code> attribute is in
    the <a href="#text2" title=attr-input-type-text>Text</a> state, the
-   following common <code><a href="#input0">input</a></code> element
-   attributes apply to the element: <code title=attr-input-autocomplete><a
+   following common <code><a href="#input0">input</a></code> element content
+   attributes, DOM attributes, and methods apply to the element: <code
+   title=attr-input-autocomplete><a
    href="#autocomplete0">autocomplete</a></code>, <code
    title=attr-input-autofocus>autofocus</code>, <code
    title=attr-input-inputmode>inputmode</code>, <code
@@ -28782,16 +28839,19 @@
    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>.
+   title=attr-input-size>size</code> content attributes; <code
+   title=dom-input-list><a href="#list">list</a></code>, and <code
+   title=dom-input-selectedOption><a
+   href="#selectedoption">selectedOption</a></code> DOM attributes.
 
   <p>When an <code><a href="#input0">input</a></code> element's <code
    title=attr-input-type><a href="#type12">type</a></code> attribute is in
    the <a href="#text2" title=attr-input-type-text>Text</a> state, the
-   following attributes must not be specified and do not apply: <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-max>max</code>, <code class=no-backref
+   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-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
@@ -28801,6 +28861,19 @@
    href="#enctype">enctype</a></code>, and <code class=no-backref
    title=attr-fs-action><a href="#action">action</a></code>.
 
+  <p>When an <code><a href="#input0">input</a></code> element's <code
+   title=attr-input-type><a href="#type12">type</a></code> attribute is in
+   the <a href="#text2" title=attr-input-type-text>Text</a> state, the
+   following DOM attributes and methods do not apply to the element: <code
+   class=no-backref title=dom-input-checked><a
+   href="#checked1">checked</a></code>, <code class=no-backref
+   title=dom-input-valueAsDate><a href="#valueasdate">valueAsDate</a></code>,
+   <code class=no-backref title=dom-input-valueAsNumber><a
+   href="#valueasnumber">valueAsNumber</a></code>, <code class=no-backref
+   title=dom-input-stepUp><a href="#stepup">stepUp()</a></code>, and <code
+   class=no-backref title=dom-input-stepDown><a
+   href="#stepdown">stepDown()</a></code>.
+
   <h6 id=password><span class=secno>4.9.4.1.2. </span><dfn id=password1
    title=attr-input-type-password>Password</dfn> state</h6>
 
@@ -28810,7 +28883,95 @@
    href="#password0">password</a></code>, it is in the <a href="#password1"
    title=attr-input-type-password>Password</a> state.
 
-  <p class=big-issue>...
+  <p>When an <code><a href="#input0">input</a></code> element's <code
+   title=attr-input-type><a href="#type12">type</a></code> attribute is in
+   the <a href="#password1" title=attr-input-type-password>Password</a>
+   state, the element represents a one line plain text edit control for the
+   element's <a href="#value12" title=concept-fe-value>value</a>. The user
+   agent should obscure the value so that people other than the user cannot
+   see it.
+
+  <p>If an <code><a href="#input0">input</a></code> element whose <code
+   title=attr-input-type><a href="#type12">type</a></code> attribute is in
+   the <a href="#password1" title=attr-input-type-password>Password</a> state
+   is <i title=concept-input-mutable><a href="#mutable">mutable</a></i>, its
+   <a href="#value12" title=concept-fe-value>value</a> 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 <a href="#value12"
+   title=concept-fe-value>value</a> of such <code><a
+   href="#input0">input</a></code> elements.
+
+  <p><strong>The <a href="#password1"
+   title=attr-input-type-password>Password</a> state's <a
+   href="#control0">control initialization algorithm</a> is as
+   follows:</strong> <a href="#strip">Strip line breaks from the value</a>.
+
+  <p><strong>The <a href="#password1"
+   title=attr-input-type-password>Password</a> state's <a
+   href="#default2">default value change algorithm</a> is as
+   follows:</strong> If the <code><a href="#input0">input</a></code> element
+   is not <i title=concept-input-dirty><a href="#dirty0">dirty</a></i> then
+   set the <a href="#value12" title=concept-fe-value>value</a> of the element
+   to the value of the <code title=attr-input-value><a
+   href="#value8">value</a></code> content attribute and <a
+   href="#strip">strip line breaks from the value</a>.
+
+  <p><strong>The <a href="#password1"
+   title=attr-input-type-password>Password</a> state's <a
+   href="#value10"><code title=dom-input-value>value</code> setter
+   algorithm</a> is as follows:</strong> Set the <a href="#value12"
+   title=concept-fe-value>value</a> of the element to the new value and <a
+   href="#strip">strip line breaks from the value</a>.
+
+  <p>When an <code><a href="#input0">input</a></code> element's <code
+   title=attr-input-type><a href="#type12">type</a></code> attribute is in
+   the <a href="#password1" title=attr-input-type-password>Password</a>
+   state, the following common <code><a href="#input0">input</a></code>
+   element content attributes apply to the element: <code
+   title=attr-input-autocomplete><a
+   href="#autocomplete0">autocomplete</a></code>, <code
+   title=attr-input-autofocus>autofocus</code>, <code
+   title=attr-input-inputmode>inputmode</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><a href="#input0">input</a></code> element's <code
+   title=attr-input-type><a href="#type12">type</a></code> attribute is in
+   the <a href="#password1" title=attr-input-type-password>Password</a>
+   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><a href="#target3">target</a></code>, <code
+   class=no-backref title=attr-fs-method><a href="#method">method</a></code>,
+   <code class=no-backref title=attr-fs-enctype><a
+   href="#enctype">enctype</a></code>, and <code class=no-backref
+   title=attr-fs-action><a href="#action">action</a></code>.
+
+  <p>When an <code><a href="#input0">input</a></code> element's <code
+   title=attr-input-type><a href="#type12">type</a></code> attribute is in
+   the <a href="#password1" title=attr-input-type-password>Password</a>
+   state, the following DOM attributes and methods do not apply to the
+   element: <code class=no-backref title=dom-input-checked><a
+   href="#checked1">checked</a></code>, <code class=no-backref
+   title=dom-input-list><a href="#list">list</a></code>, <code
+   class=no-backref title=dom-input-selectedOption><a
+   href="#selectedoption">selectedOption</a></code>, <code class=no-backref
+   title=dom-input-valueAsDate><a href="#valueasdate">valueAsDate</a></code>,
+   <code class=no-backref title=dom-input-valueAsNumber><a
+   href="#valueasnumber">valueAsNumber</a></code>, <code class=no-backref
+   title=dom-input-stepUp><a href="#stepup">stepUp()</a></code>, and <code
+   class=no-backref title=dom-input-stepDown><a
+   href="#stepdown">stepDown()</a></code>.
 
   <h6 id=e-mail><span class=secno>4.9.4.1.3. </span><dfn id=e-mail0
    title=attr-input-type-email>E-mail</dfn> state</h6>

Received on Thursday, 18 September 2008 11:00:10 UTC