Browse files

[] (0) WF2: placeholder='' should strip newlines. (credit: hs)

git-svn-id: http://svn.whatwg.org/webapps@2523 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
1 parent 0594494 commit 6088056cb223ca1ad8481c3d9aad5b514861e961 @Hixie Hixie committed Dec 2, 2008
Showing with 10 additions and 8 deletions.
  1. +5 −4 index
  2. +5 −4 source
View
9 index
@@ -26979,10 +26979,11 @@ You cannot complete this form until the field is correct.</samp></pre>
attribute should not be used as an alternative to a
<code><a href=#the-label-element>label</a></code>.</p>
- <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).</p>
+ <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).</p>
<div class=example>
View
9 source
@@ -30193,10 +30193,11 @@ You cannot complete this form until the field is correct.</samp></pre>
attribute should not be used as an alternative to a
<code>label</code>.</p>
- <p>User agents should present this hint to the user only when the
- element's <span title="concept-fe-value">value</span> is the empty
- string and the control is not focused (e.g. by displaying it inside
- a blank unfocused control).</p>
+ <p>User agents should present this hint to the user, after having
+ <span title="strip line breaks">stripped line breaks</span> from it,
+ when the element's <span title="concept-fe-value">value</span> is
+ the empty string and the control is not focused (e.g. by displaying
+ it inside a blank unfocused control).</p>
<div class="example">

0 comments on commit 6088056

Please sign in to comment.