<?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>9708</bug_id>
          
          <creation_ts>2006-07-03 05:46:55 -0700</creation_ts>
          <short_desc>REGRESSION: NativeTextArea: &quot;invisible blank lines&quot; added after unfocus+focus</short_desc>
          <delta_ts>2007-01-17 13:21:52 -0800</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>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, Regression</keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>jonathanjohnsson</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>adele</cc>
    
    <cc>a</cc>
    
    <cc>c.petersen87</cc>
    
    <cc>darin</cc>
    
    <cc>ddkilzer</cc>
    
    <cc>ian</cc>
    
    <cc>vladimir.olexa</cc>
    
    <cc>webkit-bugs</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>48076</commentid>
    <comment_count>0</comment_count>
    <who name="">jonathanjohnsson</who>
    <bug_when>2006-07-03 05:46:55 -0700</bug_when>
    <thetext>Copying text from text area adds a &quot;blank line&quot; for every newline, but you can&apos;t see this by just pasting in the same text area. Steps to see some of the weirdness:

1. Type &quot;test&quot; return &quot;test&quot; in the comment field above (or any text area).
2. Click outside the text area, or make it lose focus in any other way.
3. Focus the text area and select all and copy.
4. Paste into TextEdit.app
5. There is now a blank line between the to test lines.

If you want to see more strangeness, copy the resulting text from TextEdit, and paste it into the text area. Then you cannot move the cursor from the upper line to the lower by pressing the down arrow.

I couldn&apos;t find this bug in bugzilla, but as there are many bugs filed on NativeTextArea, I may have missed it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48368</commentid>
    <comment_count>1</comment_count>
    <who name="Alice Liu">alice.barraclough</who>
    <bug_when>2006-07-05 13:53:49 -0700</bug_when>
    <thetext>&lt;rdar://problem/4614187&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49542</commentid>
    <comment_count>2</comment_count>
      <attachid>9420</attachid>
    <who name="Justin Garcia">justin.garcia</who>
    <bug_when>2006-07-12 20:12:45 -0700</bug_when>
    <thetext>Created attachment 9420
testcase

automated testcase that illustrates the bug</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49543</commentid>
    <comment_count>3</comment_count>
      <attachid>9420</attachid>
    <who name="Justin Garcia">justin.garcia</who>
    <bug_when>2006-07-12 20:13:16 -0700</bug_when>
    <thetext>Comment on attachment 9420
testcase

oops this is a testcase for a different bug</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49980</commentid>
    <comment_count>4</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2006-07-15 14:27:55 -0700</bug_when>
    <thetext>Here is another way to reproduce this bug with the down arrow.

Steps to reproduce:

1. Open a page with a text area (like this bug).
2. Type &quot;abc&quot;.
3. Hit Enter.
4. Type &quot;123&quot;.
5. Hit Enter.
6. Cmd-A to select all.
7. Cmd-X to cut.
8. Hit Enter.
9. Hit Cmd-V to paste.
10. Click the mouse on the first line (which is blank) to position the cursor.
11. Click the down arrow THREE times.

Expected results:

The cursor should be at the beginning of the third line.

Actual results:

The cursor is at the end of the second line, and hitting the down arrow ad infinitum does nothing.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49981</commentid>
    <comment_count>5</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2006-07-15 14:30:03 -0700</bug_when>
    <thetext>Here is another way to reproduce this bug with the RIGHT ARROW.

Steps to reproduce:

1. Open a page with a text area (like this bug).
2. Type &quot;abc&quot;.
3. Hit Enter.
4. Type &quot;123&quot;.
5. Hit Enter.
6. Cmd-A to select all.
7. Cmd-X to cut.
8. Hit Enter.
9. Hit Cmd-V to paste.
10. Click the mouse on the first line (which is blank) to position the cursor.
11. Click the right arrow FIVE times.

Expected results:

The cursor should be at the beginning of the third line.

Actual results:

The cursor is at the end of the second line.  Hitting the right arrow a sixth time places the cursor AFTER the first character (&quot;1&quot;) on the third line.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50340</commentid>
    <comment_count>6</comment_count>
    <who name="Alexander Kellett">a</who>
    <bug_when>2006-07-19 04:25:07 -0700</bug_when>
    <thetext>*** Bug 9997 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34486</commentid>
    <comment_count>7</comment_count>
    <who name="Vladimir Olexa (vladinecko)">vladimir.olexa</who>
    <bug_when>2007-01-17 08:13:31 -0800</bug_when>
    <thetext>I followed all test cases and couldn&apos;t reproduce any of the reported symptoms.  

using 10.4.8, ToT b.18737</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34426</commentid>
    <comment_count>8</comment_count>
    <who name="">jonathanjohnsson</who>
    <bug_when>2007-01-17 13:21:52 -0800</bug_when>
    <thetext>This works for me now as well. Thanks Vladimir for testing.

Closing as WORKSFORME, as I don&apos;t know when or how it got fixed.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="0"
              isprivate="0"
          >
            <attachid>9420</attachid>
            <date>2006-07-12 20:12:45 -0700</date>
            <delta_ts>2006-07-12 20:13:16 -0700</delta_ts>
            <desc>testcase</desc>
            <filename>test.html</filename>
            <type>text/html</type>
            <size>289</size>
            <attacher name="Justin Garcia">justin.garcia</attacher>
            
              <data encoding="base64">PGRpdiBpZD0idGVzdCIgY29udGVudGVkaXRhYmxlPSJ0cnVlIj5BIG5ldyBsaW5rPC9kaXY+Cgo8
c2NyaXB0Pgp2YXIgcyA9IHdpbmRvdy5nZXRTZWxlY3Rpb24oKTsKdmFyIGUgPSBkb2N1bWVudC5n
ZXRFbGVtZW50QnlJZCgidGVzdCIpOwoKcy5zZXRCYXNlQW5kRXh0ZW50KGUuZmlyc3RDaGlsZCwg
NiwgZS5maXJzdENoaWxkLCAxMCk7CmRvY3VtZW50LmV4ZWNDb21tYW5kKCJJbnNlcnRIVE1MIiwg
ZmFsc2UsICI8YSBocmVmPSdodHRwOi8vd3d3Lmdvb2dsZS5jb20nPmxpbms8L2E+Iik7Cjwvc2Ny
aXB0Pg==
</data>

          </attachment>
      

    </bug>

</bugzilla>