Closed Bug 602484 Opened 14 years ago Closed 14 years ago

Textarea replacing tabs with spaces

Categories

(Core :: Layout: Form Controls, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 596001

People

(Reporter: wiredearp, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.24 Safari/534.7
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10

TAB character is replaced with SPACE characters when pasting into textarea (certain conditions).

Reproducible: Always

Steps to Reproduce:
1. Copy text with TAB characters to clipboard.
2. Find a textarea. Focus the textarea.
3. Press SPACE once on keyboard (required).
4. Paste text from clipboard.
Actual Results:  
TAB character is replaced with multiple SPACE characters.

Expected Results:  
TAB characters are preserved.

Happens in Firefox 3.6.10 and 4.0b6
Test case added to Attachments.
This is working for me on 3.6.9 and 4.0b8pre (your test case seems working).
Keywords: testcase
This will be fixed in 3.6.11 and 4.0b7.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
That's comforting to know.

Turns out I was already CCed to bug 596001. So now I've wasted time for all of us. 

But now, at least, any future search for "textarea tabs spaces" will reveal this bug. The bug "All tabs in textareas converted to spaces" could not be located by the same search phrase; somewhat non-fuzzy.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: