<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>18621</bug_id>
          
          <creation_ts>2012-08-19 08:15:40 +0000</creation_ts>
          <short_desc>4.10.7.3.12 The placeholder attribute The phrase &quot;when the element&apos;s value is the empty string and/or the control is not focused&quot; does not make sense with an the &quot;and/or&quot; option. The way Chrome has implemented this attribute is more appropriate.  This wou</short_desc>
          <delta_ts>2013-03-27 23:20:23 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NEEDSINFO</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#top</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>sgkim126</cc>
    
    <cc>simon</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>72413</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-08-19 08:15:40 +0000</bug_when>
    <thetext>Specification: http://dev.w3.org/html5/spec/single-page.html
Multipage: http://www.whatwg.org/C#top
Complete: http://www.whatwg.org/c#top

Comment:
4.10.7.3.12 The placeholder attribute

The phrase &quot;when the element&apos;s value is the empty string and/or the control is
not focused&quot; does not make sense with an the &quot;and/or&quot; option.

The way Chrome has implemented this attribute is more appropriate.  This would
result in the above phrase being changed to &quot;when the element&apos;s value is the
empty string&quot;.	ie. display the placeholder until such time that data is
entered into the input, regardless of focus.

I also disagree with the statement that the placeholder should not be used as
a replacement for a label.  On small displays it could be particularly useful
to use the space inside the control to display the label.

Posted from: 58.96.126.172
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.79 Safari/537.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76760</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-10-19 21:24:21 +0000</bug_when>
    <thetext>1. Why does it not make sense?

2. placeholder=&quot;&quot; can&apos;t be used as a replacement for label since it isn&apos;t visible when there&apos;s a value. That doesn&apos;t mean you must have a label; sometimes a form control is understandable even without a label. (The Google search UI has no label, for instance.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82251</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-01-29 01:27:10 +0000</bug_when>
    <thetext>simon@proatomic.com.au: please see comment 1, it would really help me out if you could let me know what the problem was with #1 and whether you disagree with #2. Thanks!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>