assigning to the innerHTML of a span loses its style information

VERIFIED FIXED

Status

()

Core
DOM
VERIFIED FIXED
17 years ago
5 years ago

People

(Reporter: Ulf Dittmer, Assigned: jst)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

17 years ago
Tested with Mozilla 0.9.4 on both WinNT and MacOS 9. If the style info resides 
right in the span tag, the newly added text is styled correctly; if it resides 
in a style tag, no styling is applied. In either case, the styling of the text 
that was originally in the span is lost. Clicking the two checkboxes in the 
supplied URL shows the problem.

Comment 1

17 years ago
WorksForMe Win2K build 2001100903.
Reporter, please try a recent nightly build
(http://ftp.mozilla.org/pub/mozilla/nightly/latest/)

Comment 2

17 years ago
WFM 2001101021/Redhat 7.1
(Reporter)

Updated

17 years ago
Status: UNCONFIRMED → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → FIXED
(Reporter)

Comment 3

17 years ago
Retested with build 2001101203 on WinNT, and it seems to have been fixed. Will
check with the latest build before opening bugs in the future. Thanks.

Updated

16 years ago
QA Contact: lchiang → ian
wfm per comments
Status: RESOLVED → VERIFIED
Component: DOM: Mozilla Extensions → DOM
Product: Core → Core
You need to log in before you can comment on or make changes to this bug.