Closed Bug 382768 Opened 18 years ago Closed 18 years ago

Cmd+clicking a textarea in a table and then typing puts text outside the textarea

Categories

(Core :: DOM: Editor, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 339975

People

(Reporter: jruderman, Unassigned)

References

()

Details

(Keywords: testcase)

Attachments

(1 file)

Attached file testcase
Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.9a5pre) Gecko/20070531 Minefield/3.0a5pre Steps to reproduce: 1. Cmd+click a textarea that happens to be inside a table. 2. Type something, or press Cmd+V. Result: instead of going into the textarea, the text goes into the <tr> as a text node before the <td> that contains the <textarea>. I saw this bug several times on enter_bug.cgi because I would start holding Cmd early in anticipation of pressing Cmd+V (paste). I only just now figured out that that was the reason, allowing me to come up with steps to reproduce and then a reduced testcase.
Reproduced with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a5pre) Gecko/20070531 Minefield/3.0a5pre The first letter gets inserted before the <td>. At second time reproducing, the scrollbar does not get updated anymore and the area which was invisible during ctrl+click isn't shown.
OS: Mac OS X → All
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: