<?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>92239</bug_id>
          
          <creation_ts>2012-07-25 04:27:02 -0700</creation_ts>
          <short_desc>REGRESSION(r112919): Can&apos;t operate textarea with scrollbar if it&apos;s hidden and shown</short_desc>
          <delta_ts>2012-07-25 18:15:37 -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>DUPLICATE</resolution>
          <dup_id>89114</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P1</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Kent Tamura">tkent</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>jchaffraix</cc>
    
    <cc>rakeshchaitan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>677908</commentid>
    <comment_count>0</comment_count>
    <who name="Kent Tamura">tkent</who>
    <bug_when>2012-07-25 04:27:02 -0700</bug_when>
    <thetext>Reported in http://code.google.com/p/chromium/issues/detail?id=137843

1. Open the following document.

Expected:
 - Placeholder is shown in the textarea
 - We can type into the textarea

Actual:
 - Placeholder is not shown
 - We can&apos;t type anything

----------------
&lt;textarea id=ta1 placeholder=placeholder&gt;
&lt;/textarea&gt;
&lt;script&gt;
setTimeout(function() {
    ta1.focus();
    document.execCommand(&apos;inserttext&apos;, false, &apos;aaaaaaaaaaaaa\nbbbbbbbbbbb\ncccccccccc\ndddd\neeeeeee\nffffff\n&apos;);
    var len = ta1.value.length;
    ta1.selectionStart = len - 10;
    ta1.selectionEnd = len - 10;
    ta1.blur();
    ta1.focus();
    ta1.blur();
    ta1.value = &apos;&apos;;
    ta1.style.display = &apos;none&apos;;
    ta1.style.display = &apos;block&apos;;
    ta1.focus();
}, 0);
&lt;/script&gt;
----------------</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>677910</commentid>
    <comment_count>1</comment_count>
    <who name="Kent Tamura">tkent</who>
    <bug_when>2012-07-25 04:27:42 -0700</bug_when>
    <thetext>I confirmed reverting http://trac.webkit.org/changeset/112919 fixed the problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>678699</commentid>
    <comment_count>2</comment_count>
    <who name="Kent Tamura">tkent</who>
    <bug_when>2012-07-25 18:15:37 -0700</bug_when>
    <thetext>Confirmed this was fixed by http://trac.webkit.org/changeset/123637.

*** This bug has been marked as a duplicate of bug 89114 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>