Bug 13935 - "Undo" adds a space in <textarea>s
Summary: "Undo" adds a space in <textarea>s
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 523.x (Safari 3)
Hardware: PC OS X 10.4
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2007-05-30 11:59 PDT by Sridhar Gurivireddy
Modified: 2007-06-05 11:25 PDT (History)
0 users

See Also:

Type some text into the textarea and do a "UNDO" (323 bytes, text/html)
2007-05-30 12:00 PDT, Sridhar Gurivireddy
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sridhar Gurivireddy 2007-05-30 11:59:32 PDT
Undo of editing operation adds a space in <textarea>

For example, type  "Safari rocks" into <textarea> and do a UNDO. A space is added at the begining of <textarea>
Comment 1 Sridhar Gurivireddy 2007-05-30 12:00:48 PDT
Created attachment 14787 [details]
Type some text into the textarea and do a "UNDO"
Comment 2 David Kilzer (:ddkilzer) 2007-06-01 07:48:35 PDT
Thanks for the bug report, Sridhar.

Are you using shipping Safari, or a WebKit nightly to test?  http://nightly.webkit.org/

When I tried the test, I didn't not see any extra spaces added after an undo operation.  (Used a local debug build of WebKit r21911 with Safari 2.0.4 (419.3) on Mac OS X 10.4.9 (8P135).)

In fact, the <textarea> element in the attachment has one space to begin with anyway because of the way it's defined in HTML.

Could you give more detailed steps to reproduce?

Comment 3 Sridhar Gurivireddy 2007-06-05 11:25:10 PDT
The latest webkit build does not have it. I found it in old build- revision 21240