[html5] r3845 - [e] (0) Add a note about type=text vs type=search

whatwg at whatwg.org whatwg at whatwg.org
Mon Sep 14 04:22:07 PDT 2009


Author: ianh
Date: 2009-09-14 04:22:06 -0700 (Mon, 14 Sep 2009)
New Revision: 3845

Modified:
   index
   source
Log:
[e] (0) Add a note about type=text vs type=search

Modified: index
===================================================================
--- index	2009-09-14 11:03:33 UTC (rev 3844)
+++ index	2009-09-14 11:22:06 UTC (rev 3845)
@@ -32176,6 +32176,12 @@
   <p>The <code><a href=#the-input-element>input</a></code> element <a href=#represents>represents</a> a one line
   plain text edit control for the element's <a href=#concept-fe-value title=concept-fe-value>value</a>.</p>
 
+  <p class=note>The difference between the <a href=#text-state-and-search-state title=attr-input-type-text>Text</a> state and the <a href=#text-state-and-search-state title=attr-input-type-search>Search</a> state is primarily
+  stylistic: on platforms where search fields are distinguished from
+  regular text fields, the <a href=#text-state-and-search-state title=attr-input-type-search>Search</a> state might result in
+  an appearance consistent with the platform's search fields rather
+  than appearing like a regular text field.</p>
+
   <div class=impl>
 
   <p>If the element is <i title=concept-input-mutable><a href=#concept-input-mutable>mutable</a></i>,

Modified: source
===================================================================
--- source	2009-09-14 11:03:33 UTC (rev 3844)
+++ source	2009-09-14 11:22:06 UTC (rev 3845)
@@ -35726,6 +35726,15 @@
   plain text edit control for the element's <span
   title="concept-fe-value">value</span>.</p>
 
+  <p class="note">The difference between the <span
+  title="attr-input-type-text">Text</span> state and the <span
+  title="attr-input-type-search">Search</span> state is primarily
+  stylistic: on platforms where search fields are distinguished from
+  regular text fields, the <span
+  title="attr-input-type-search">Search</span> state might result in
+  an appearance consistent with the platform's search fields rather
+  than appearing like a regular text field.</p>
+
   <div class="impl">
 
   <p>If the element is <i title="concept-input-mutable">mutable</i>,




More information about the Commit-Watchers mailing list