[html5] r2240 - [e] (0) WF2: Rewrite the way we're doing these type='' sections so they're less [...]

whatwg at whatwg.org whatwg at whatwg.org
Thu Sep 25 04:01:23 PDT 2008


Author: ianh
Date: 2008-09-25 04:01:22 -0700 (Thu, 25 Sep 2008)
New Revision: 2240

Modified:
   index
   source
Log:
[e] (0) WF2: Rewrite the way we're doing these type='' sections so they're less babbly.

Modified: index
===================================================================
--- index	2008-09-25 10:47:16 UTC (rev 2239)
+++ index	2008-09-25 11:01:22 UTC (rev 2240)
@@ -29694,37 +29694,27 @@
    title=attr-input-type-text>Text</dfn> state</h6>
 
   <p>When an <code><a href="#input0">input</a></code> element's <code
-   title=attr-input-type><a href="#type14">type</a></code> attribute is
-   absent, has the value <code title=attr-input-type-text-keyword><a
-   href="#text2">text</a></code>, or has an invalid value, it is in the <a
-   href="#text3" title=attr-input-type-text>Text</a> state.
-
-  <p>When an <code><a href="#input0">input</a></code> element's <code
    title=attr-input-type><a href="#type14">type</a></code> attribute is in
-   the <a href="#text3" title=attr-input-type-text>Text</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 <a href="#text3" title=attr-input-type-text>Text</a> state, the rules
+   in this section apply.
 
-  <p>If an <code><a href="#input0">input</a></code> element whose <code
-   title=attr-input-type><a href="#type14">type</a></code> attribute is in
-   the <a href="#text3" title=attr-input-type-text>Text</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>The <code><a href="#input0">input</a></code> element represents a one
+   line plain text edit control for the element's <a href="#value12"
+   title=concept-fe-value>value</a>.
 
-  <p><strong>The <a href="#text3" title=attr-input-type-text>Text</a> state's
-   <a href="#value8">value sanitization algorithm</a> is as follows:</strong>
-   <a href="#strip">Strip line breaks from the value</a>.
+  <p>If the element 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 element's <a href="#value12"
+   title=concept-fe-value>value</a>.
 
-  <p>When an <code><a href="#input0">input</a></code> element's <code
-   title=attr-input-type><a href="#type14">type</a></code> attribute is in
-   the <a href="#text3" title=attr-input-type-text>Text</a> state, the
-   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
+  <p><strong>The <a href="#value8">value sanitization algorithm</a> is as
+   follows:</strong> <a href="#strip">Strip line breaks from the value</a>.
+
+  <p>The 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-list>list</code>, <code title=attr-input-maxlength><a
    href="#maxlength0">maxlength</a></code>, <code
@@ -29736,11 +29726,8 @@
    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="#type14">type</a></code> attribute is in
-   the <a href="#text3" title=attr-input-type-text>Text</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><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="#accept0">accept</a></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
@@ -29755,11 +29742,8 @@
    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="#type14">type</a></code> attribute is in
-   the <a href="#text3" 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
+  <p>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
@@ -29772,33 +29756,26 @@
    title=attr-input-type-email>E-mail</dfn> state</h6>
 
   <p>When an <code><a href="#input0">input</a></code> element's <code
-   title=attr-input-type><a href="#type14">type</a></code> attribute has the
-   value <code title=attr-input-type-email-keyword><a
-   href="#email">email</a></code>, it is in the <a href="#e-mail0"
-   title=attr-input-type-email>E-mail</a> state.
-
-  <p>When an <code><a href="#input0">input</a></code> element's <code
    title=attr-input-type><a href="#type14">type</a></code> attribute is in
    the <a href="#e-mail0" title=attr-input-type-email>E-mail</a> state, the
-   element represents a control for editing a single e-mail address given in
-   the element's <a href="#value12" title=concept-fe-value>value</a>.
+   rules in this section apply.
 
-  <p>If an <code><a href="#input0">input</a></code> element whose <code
-   title=attr-input-type><a href="#type14">type</a></code> attribute is in
-   the <a href="#e-mail0" title=attr-input-type-email>E-mail</a> state is <i
-   title=concept-input-mutable><a href="#mutable">mutable</a></i>, the user
-   should allow the user to change the e-mail address represented by its <a
-   href="#value12" title=concept-fe-value>value</a>. User agents may allow
-   the user to set the <a href="#value12" title=concept-fe-value>value</a> to
-   a string that is not an e-mail address. User agents should allow the user
-   to set the <a href="#value12" title=concept-fe-value>value</a> to the
-   empty string. 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>The <code><a href="#input0">input</a></code> element represents a
+   control for editing a single e-mail address given in the element's <a
+   href="#value12" title=concept-fe-value>value</a>.
 
-  <p><strong>The <a href="#e-mail0" title=attr-input-type-email>E-mail</a>
-   state's <a href="#value8">value sanitization algorithm</a> is as
+  <p>If the element is <i title=concept-input-mutable><a
+   href="#mutable">mutable</a></i>, the user should allow the user to change
+   the e-mail address represented by its <a href="#value12"
+   title=concept-fe-value>value</a>. User agents may allow the user to set
+   the <a href="#value12" title=concept-fe-value>value</a> to a string that
+   is not an e-mail address. User agents should allow the user to set the <a
+   href="#value12" title=concept-fe-value>value</a> to the empty string. 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>.
+
+  <p><strong>The <a href="#value8">value sanitization algorithm</a> is as
    follows:</strong> <a href="#strip">Strip line breaks from the value</a>.
 
   <p><strong>Constraint validation:</strong> While the <a href="#value12"
@@ -29810,12 +29787,9 @@
    href="#suffering">suffering from a type mismatch</a>. <a
    href="#refsRFC2822">[RFC2822]</a>
 
