Bug 9939
| Summary: | REGRESSION: Pasting text into native text area with newline at end does not preserve newline | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | David Kilzer (:ddkilzer) <ddkilzer> |
| Component: | Forms | Assignee: | Darin Adler <darin> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | Keywords: | Regression |
| Priority: | P1 | ||
| Version: | 420+ | ||
| Hardware: | Mac | ||
| OS: | OS X 10.4 | ||
David Kilzer (:ddkilzer)
Steps to reproduce:
1. Open a web page with a text area (like this bug).
2. Type "abc" then hit Enter.
3. Select all with Cmd-A.
4. Cut with Cmd-X.
5. Paste with Cmd-V.
Expected results:
The pasted text should have a newline after "abc".
Actual results:
The pasted text has no newline after "abc".
Regression:
This works as expected on production Safari 2.0.4 (419.3) with WebKit 418.8 on Mac OS X 10.4.7 (8J135/PowerPC).
Notes:
Tested on locally-built WebKit r15458 with the above versions of Safari and Mac OS X.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Darin Adler
The patch I have attached to bug 9360 should fix this too.
David Kilzer (:ddkilzer)
(In reply to comment #1)
> The patch I have attached to bug 9360 should fix this too.
How about Bug 9630, instead? :)
Darin Adler
Committed revision 15617.