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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>21286</bug_id>
          
          <creation_ts>2008-10-01 15:37:04 -0700</creation_ts>
          <short_desc>placeholder attribute should apply to all focusable nodes that take text input</short_desc>
          <delta_ts>2017-07-18 08:29:58 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>HTML Editing</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ojan Vafai">ojan</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>adele</cc>
    
    <cc>cmarcelo</cc>
    
    <cc>rniwa</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>93615</commentid>
    <comment_count>0</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2008-10-01 15:37:04 -0700</bug_when>
    <thetext>The ones that come to mind that are missing right now:
1. textareas
2. contentEditable nodes
3. the body element when designMode is on

In cases 2 and 3, it would be great if the placeholder text could be HTML and be CSS styleable.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93617</commentid>
    <comment_count>1</comment_count>
    <who name="Adele Peterson">adele</who>
    <bug_when>2008-10-01 15:41:05 -0700</bug_when>
    <thetext>Ojan and I talked about this earlier today.  I think this is a good idea, and could replace a lot of JS that web authors have to write to get this behavior.

We should consider reorganizing the code so that maybe HTMLInputElement, HTMLTextAreaElement, and other editable elements can inherit from some common class.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93619</commentid>
    <comment_count>2</comment_count>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2008-10-01 15:47:31 -0700</bug_when>
    <thetext>It&apos;s a good idea, but we really need to be proposing this to HTML5 before we extend placeholder further IMO.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>613963</commentid>
    <comment_count>3</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2012-05-01 22:01:10 -0700</bug_when>
    <thetext>I&apos;ve taken the liberty of posting this proposal on whatwg: http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2012-May/035615.html</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>