-  <p>When an <code><a href="#input0">input</a></code> element's <code
-   title=attr-input-type><a href="#type14">type</a></code> attribute is in
-   the <a href="#e-mail0" title=attr-input-type-email>E-mail</a> state, the
-   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
+  <p>The 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-list>list</code>, <code title=attr-input-maxlength><a
    href="#maxlength0">maxlength</a></code>, <code
@@ -29827,11 +29801,8 @@
    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="#type14">type</a></code> attribute is in
-   the <a href="#e-mail0" title=attr-input-type-email>E-mail</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><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="#accept0">accept</a></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
@@ -29846,11 +29817,8 @@
    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="#type14">type</a></code> attribute is in
-   the <a href="#e-mail0" title=attr-input-type-email>E-mail</a> state, the
-   following DOM attributes and methods do not apply to the element: <code
-   class=no-backref title=dom-input-checked><a
+  <p>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
@@ -29863,46 +29831,36 @@
    title=attr-input-type-url>URL</dfn> state</h6>
 
   <p>When an <code><a href="#input0">input</a></code> element's <code
-   title=attr-input-type><a href="#type14">type</a></code> attribute has the
-   value <code title=attr-input-type-url-keyword><a
-   href="#url1">url</a></code>, it is in the <a href="#url2"
-   title=attr-input-type-url>URL</a> state.
-
-  <p>When an <code><a href="#input0">input</a></code> element's <code
    title=attr-input-type><a href="#type14">type</a></code> attribute is in
-   the <a href="#url2" title=attr-input-type-url>URL</a> state, the element
-   represents a control for editing a single <a href="#url">URL</a> given in
-   the element's <a href="#value12" title=concept-fe-value>value</a>.
+   the <a href="#url2" title=attr-input-type-url>URL</a> state, the rules in
+   this section apply.
 
-  <p>If an <code><a href="#input0">input</a></code> element whose <code
-   title=attr-input-type><a href="#type14">type</a></code> attribute is in
-   the <a href="#url2" title=attr-input-type-url>URL</a> state is <i
-   title=concept-input-mutable><a href="#mutable">mutable</a></i>, the user
-   should allow the user to change the URL represented by its <a
-   href="#value12" title=concept-fe-value>value</a>. User agents may allow
-   the user to set the <a href="#value12" title=concept-fe-value>value</a> to
-   a string that is not a <span>value URL</span>. User agents should allow
-   the user to set the <a href="#value12" title=concept-fe-value>value</a> to
-   the empty string. 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>The <code><a href="#input0">input</a></code> element represents a
+   control for editing a single <a href="#url">URL</a> given in the element's
+   <a href="#value12" title=concept-fe-value>value</a>.
 
-  <p><strong>The <a href="#url2" title=attr-input-type-url>URL</a> state's <a
-   href="#value8">value sanitization algorithm</a> is as follows:</strong> <a
-   href="#strip">Strip line breaks from the value</a>.
+  <p>If the is <i title=concept-input-mutable><a
+   href="#mutable">mutable</a></i>, the user should allow the user to change
+   the URL represented by its <a href="#value12"
+   title=concept-fe-value>value</a>. User agents may allow the user to set
+   the <a href="#value12" title=concept-fe-value>value</a> to a string that
+   is not a <span>value URL</span>. User agents should allow the user to set
+   the <a href="#value12" title=concept-fe-value>value</a> to the empty
+   string. 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>.
 
+  <p><strong>The <a href="#value8">value sanitization algorithm</a> is as
+   follows:</strong> <a href="#strip">Strip line breaks from the value</a>.
+
   <p><strong>Constraint validation:</strong> While the <a href="#value12"
    title=concept-fe-value>value</a> of the element is not a <a
    href="#valid9">valid URL</a>, the element is <a
    href="#suffering">suffering from a type mismatch</a>.
 
-  <p>When an <code><a href="#input0">input</a></code> element's <code
-   title=attr-input-type><a href="#type14">type</a></code> attribute is in
-   the <a href="#url2" title=attr-input-type-url>URL</a> state, the 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
+  <p>The 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-list>list</code>, <code title=attr-input-maxlength><a
    href="#maxlength0">maxlength</a></code>, <code
@@ -29914,11 +29872,8 @@
    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="#type14">type</a></code> attribute is in
-   the <a href="#url2" title=attr-input-type-url>URL</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><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="#accept0">accept</a></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
@@ -29933,11 +29888,8 @@
    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="#type14">type</a></code> attribute is in
-   the <a href="#url2" title=attr-input-type-url>URL</a> state, the following
-   DOM attributes and methods do not apply to the element: <code
-   class=no-backref title=dom-input-checked><a
+  <p>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
@@ -29950,39 +29902,27 @@
    title=attr-input-type-password>Password</dfn> state</h6>
 
   <p>When an <code><a href="#input0">input</a></code> element's <code
-   title=attr-input-type><a href="#type14">type</a></code> attribute has the
-   value <code title=attr-input-type-password-keyword><a
-   href="#password0">password</a></code>, it is in the <a href="#password1"
-   title=attr-input-type-password>Password</a> state.
-
-  <p>When an <code><a href="#input0">input</a></code> element's <code
    title=attr-input-type><a href="#type14">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.
+   state, the rules in this section apply.
 
-  <p>If an <code><a href="#input0">input</a></code> element whose <code
-   title=attr-input-type><a href="#type14">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>The <code><a href="#input0">input</a></code> 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><strong>The <a href="#password1"
-   title=attr-input-type-password>Password</a> state's <a
-   href="#value8">value sanitization algorithm</a> is as follows:</strong> <a
-   href="#strip">Strip line breaks from the value</a>.
+  <p>If the element 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>.
 
