html5/spec Overview.html,1.1693,1.1694

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv31814

Modified Files:
	Overview.html 
Log Message:
WF2: placeholder='' should strip newlines. (credit: hs) (whatwg r2523)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1693
retrieving revision 1.1694
diff -u -d -r1.1693 -r1.1694
--- Overview.html	2 Dec 2008 10:49:34 -0000	1.1693
+++ Overview.html	2 Dec 2008 10:57:23 -0000	1.1694
@@ -21895,10 +21895,11 @@
   intended to aid the user with data entry. A hint could be a sample
   value or a brief description of the expected format.<p class=note>For a longer hint or other advisory text, the <code title=attr-title><a href=#the-title-attribute>title</a></code> attribute is more appropriate.<p>The <code title=attr-input-placeholder><a href=#attr-input-placeholder>placeholder</a></code>
   attribute should not be used as an alternative to a
-  <code><a href=#the-label-element>label</a></code>.<p>User agents should present this hint to the user only when the
-  element's <a href=#concept-fe-value title=concept-fe-value>value</a> is the empty
-  string and the control is not focused (e.g. by displaying it inside
-  a blank unfocused control).<div class=example>
+  <code><a href=#the-label-element>label</a></code>.<p>User agents should present this hint to the user, after having
+  <a href=#strip-line-breaks title="strip line breaks">stripped line breaks</a> from it,
+  when the element's <a href=#concept-fe-value title=concept-fe-value>value</a> is
+  the empty string and the control is not focused (e.g. by displaying
+  it inside a blank unfocused control).<div class=example>
 
    <p>Here is an example of a mail configuration user interface that
    uses the <code title=attr-input-placeholder><a href=#attr-input-placeholder>placeholder</a></code>

Received on Tuesday, 2 December 2008 10:57:34 UTC