<?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>51290</bug_id>
          
          <creation_ts>2010-12-18 10:49:36 -0800</creation_ts>
          <short_desc>REGRESSION (r72052): Placeholder text does not wrap in a textarea</short_desc>
          <delta_ts>2011-09-09 18:45:35 -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>Forms</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://jsfiddle.net/6hb7g/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, Regression</keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>64253</dependson>
          <blocked>54402</blocked>
    
    <blocked>63927</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Irish">paulirish</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>adele</cc>
    
    <cc>bugzilla33</cc>
    
    <cc>darin</cc>
    
    <cc>dbates</cc>
    
    <cc>martin.wittemann</cc>
    
    <cc>ossy</cc>
    
    <cc>stefan</cc>
    
    <cc>tal.bourguignon</cc>
    
    <cc>tkent</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>324119</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Irish">paulirish</who>
    <bug_when>2010-12-18 10:49:36 -0800</bug_when>
    <thetext>When using &lt;textarea placeholder=&quot;long long value which ...&quot;&gt; the text does not wrap.

The spec isn&apos;t very clear about correct handling of line-wrapping, but I can&apos;t imagine this is correct behavior.

Test case: http://jsfiddle.net/6hb7g/o</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>324191</commentid>
    <comment_count>1</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2010-12-18 23:15:22 -0800</bug_when>
    <thetext>Confirmed changeset 72052 &lt;http://trac.webkit.org/changeset/72052&gt; (Bug #49452) regressed placeholder text wrapping in &lt;textarea&gt;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>324193</commentid>
    <comment_count>2</comment_count>
      <attachid>76954</attachid>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2010-12-18 23:18:30 -0800</bug_when>
    <thetext>Created attachment 76954
Test Case

A derivative of &lt;http://jsfiddle.net/6hb7g/&gt;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>324213</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-12-19 12:55:38 -0800</bug_when>
    <thetext>Regression -&gt; P1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>324447</commentid>
    <comment_count>4</comment_count>
    <who name="Adele Peterson">adele</who>
    <bug_when>2010-12-20 10:34:35 -0800</bug_when>
    <thetext>ok.  I&apos;ll have to figure something out.  I really don&apos;t want to go back to swapping the text in and out, but maybe we do need a RenderText object for the placeholder to get this right.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>324452</commentid>
    <comment_count>5</comment_count>
    <who name="Adele Peterson">adele</who>
    <bug_when>2010-12-20 10:46:11 -0800</bug_when>
    <thetext>&lt;rdar://problem/8789597&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>324578</commentid>
    <comment_count>6</comment_count>
    <who name="Adele Peterson">adele</who>
    <bug_when>2010-12-20 14:37:42 -0800</bug_when>
    <thetext>Do we know of any real world sites that have placeholders that hit this bug?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>350598</commentid>
    <comment_count>7</comment_count>
    <who name="Stefan Pauwels">stefan</who>
    <bug_when>2011-02-14 05:05:41 -0800</bug_when>
    <thetext>One real world site that hits this bug: cuuks.com
Add 2 or more ingredients on http://cuuks.com/combine
Chrome does not wrap the text (thereby hiding part of it), while firefox does.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>416519</commentid>
    <comment_count>8</comment_count>
    <who name="David Bourguignon">tal.bourguignon</who>
    <bug_when>2011-06-07 08:22:59 -0700</bug_when>
    <thetext>an other public url is for instance : http://www.mygaytrip.com/guide/lords-south-beach-hotel

The text area at the end it correct in current Safari (5.0.5) but break in nightly webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>434696</commentid>
    <comment_count>9</comment_count>
    <who name="Kent Tamura">tkent</who>
    <bug_when>2011-07-11 00:18:19 -0700</bug_when>
    <thetext>Chromium bug: http://code.google.com/p/chromium/issues/detail?id=76317</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>436865</commentid>
    <comment_count>10</comment_count>
    <who name="Kent Tamura">tkent</who>
    <bug_when>2011-07-13 19:17:54 -0700</bug_when>
    <thetext>Fixed by http://trac.webkit.org/changeset/90971</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>465171</commentid>
    <comment_count>11</comment_count>
    <who name="Kent Tamura">tkent</who>
    <bug_when>2011-09-09 18:45:35 -0700</bug_when>
    <thetext>*** Bug 67834 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>76954</attachid>
            <date>2010-12-18 23:18:30 -0800</date>
            <delta_ts>2010-12-18 23:18:44 -0800</delta_ts>
            <desc>Test Case</desc>
            <filename>text-area-placeholder-should-wrap.html</filename>
            <type>text/html</type>
            <size>160</size>
            <attacher name="Daniel Bates">dbates</attacher>
            
              <data encoding="base64">PHRleHRhcmVhIHJvd3M9IjQiIHBsYWNlaG9sZGVyPSJUaGlzIHRlc3QgUEFTU0VEIGlmIHRoZSB0
ZXh0IG9mIHRoaXMgc2VudGVuY2Ugd3JhcHMgc28gdGhhdCB5b3UgY2FuIHJlYWQgaXQgd2l0aG91
dCBleHBhbmRpbmcgdGhlICZsdDt0ZXh0YXJlYSZndDsuIj48L3RleHRhcmVhPg==
</data>

          </attachment>
      

    </bug>

</bugzilla>