-  <p>When an <code><a href="#input0">input</a></code> element's <code
-   title=attr-input-type><a href="#type14">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
+  <p><strong>The <a href="#value8">value sanitization algorithm</a> is as
+   follows:</strong> <a href="#strip">Strip line breaks from the value</a>.
+
+  <p>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-maxlength><a href="#maxlength0">maxlength</a></code>,
@@ -29991,11 +29931,8 @@
    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="#type14">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><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="#accept0">accept</a></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
@@ -30011,11 +29948,8 @@
    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="#type14">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
+  <p>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
@@ -30031,24 +29965,17 @@
    title=attr-input-type-datetime>Date and Time</dfn> state</h6>
 
   <p>When an <code><a href="#input0">input</a></code> element's <code
-   title=attr-input-type><a href="#type14">type</a></code> attribute has the
-   value <code title=attr-input-type-datetime-keyword><a
-   href="#datetime3">datetime</a></code>, it is in the <a href="#date-and0"
-   title=attr-input-type-datetime>Date and Time</a> state.
-
-  <p>When an <code><a href="#input0">input</a></code> element's <code
    title=attr-input-type><a href="#type14">type</a></code> attribute is in
    the <a href="#date-and0" title=attr-input-type-datetime>Date and Time</a>
-   state, the element represents a control for setting the element's <a
-   href="#value12" title=concept-fe-value>value</a> to a string representing
-   a specific <a href="#utc-date">UTC date and time</a>. User agents may
-   display the date and time in whatever timezone is appropriate for the
-   user.
+   state, the rules in this section apply.
 
-  <p>If an <code><a href="#input0">input</a></code> element whose <code
-   title=attr-input-type><a href="#type14">type</a></code> attribute is in
-   the <a href="#date-and0" title=attr-input-type-datetime>Date and Time</a>
-   state is <i title=concept-input-mutable><a
+  <p>The <code><a href="#input0">input</a></code> element represents a
+   control for setting the element's <a href="#value12"
+   title=concept-fe-value>value</a> to a string representing a specific <a
+   href="#utc-date">UTC date and time</a>. User agents may display the date
+   and time in whatever timezone is appropriate for the user.
+
+  <p>If the element is <i title=concept-input-mutable><a
    href="#mutable">mutable</a></i>, the user should allow the user to change
    the date and time represented by its <a href="#value12"
    title=concept-fe-value>value</a>, as obtained by <a href="#parse0"
@@ -30062,8 +29989,7 @@
    should allow the user to set the <a href="#value12"
    title=concept-fe-value>value</a> to the empty string.
 
-  <p><strong>The <a href="#date-and0" title=attr-input-type-datetime>Date and
-   Time</a> state's <a href="#value8">value sanitization algorithm</a> is as
+  <p><strong>The <a href="#value8">value sanitization algorithm</a> is as
    follows:</strong> If the <a href="#value12"
    title=concept-fe-value>value</a> of the element is not a <a
    href="#valid6">valid UTC date and time</a>, then set it to the empty
@@ -30076,14 +30002,11 @@
    which case there is no <a href="#selected"
    title=concept-input-value-datetime>selected UTC date and time</a>.
 
-  <p class=big-issue><strong>The <a href="#date-and0"
-   title=attr-input-type-datetime>Date and Time</a> state's <a
-   href="#valueasdate1"><code title=dom-input-valueAsDate>valueAsDate</code>
-   setter algorithm</a> is as follows:</strong> ...
+  <p class=big-issue><strong>The <a href="#valueasdate1"><code
+   title=dom-input-valueAsDate>valueAsDate</code> setter algorithm</a> is as
+   follows:</strong> ...
 
-  <p class=big-issue><strong>The <a href="#date-and0"
-   title=attr-input-type-datetime>Date and Time</a> state's <a
-   href="#valueasnumber1"><code
+  <p class=big-issue><strong>The <a href="#valueasnumber1"><code
    title=dom-input-valueAsNumber>valueAsNumber</code> setter algorithm</a> is
    as follows:</strong> ...
 
@@ -30120,12 +30043,9 @@
   <p class=big-issue>... <code title=attr-input-step><a
    href="#step0">step</a></code>
 
-  <p>When an <code><a href="#input0">input</a></code> element's <code
-   title=attr-input-type><a href="#type14">type</a></code> attribute is in
-   the <a href="#date-and0" title=attr-input-type-datetime>Date and Time</a>
-   state, the 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
+  <p>The 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-list>list</code>, <code title=attr-input-max><a
    href="#max4">max</a></code>, <code title=attr-input-min><a
@@ -30143,11 +30063,8 @@
    title=dom-input-stepDown><a href="#stepdown">stepDown()</a></code> DOM
    attributes.
 
-  <p>When an <code><a href="#input0">input</a></code> element's <code
-   title=attr-input-type><a href="#type14">type</a></code> attribute is in
-   the <a href="#date-and0" title=attr-input-type-datetime>Date and Time</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><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="#accept0">accept</a></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
@@ -30161,10 +30078,7 @@
    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="#type14">type</a></code> attribute is in
-   the <a href="#date-and0" title=attr-input-type-datetime>Date and Time</a>
-   state, the <code class=no-backref title=dom-input-checked><a
+  <p>The <code class=no-backref title=dom-input-checked><a
    href="#checked1">checked</a></code> DOM attribute does not apply to the
    element.
 
@@ -30172,11 +30086,9 @@
    title=attr-input-type-datetime-local>Local Date and Time</dfn> state</h6>
 
   <p>When an <code><a href="#input0">input</a></code> element's <code
