Bug 13927 - Tabs at the end of text not copied properly
Summary: Tabs at the end of text not copied properly
Status: UNCONFIRMED
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
URL:
Keywords:
: 13929 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-05-30 09:56 PDT by Sridhar Gurivireddy
Modified: 2007-05-31 10:43 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sridhar Gurivireddy 2007-05-30 09:56:54 PDT
When clipboard has multiple tabs at the end of text, the tabs are copied only till it reaches end of line in the <textarea>.

For example, if the text "xxx   yyy                                       " is copied from clipboard to a <textarea> of width 15, tabs that fit till the end of line are copied. Remaining tabs are lost. However, webkit thinks the whole text is copied and the cursor is at the end of the original text. So, you got to use left arrow key few times before cursor gets updated.

Use layout test editing\pasteboard\pasting-tabs.html
Comment 1 David Kilzer (:ddkilzer) 2007-05-31 10:43:36 PDT
*** Bug 13929 has been marked as a duplicate of this bug. ***