spec/Overview.html 1.1698 2527 WF2: Allow placeholder='' to be empty. N

WF2: Allow placeholder='' to be empty. No need to be overzealous in our
requirements. (credit: sp) (whatwg r2527)

4.10.4.2.11 The placeholder attribute
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1698.html#the-placeholder-attribute

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1697&r2=1.1698&f=h
http://html5.org/tools/web-apps-tracker?from=2526&to=2527

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1697
retrieving revision 1.1698
diff -u -d -r1.1697 -r1.1698
--- Overview.html 2 Dec 2008 11:33:36 -0000 1.1697
+++ Overview.html 2 Dec 2008 11:35:11 -0000 1.1698
@@ -21897,9 +21897,8 @@
   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. 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 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>
+  if specified, must have a value that contains no U+000A LINE FEED
+  (LF) or U+000D CARRIAGE RETURN (CR) characters.<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, after having
   <a href=#strip-line-breaks title="strip line breaks">stripped line breaks</a> from it,

Received on Tuesday, 2 December 2008 11:38:23 UTC