-   title=attr-input-type><a href="#type14">type</a></code> attribute has the
-   value <code title=attr-input-type-datetime-local-keyword><a
-   href="#datetime-local">datetime-local</a></code>, it is in the <a
-   href="#local0" title=attr-input-type-datetime-local>Local Date and
-   Time</a> state.
+   title=attr-input-type><a href="#type14">type</a></code> attribute is in
+   the <a href="#local0" title=attr-input-type-datetime-local>Local Date and
+   Time</a> state, the rules in this section apply.
 
   <p class=big-issue>...
 
@@ -30184,10 +30096,9 @@
    title=attr-input-type-date>Date</dfn> state</h6>
 
   <p>When an <code><a href="#input0">input</a></code> element's <code
-   title=attr-input-type><a href="#type14">type</a></code> attribute has the
-   value <code title=attr-input-type-date-keyword><a
-   href="#date1">date</a></code>, it is in the <a href="#date2"
-   title=attr-input-type-date>Date</a> state.
+   title=attr-input-type><a href="#type14">type</a></code> attribute is in
+   the <a href="#date2" title=attr-input-type-date>Date</a> state, the rules
+   in this section apply.
 
   <p class=big-issue>...
 
@@ -30195,10 +30106,9 @@
    title=attr-input-type-month>Month</dfn> state</h6>
 
   <p>When an <code><a href="#input0">input</a></code> element's <code
-   title=attr-input-type><a href="#type14">type</a></code> attribute has the
-   value <code title=attr-input-type-month-keyword><a
-   href="#month0">month</a></code>, it is in the <a href="#month1"
-   title=attr-input-type-month>Month</a> state.
+   title=attr-input-type><a href="#type14">type</a></code> attribute is in
+   the <a href="#month1" title=attr-input-type-month>Month</a> state, the
+   rules in this section apply.
 
   <p class=big-issue>...
 
@@ -30206,10 +30116,9 @@
    title=attr-input-type-week>Week</dfn> state</h6>
 
   <p>When an <code><a href="#input0">input</a></code> element's <code
-   title=attr-input-type><a href="#type14">type</a></code> attribute has the
-   value <code title=attr-input-type-week-keyword><a
-   href="#week">week</a></code>, it is in the <a href="#week0"
-   title=attr-input-type-week>Week</a> state.
+   title=attr-input-type><a href="#type14">type</a></code> attribute is in
+   the <a href="#week0" title=attr-input-type-week>Week</a> state, the rules
+   in this section apply.
 
   <p class=big-issue>...
 
@@ -30217,10 +30126,9 @@
    title=attr-input-type-time>Time</dfn> state</h6>
 
   <p>When an <code><a href="#input0">input</a></code> element's <code
-   title=attr-input-type><a href="#type14">type</a></code> attribute has the
-   value <code title=attr-input-type-time-keyword><a
-   href="#time2">time</a></code>, it is in the <a href="#time3"
-   title=attr-input-type-time>Time</a> state.
+   title=attr-input-type><a href="#type14">type</a></code> attribute is in
+   the <a href="#time3" title=attr-input-type-time>Time</a> state, the rules
+   in this section apply.
 
   <p class=big-issue>...
 
@@ -30228,10 +30136,9 @@
    title=attr-input-type-number>Number</dfn> state</h6>
 
   <p>When an <code><a href="#input0">input</a></code> element's <code
-   title=attr-input-type><a href="#type14">type</a></code> attribute has the
-   value <code title=attr-input-type-number-keyword><a
-   href="#number1">number</a></code>, it is in the <a href="#number2"
-   title=attr-input-type-number>Number</a> state.
+   title=attr-input-type><a href="#type14">type</a></code> attribute is in
+   the <a href="#number2" title=attr-input-type-number>Number</a> state, the
+   rules in this section apply.
 
   <p class=big-issue>...
 
@@ -30239,10 +30146,9 @@
    title=attr-input-type-range>Range</dfn> state</h6>
 
   <p>When an <code><a href="#input0">input</a></code> element's <code
-   title=attr-input-type><a href="#type14">type</a></code> attribute has the
-   value <code title=attr-input-type-range-keyword><a
-   href="#range0">range</a></code>, it is in the <a href="#range1"
-   title=attr-input-type-range>Range</a> state.
+   title=attr-input-type><a href="#type14">type</a></code> attribute is in
+   the <a href="#range1" title=attr-input-type-range>Range</a> state, the
+   rules in this section apply.
 
   <p class=big-issue>...
 
@@ -30250,10 +30156,9 @@
    title=attr-input-type-checkbox>Checkbox</dfn> state</h6>
 
   <p>When an <code><a href="#input0">input</a></code> element's <code
-   title=attr-input-type><a href="#type14">type</a></code> attribute has the
-   value <code title=attr-input-type-checkbox-keyword><a
-   href="#checkbox0">checkbox</a></code>, it is in the <a href="#checkbox1"
-   title=attr-input-type-checkbox>Checkbox</a> state.
+   title=attr-input-type><a href="#type14">type</a></code> attribute is in
+   the <a href="#checkbox1" title=attr-input-type-checkbox>Checkbox</a>
+   state, the rules in this section apply.
 
   <p class=big-issue>...
 
@@ -30264,10 +30169,9 @@
    title=attr-input-type-radio>Radio Button</dfn> state</h6>
 
   <p>When an <code><a href="#input0">input</a></code> element's <code
-   title=attr-input-type><a href="#type14">type</a></code> attribute has the
-   value <code title=attr-input-type-radio-keyword><a
-   href="#radio0">radio</a></code>, it is in the <a href="#radio1"
-   title=attr-input-type-radio>Radio Button</a> state.
+   title=attr-input-type><a href="#type14">type</a></code> attribute is in
+   the <a href="#radio1" title=attr-input-type-radio>Radio Button</a> state,
+   the rules in this section apply.
 
   <p class=big-issue>...
 
