Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[] (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
Hixie committed Dec 2, 2008
1 parent 0594494 commit 6088056
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
9 changes: 5 additions & 4 deletions index
Expand Up @@ -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>

Expand Down
9 changes: 5 additions & 4 deletions source
Expand Up @@ -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">

Expand Down

0 comments on commit 6088056

Please sign in to comment.