Bug 12212 - REGRESSION: Deleting lines of text in text areas doesn't work as expected
Summary: REGRESSION: Deleting lines of text in text areas doesn't work as expected
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL: http://en.wikipedia.org/w/index.php?t...
Keywords: Regression
Depends on:
Blocks:
 
Reported: 2007-01-11 07:53 PST by Daniele Metilli
Modified: 2007-03-02 02:39 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniele Metilli 2007-01-11 07:53:34 PST
Follow these steps:

1 - Follow the link provided (Wikipedia).
2 - Scroll down to the next-to-last line of text in the text area (it says "[[nl:WebKit]]").
3 - Triple-click on that line of text to select it.
4 - Press delete on your keyboard to delete it.

The line gets deleted, but two things are wrong:

1 - The last (empty) line gets deleted together with it. It shouldn't.
2 - A space gets added to the new last line (in this case, "[[it:WebKit]]"). It shouldn't.
Comment 1 Daniele Metilli 2007-01-11 07:54:58 PST
Forgot to say that it's a regression and that it happens in the nightlies (with native text areas). The version I used is r18765.
Comment 2 Daniele Metilli 2007-01-18 17:01:04 PST
Anyone can confirm this?
Comment 3 Daniele Metilli 2007-03-02 02:39:27 PST
This bug has been fixed in the latest nightlies.