@@ -30278,10 +30182,9 @@
    title=attr-input-type-file>File</dfn> state</h6>
 
   <p>When an <code><a href="#input0">input</a></code> element's <code
-   title=attr-input-type><a href="#type14">type</a></code> attribute has the
-   value <code title=attr-input-type-file-keyword><a
-   href="#file">file</a></code>, it is in the <a href="#file0"
-   title=attr-input-type-file>File</a> state.
+   title=attr-input-type><a href="#type14">type</a></code> attribute is in
+   the <a href="#file0" title=attr-input-type-file>File</a> state, the rules
+   in this section apply.
 
   <p class=big-issue>...
 
@@ -30323,10 +30226,9 @@
    title=attr-input-type-hidden>Hidden</dfn> state</h6>
 
   <p>When an <code><a href="#input0">input</a></code> element's <code
-   title=attr-input-type><a href="#type14">type</a></code> attribute has the
-   value <code title=attr-input-type-hidden-keyword><a
-   href="#hidden0">hidden</a></code>, it is in the <a href="#hidden1"
-   title=attr-input-type-hidden>Hidden</a> state.
+   title=attr-input-type><a href="#type14">type</a></code> attribute is in
+   the <a href="#hidden1" title=attr-input-type-hidden>Hidden</a> state, the
+   rules in this section apply.
 
   <p class=big-issue>...
 
@@ -30340,10 +30242,9 @@
    title=attr-input-type-submit>Submit Button</dfn> state</h6>
 
   <p>When an <code><a href="#input0">input</a></code> element's <code
-   title=attr-input-type><a href="#type14">type</a></code> attribute has the
-   value <code title=attr-input-type-submit-keyword><a
-   href="#submit1">submit</a></code>, it is in the <a href="#submit2"
-   title=attr-input-type-submit>Submit Button</a> state.
+   title=attr-input-type><a href="#type14">type</a></code> attribute is in
+   the <a href="#submit2" title=attr-input-type-submit>Submit Button</a>
+   state, the rules in this section apply.
 
   <p class=big-issue>...</p>
   <!--XXX
@@ -30354,10 +30255,9 @@
    title=attr-input-type-image>Image Button</dfn> state</h6>
 
   <p>When an <code><a href="#input0">input</a></code> element's <code
-   title=attr-input-type><a href="#type14">type</a></code> attribute has the
-   value <code title=attr-input-type-image-keyword><a
-   href="#image4">image</a></code>, it is in the <a href="#image5"
-   title=attr-input-type-image>Image Button</a> state.
+   title=attr-input-type><a href="#type14">type</a></code> attribute is in
+   the <a href="#image5" title=attr-input-type-image>Image Button</a> state,
+   the rules in this section apply.
 
   <p class=big-issue>...
 
@@ -30368,10 +30268,9 @@
    title=attr-input-type-reset>Reset Button</dfn> state</h6>
 
   <p>When an <code><a href="#input0">input</a></code> element's <code
-   title=attr-input-type><a href="#type14">type</a></code> attribute has the
-   value <code title=attr-input-type-reset-keyword><a
-   href="#reset1">reset</a></code>, it is in the <a href="#reset2"
-   title=attr-input-type-reset>Reset Button</a> state.
+   title=attr-input-type><a href="#type14">type</a></code> attribute is in
+   the <a href="#reset2" title=attr-input-type-reset>Reset Button</a> state,
+   the rules in this section apply.
 
   <p class=big-issue>...
 
@@ -30385,10 +30284,9 @@
    title=attr-input-type-button>Button</dfn> state</h6>
 
   <p>When an <code><a href="#input0">input</a></code> element's <code
-   title=attr-input-type><a href="#type14">type</a></code> attribute has the
-   value <code title=attr-input-type-button-keyword><a
-   href="#button0">button</a></code>, it is in the <a href="#button1"
-   title=attr-input-type-button>Button</a> state.
+   title=attr-input-type><a href="#type14">type</a></code> attribute is in
+   the <a href="#button1" title=attr-input-type-button>Button</a> state, the
+   rules in this section apply.
 
   <p class=big-issue>...
 

Modified: source
===================================================================
--- source	2008-09-25 10:47:16 UTC (rev 2239)
+++ source	2008-09-25 11:01:22 UTC (rev 2240)
@@ -26191,40 +26191,31 @@
 
 
 
+
   <h5>States of the <code title="attr-input-type">type</code> attribute</h5>
 
   <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 absent, has the value <code title="attr-input-type-text-keyword">text</code>,
-  or has an invalid value, it is in the <span
-  title="attr-input-type-text">Text</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-text">Text</span> state, the element
-  represents a one line plain text edit control for the element's
-  <span title="concept-fe-value">value</span>.</p>
+  title="attr-input-type-text">Text</span> state, the rules in this
+  section apply.</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-text">Text</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>The <code>input</code> element represents a one line plain text
+  edit control for the element's <span
+  title="concept-fe-value">value</span>.</p>
 
-  <p><strong>The <span title="attr-input-type-text">Text</span>
-  state's <span>value sanitization algorithm</span> is as
+  <p>If the element 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
+  element's <span title="concept-fe-value">value</span>.</p>
+
+  <p><strong>The <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-text">Text</span> state, the following common
-  <code>input</code> element content attributes, DOM attributes, and
-  methods apply to the element:
+  <p>The following common <code>input</code> element content
+  attributes, DOM attributes, and methods apply to the element:
   <code title="attr-input-autocomplete">autocomplete</code>,
   <code title="attr-input-list">list</code>,
   <code title="attr-input-maxlength">maxlength</code>,
@@ -26235,11 +26226,8 @@
   <code title="dom-input-list">list</code>, and
   <code title="dom-input-selectedOption">selectedOption</code> DOM attributes.
 
