<?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>55970</bug_id>
          
          <creation_ts>2011-03-08 14:40:12 -0800</creation_ts>
          <short_desc>Cursor disappears from textarea on certain occasions.</short_desc>
          <delta_ts>2011-05-02 15:58:48 -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>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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="Cngevpxhaqrefpber">Cngevpxhaqrefpber</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>adele</cc>
    
    <cc>ap</cc>
    
    <cc>enrica</cc>
    
    <cc>hyatt</cc>
    
    <cc>leviw</cc>
    
    <cc>mitz</cc>
    
    <cc>rniwa</cc>
    
    <cc>xji</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>364163</commentid>
    <comment_count>0</comment_count>
    <who name="Cngevpxhaqrefpber">Cngevpxhaqrefpber</who>
    <bug_when>2011-03-08 14:40:12 -0800</bug_when>
    <thetext>If you:

1. Set focus to a textarea with no text on it.

2. Type a bunch of characters (I was using spaces) until you get two characters from the right side edge/boundary of the textarea.

3. Type a letter (like &apos;a&apos;), then press the space bar.

Then the cursor disappears in both Safari (latest version) and Google Chrome 10.0.648.127 (Official Build 76697), which doesn&apos;t seem right.

One thing I did notice is, if the textarea has a vertical scrollbar visible (I did this by inserting a bunch of empty lines) and you follow the same steps above, then the cursor does not disappear, _unless_ you&apos;re typing on the very last line of the textarea.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>364660</commentid>
    <comment_count>1</comment_count>
      <attachid>85207</attachid>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-03-09 11:45:31 -0800</bug_when>
    <thetext>Created attachment 85207
demo</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>365601</commentid>
    <comment_count>2</comment_count>
    <who name="Xiaomei Ji">xji</who>
    <bug_when>2011-03-10 15:54:35 -0800</bug_when>
    <thetext>might be the same cause as bug 49508 which I am working on.
looks like my fix fixes this issue as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>370019</commentid>
    <comment_count>3</comment_count>
    <who name="Xiaomei Ji">xji</who>
    <bug_when>2011-03-18 17:02:42 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 49508 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>382692</commentid>
    <comment_count>4</comment_count>
    <who name="Xiaomei Ji">xji</who>
    <bug_when>2011-04-08 18:32:08 -0700</bug_when>
    <thetext>I am not so sure that this is a duplicate of bug 49508. The fix there fixed the problem in Safari in Mac, but not fixed for chromium Linux. There might be some other problems.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>396589</commentid>
    <comment_count>5</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-05-02 13:25:14 -0700</bug_when>
    <thetext>The caret / insertion point is rendered outside of the visible bound.

The related bugs: http://webkit.org/b/57745 and http://webkit.org/b/54598.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>396746</commentid>
    <comment_count>6</comment_count>
    <who name="Enrica Casucci">enrica</who>
    <bug_when>2011-05-02 15:58:48 -0700</bug_when>
    <thetext>This has been fixed by http://trac.webkit.org/changeset/85535</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>85207</attachid>
            <date>2011-03-09 11:45:31 -0800</date>
            <delta_ts>2011-03-09 11:45:31 -0800</delta_ts>
            <desc>demo</desc>
            <filename>textarea.html</filename>
            <type>text/html</type>
            <size>216</size>
            <attacher name="Ryosuke Niwa">rniwa</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sPgo8Ym9keT4KPHRleHRhcmVhIGlkPSJ0ZXN0IiBzdHlsZT0i
d2lkdGg6IDVleDsgaGVpZ2h0OiAzZW07Ij53d3cgICA8L3RleHRhcmVhPgo8c2NyaXB0PgoKdGVz
dCA9IGRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCd0ZXN0Jyk7CnRlc3QuZm9jdXMoKTsKdGVzdC5z
ZWxlY3Rpb25TdGFydCA9IDY7Cgo8L3NjcmlwdD4KPC9ib2R5Pgo8L2h0bWw+
</data>

          </attachment>
      

    </bug>

</bugzilla>