HTML Standard Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/2524

File a bug

SVNBugCommentTime (UTC)
2524WF2: placeholder='' must not contain newlines. (credit: hs)2008-12-02 10:59
Index: source
===================================================================
--- source	(revision 2523)
+++ source	(revision 2524)
@@ -30184,7 +30184,10 @@
   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>

|