-  <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 following
-  content attributes must not be specified and do not apply to the
-  element:
+  <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-input-alt">alt</code>,
   <code class="no-backref" title="attr-input-checked">checked</code>,
@@ -26252,10 +26240,8 @@
   <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-text">Text</span> state, the following DOM
-  attributes and methods do not apply to the element:
+  <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-valueAsDate">valueAsDate</code>,
   <code class="no-backref" title="dom-input-valueAsNumber">valueAsNumber</code>,
@@ -26266,32 +26252,27 @@
 
   <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>
-  attribute has the value <code title="attr-input-type-email-keyword">email</code>,
-  it is in the <span title="attr-input-type-email">E-mail</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-email">E-mail</span> state, the element
-  represents a control for editing a single e-mail address given in
-  the element's <span title="concept-fe-value">value</span>.</p>
+  title="attr-input-type-email">E-mail</span> state, the rules in this
+  section apply.</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-email">E-mail</span> state is <i
-  title="concept-input-mutable">mutable</i>, the user should allow the
-  user to change the e-mail address represented by its <span
-  title="concept-fe-value">value</span>. User agents may allow the
-  user to set the <span title="concept-fe-value">value</span> to a
-  string that is not an e-mail address. User agents should allow the
-  user to set the <span title="concept-fe-value">value</span> to the
-  empty string. 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>The <code>input</code> element represents a control for editing a
+  single e-mail address given in the element's <span
+  title="concept-fe-value">value</span>.</p>
 
-  <p><strong>The <span title="attr-input-type-email">E-mail</span>
-  state's <span>value sanitization algorithm</span> is as
+  <p>If the element is <i title="concept-input-mutable">mutable</i>,
+  the user should allow the user to change the e-mail address
+  represented by its <span title="concept-fe-value">value</span>. User
+  agents may allow the user to set the <span
+  title="concept-fe-value">value</span> to a string that is not an
+  e-mail address. User agents should allow the user to set the <span
+  title="concept-fe-value">value</span> to the empty string. 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>.</p>
+
+  <p><strong>The <span>value sanitization algorithm</span> is as
   follows:</strong> <span>Strip line breaks from the value</span>.</p>
 
   <p><strong>Constraint validation:</strong> While the <span
@@ -26303,11 +26284,8 @@
   from a type mismatch</span>. <a
   href="#refsRFC2822">[RFC2822]</a></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-email">E-mail</span> state, the following common
-  <code>input</code> element content attributes, DOM attributes, and
-  methods apply to the element:
+  <p>The following common <code>input</code> element content
+  attributes, DOM attributes, and methods apply to the element:
   <code title="attr-input-autocomplete">autocomplete</code>,
   <code title="attr-input-list">list</code>,
   <code title="attr-input-maxlength">maxlength</code>,
@@ -26318,11 +26296,8 @@
   <code title="dom-input-list">list</code>, and
   <code title="dom-input-selectedOption">selectedOption</code> DOM attributes.
 
-  <p>When an <code>input</code> element's <code
-  title="attr-input-type">type</code> attribute is in the <span
-  title="attr-input-type-email">E-mail</span> state, the following
-  content attributes must not be specified and do not apply to the
-  element:
+  <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-input-alt">alt</code>,
   <code class="no-backref" title="attr-input-checked">checked</code>,
@@ -26335,10 +26310,8 @@
   <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-email">E-mail</span> state, the following DOM
-  attributes and methods do not apply to the element:
+  <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-valueAsDate">valueAsDate</code>,
   <code class="no-backref" title="dom-input-valueAsNumber">valueAsNumber</code>,
@@ -26349,21 +26322,17 @@
 
   <h6><dfn title="attr-input-type-url">URL</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-url-keyword">url</code>,
-  it is in the <span title="attr-input-type-url">URL</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-url">URL</span> state, the element represents
-  a control for editing a single <span>URL</span> given in the
-  element's <span title="concept-fe-value">value</span>.</p>
+  title="attr-input-type-url">URL</span> state, the rules in this
+  section apply.</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-url">URL</span> state is <i
-  title="concept-input-mutable">mutable</i>, the user should allow the
-  user to change the URL represented by its <span
+  <p>The <code>input</code> element represents a control for editing a
+  single <span>URL</span> given in the element's <span
+  title="concept-fe-value">value</span>.</p>
+
+  <p>If the is <i title="concept-input-mutable">mutable</i>, the user
+  should allow the user to change the URL represented by its <span
   title="concept-fe-value">value</span>. User agents may allow the
   user to set the <span title="concept-fe-value">value</span> to a
   string that is not a <span>value URL</span>. User agents should
@@ -26371,24 +26340,18 @@
   title="concept-fe-value">value</span> to the empty string. 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>
+  title="concept-fe-value">value</span>.</p>
 
-  <p><strong>The <span title="attr-input-type-url">URL</span>
-  state's <span>value sanitization algorithm</span> is as
-  follows:</strong> <span>Strip line breaks from the
-  value</span>.</p>
+  <p><strong>The <span>value sanitization algorithm</span> is as
+  follows:</strong> <span>Strip line breaks from the value</span>.</p>
 
   <p><strong>Constraint validation:</strong> While the <span
   title="concept-fe-value">value</span> of the element is not a
   <span>valid URL</span>, the element is <span>suffering from a type
   mismatch</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-url">URL</span> state, the following common
-  <code>input</code> element content attributes, DOM attributes, and
-  methods apply to the element:
+  <p>The following common <code>input</code> element content
+  attributes, DOM attributes, and methods apply to the element:
   <code title="attr-input-autocomplete">autocomplete</code>,
   <code title="attr-input-list">list</code>,
   <code title="attr-input-maxlength">maxlength</code>,
