Closed Bug 595897 Opened 15 years ago Closed 15 years ago

Copy from other app a string containing tab characters behaves erratic in textareas. Sometimes tabs are replaced by spaces char(32)

Categories

(Core :: DOM: Editor, defect)

1.9.2 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 577240

People

(Reporter: damiengoor, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.9) Gecko/20100824 Firefox/3.6.9 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.9) Gecko/20100824 Firefox/3.6.9 It seems that if the textarea is not initially empty, and if you paste after the current content, the string containing tabs, tabs are converted to spaces. Reproducible: Sometimes Steps to Reproduce: 1. Type some text in textarea 2. Paste a string containing tabs from any other app (Excel, Notepad) 3. Seems to work fine when textarea is empty Actual Results: Moving the cursor with arrow key reveals the spaces Expected Results: Tabs (chr 9) should be preserved
Component: General → Editor
Product: Firefox → Core
QA Contact: general → editor
Version: unspecified → 1.9.2 Branch
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.