Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[] (0) WF2: placeholder='' must not contain newlines. (credit: hs)
git-svn-id: http://svn.whatwg.org/webapps@2524 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Dec 2, 2008
1 parent 6088056 commit ee3a5de
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion index
Expand Up @@ -26971,7 +26971,10 @@ You cannot complete this form until the field is correct.</samp></pre>
<p>The <dfn id=attr-input-placeholder title=attr-input-placeholder><code>placeholder</code></dfn>
attribute represents a <em>short</em> hint (a word or short phrase)
intended to aid the user with data entry. A hint could be a sample
value or a brief description of the expected format.</p>
value or a brief description of the expected format. The attribute,
if specified, must have a value that is not the empty string and
that contains no U+000A LINE FEED (LF) or U+000D CARRIAGE RETURN
(CR) characters.</p>

<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>

Expand Down
5 changes: 4 additions & 1 deletion source
Expand Up @@ -30184,7 +30184,10 @@ You cannot complete this form until the field is correct.</samp></pre>
title="attr-input-placeholder"><code>placeholder</code></dfn>
attribute represents a <em>short</em> hint (a word or short phrase)
intended to aid the user with data entry. A hint could be a sample
value or a brief description of the expected format.</p>
value or a brief description of the expected format. The attribute,
if specified, must have a value that is not the empty string and
that contains no U+000A LINE FEED (LF) or U+000D CARRIAGE RETURN
(CR) characters.</p>

<p class="note">For a longer hint or other advisory text, the <code
title="attr-title">title</code> attribute is more appropriate.</p>
Expand Down

0 comments on commit ee3a5de

Please sign in to comment.