@@ -26399,11 +26362,8 @@
   <code title="dom-input-list">list</code>, and
   <code title="dom-input-selectedOption">selectedOption</code> DOM attributes.
 
-  <p>When an <code>input</code> element's <code
-  title="attr-input-type">type</code> attribute is in the <span
-  title="attr-input-type-url">URL</span> state, the following
-  content attributes must not be specified and do not apply to the
-  element:
+  <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-input-alt">alt</code>,
   <code class="no-backref" title="attr-input-checked">checked</code>,
@@ -26416,10 +26376,8 @@
   <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-url">URL</span> state, the following DOM
-  attributes and methods do not apply to the element:
+  <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-valueAsDate">valueAsDate</code>,
   <code class="no-backref" title="dom-input-valueAsNumber">valueAsNumber</code>,
@@ -26430,38 +26388,27 @@
 
   <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>
+  title="attr-input-type-password">Password</span> state, the rules in
+  this section apply.</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>The <code>input</code> 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><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>If the element 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>.</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:
+  <p><strong>The <span>value sanitization algorithm</span> is as
+  follows:</strong> <span>Strip line breaks from the value</span>.</p>
+
+  <p>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>,
@@ -26469,11 +26416,8 @@
   <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:
+  <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-input-alt">alt</code>,
   <code class="no-backref" title="attr-input-checked">checked</code>,
@@ -26487,10 +26431,8 @@
   <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:
+  <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>,
@@ -26503,36 +26445,31 @@
 
   <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>
-  attribute has the value <code title="attr-input-type-datetime-keyword">datetime</code>,
-  it is in the <span title="attr-input-type-datetime">Date and Time</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-datetime">Date and Time</span> state, the
-  element represents a control for setting the element's <span
-  title="concept-fe-value">value</span> to a string representing a
-  specific <span>UTC date and time</span>. User agents may display the
-  date and time in whatever timezone is appropriate for the user.</p>
+  rules in this section apply.</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-datetime">Date and Time</span> state is <i
-  title="concept-input-mutable">mutable</i>, the user should allow the
-  user to change the date and time represented by its <span
-  title="concept-fe-value">value</span>, as obtained by <span
-  title="parse a UTC date and time">parsing a UTC date and time</span>
-  from it. User agents must not allow the user to set the <span
-  title="concept-fe-value">value</span> to a string that is not a
-  <span>valid UTC date and time</span>. If the user agent provides a
-  user interface for selecting a date and time, then the <span
-  title="concept-fe-value">value</span> must be set to a <span>valid
-  UTC date and time</span> representing the user's selection. User
-  agents should allow the user to set the <span
+  <p>The <code>input</code> element represents a control for setting
+  the element's <span title="concept-fe-value">value</span> to a
+  string representing a specific <span>UTC date and time</span>. User
+  agents may display the date and time in whatever timezone is
+  appropriate for the user.</p>
+
+  <p>If the element is <i title="concept-input-mutable">mutable</i>,
+  the user should allow the user to change the date and time
+  represented by its <span title="concept-fe-value">value</span>, as
+  obtained by <span title="parse a UTC date and time">parsing a UTC
+  date and time</span> from it. User agents must not allow the user to
+  set the <span title="concept-fe-value">value</span> to a string that
+  is not a <span>valid UTC date and time</span>. If the user agent
+  provides a user interface for selecting a date and time, then the
+  <span title="concept-fe-value">value</span> must be set to a
+  <span>valid UTC date and time</span> representing the user's
+  selection. User agents should allow the user to set the <span
   title="concept-fe-value">value</span> to the empty string.</p>
 
-  <p><strong>The <span title="attr-input-type-datetime">Date and
-  Time</span> state's <span>value sanitization algorithm</span> is as
+  <p><strong>The <span>value sanitization algorithm</span> is as
   follows:</strong> If the <span title="concept-fe-value">value</span>
   of the element is not a <span>valid UTC date and time</span>, then
   set it to the empty string instead.</p>
@@ -26544,15 +26481,13 @@
   case there is no <span title="concept-input-value-datetime">selected
   UTC date and time</span>.</p>
 
-  <p class="big-issue"><strong>The <span
-  title="attr-input-type-datetime">Date and Time</span> state's
-  <span><code title="dom-input-valueAsDate">valueAsDate</code> setter
+  <p class="big-issue"><strong>The <span><code
+  title="dom-input-valueAsDate">valueAsDate</code> setter
   algorithm</span> is as follows:</strong> ...</p>
 
-  <p class="big-issue"><strong>The <span
-  title="attr-input-type-datetime">Date and Time</span> state's
-  <span><code title="dom-input-valueAsNumber">valueAsNumber</code>
-  setter algorithm</span> is as follows:</strong> ...</p>
+  <p class="big-issue"><strong>The <span><code
+  title="dom-input-valueAsNumber">valueAsNumber</code> setter
+  algorithm</span> is as follows:</strong> ...</p>
 
   <p>The <code title="attr-input-min">min</code> attribute, if
   specified, must have a value that is a <span>valid UTC date and
@@ -26588,11 +26523,8 @@
 
   <p class="big-issue">... <code title="attr-input-step">step</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-datetime">Date and Time</span> state, the
-  following common <code>input</code> element content attributes, DOM
-  attributes, and methods apply to the element:
+  <p>The following common <code>input</code> element content
+  attributes, DOM attributes, and methods apply to the element:
   <code title="attr-input-autocomplete">autocomplete</code>,
   <code title="attr-input-list">list</code>,
   <code title="attr-input-max">max</code>,
@@ -26607,11 +26539,8 @@
   <code title="dom-input-stepUp">stepUp()</code>, and
   <code title="dom-input-stepDown">stepDown()</code> DOM attributes.</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-datetime">Date and Time</span> state, the
