innerHTML used on a textarea inserts a new textarea

RESOLVED FIXED

Status

()

Core
Layout: Form Controls
RESOLVED FIXED
16 years ago
16 years ago

People

(Reporter: Emmanuel Bourg, Assigned: kinmoz)

Tracking

Trunk
x86
Windows NT
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

16 years ago
On calling innerHTML on a textarea element, a new textarea appears inside the
textarea instead of the HTML specified.
(Reporter)

Comment 1

16 years ago
Created attachment 87946 [details]
Text inserted in a TEXTAREA using the innerHTML function

Comment 2

16 years ago
-->
Assignee: rods → kin
(Reporter)

Comment 3

16 years ago
I forgot to mention i see this on Mozilla 1.1a (build 2002061104)

Comment 4

16 years ago
Sort of WFM with XBLFC.  For some reason, the top line in the textarea does not
scroll.

Comment 5

16 years ago
Seing this with build 2002121608, Windows 2000. First row of the textarea does
not scroll.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: innerHTML used on a textarea inserts a new textarea → First row of text in textarea inserted with innerHTML does not scroll

Comment 6

16 years ago
Created attachment 109537 [details]
Screenshot showing overlapping text
(Reporter)

Comment 7

16 years ago
I tried again my test case with Mozilla 1.3a and the issue with innerHTML is now
consistent with the one i reported with appendChild in Bug 152329. Previously
one could see 2 textarea boxes, this issue is now fixed.
Status: NEW → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → FIXED
Summary: First row of text in textarea inserted with innerHTML does not scroll → innerHTML used on a textarea inserts a new textarea
You need to log in before you can comment on or make changes to this bug.