-  following content attributes must not be specified and do not apply
-  to the element:
+  <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-input-alt">alt</code>,
   <code class="no-backref" title="attr-input-checked">checked</code>,
@@ -26624,9 +26553,7 @@
   <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-datetime">Date and Time</span> state, the
+  <p>The
   <code class="no-backref" title="dom-input-checked">checked</code>
   DOM attribute does not apply to the element.</p>
 
@@ -26634,9 +26561,10 @@
 
   <h6><dfn title="attr-input-type-datetime-local">Local Date and Time</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-datetime-local-keyword">datetime-local</code>,
-  it is in the <span title="attr-input-type-datetime-local">Local Date and Time</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-datetime-local">Local Date and Time</span>
+  state, the rules in this section apply.</p>
 
   <p class="big-issue">...</p>
 
@@ -26644,9 +26572,10 @@
 
   <h6><dfn title="attr-input-type-date">Date</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-date-keyword">date</code>,
-  it is in the <span title="attr-input-type-date">Date</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-date">Date</span> state, the rules in this
+  section apply.</p>
 
   <p class="big-issue">...</p>
 
@@ -26654,9 +26583,10 @@
 
   <h6><dfn title="attr-input-type-month">Month</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-month-keyword">month</code>,
-  it is in the <span title="attr-input-type-month">Month</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-month">Month</span> state, the rules in this
+  section apply.</p>
 
   <p class="big-issue">...</p>
 
@@ -26664,9 +26594,10 @@
 
   <h6><dfn title="attr-input-type-week">Week</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-week-keyword">week</code>,
-  it is in the <span title="attr-input-type-week">Week</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-week">Week</span> state, the rules in this
+  section apply.</p>
 
   <p class="big-issue">...</p>
 
@@ -26674,9 +26605,10 @@
 
   <h6><dfn title="attr-input-type-time">Time</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-time-keyword">time</code>,
-  it is in the <span title="attr-input-type-time">Time</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-time">Time</span> state, the rules in this
+  section apply.</p>
 
   <p class="big-issue">...</p>
 
@@ -26684,9 +26616,10 @@
 
   <h6><dfn title="attr-input-type-number">Number</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-number-keyword">number</code>,
-  it is in the <span title="attr-input-type-number">Number</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-number">Number</span> state, the rules in
+  this section apply.</p>
 
   <p class="big-issue">...</p>
 
@@ -26694,9 +26627,10 @@
 
   <h6><dfn title="attr-input-type-range">Range</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-range-keyword">range</code>,
-  it is in the <span title="attr-input-type-range">Range</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-range">Range</span> state, the rules in this
+  section apply.</p>
 
   <p class="big-issue">...</p>
 
@@ -26704,9 +26638,10 @@
 
   <h6><dfn title="attr-input-type-checkbox">Checkbox</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-checkbox-keyword">checkbox</code>,
-  it is in the <span title="attr-input-type-checkbox">Checkbox</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-checkbox">Checkbox</span> state, the rules in
+  this section apply.</p>
 
   <p class="big-issue">...</p>
 
@@ -26716,9 +26651,10 @@
 
   <h6><dfn title="attr-input-type-radio">Radio Button</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-radio-keyword">radio</code>,
-  it is in the <span title="attr-input-type-radio">Radio Button</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-radio">Radio Button</span> state, the rules
+  in this section apply.</p>
 
   <p class="big-issue">...</p>
 
@@ -26728,9 +26664,10 @@
 
   <h6><dfn title="attr-input-type-file">File</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-file-keyword">file</code>,
-  it is in the <span title="attr-input-type-file">File</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-file">File</span> state, the rules in this
+  section apply.</p>
 
   <p class="big-issue">...</p>
 
@@ -26762,8 +26699,9 @@
 
   </dl>
 
-  <p>The values must not be <span>ASCII case-insensitive</span> matches
-  for any of the other values (i.e. duplicates are not allowed).</p>
+  <p>The values must not be <span>ASCII case-insensitive</span>
+  matches for any of the other values (i.e. duplicates are not
+  allowed).</p>
 
   <!-- XXX the selected file(s) must either have the given types or be of the given category -->
 
@@ -26773,9 +26711,10 @@
 
   <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 has the value <code title="attr-input-type-hidden-keyword">hidden</code>,
-  it is in the <span title="attr-input-type-hidden">Hidden</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-hidden">Hidden</span> state, the rules in
+  this section apply.</p>
 
   <p class="big-issue">...</p>
 
@@ -26788,9 +26727,10 @@
 
   <h6><dfn title="attr-input-type-submit">Submit Button</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-submit-keyword">submit</code>,
-  it is in the <span title="attr-input-type-submit">Submit Button</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-submit">Submit Button</span> state, the rules
+  in this section apply.</p>
 
   <p class="big-issue">...</p>
 
@@ -26802,9 +26742,10 @@
 
   <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 has the value <code title="attr-input-type-image-keyword">image</code>,
-  it is in the <span title="attr-input-type-image">Image Button</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-image">Image Button</span> state, the rules
+  in this section apply.</p>
 
   <p class="big-issue">...</p>
 
@@ -26814,9 +26755,10 @@
 
   <h6><dfn title="attr-input-type-reset">Reset Button</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-reset-keyword">reset</code>,
-  it is in the <span title="attr-input-type-reset">Reset Button</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-reset">Reset Button</span> state, the rules
+  in this section apply.</p>
 
   <p class="big-issue">...</p>
 
@@ -26829,9 +26771,10 @@
 
   <h6><dfn title="attr-input-type-button">Button</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-button-keyword">button</code>,
-  it is in the <span title="attr-input-type-button">Button</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-button">Button</span> state, the rules in
+  this section apply.</p>
 
   <p class="big-issue">...</p>
 




More information about the Commit-Watchers mailing list