Closed Bug 104396 Opened 23 years ago Closed 23 years ago

assigning to the innerHTML of a span loses its style information

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: udittmer, Assigned: jst)

References

()

Details

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.
WorksForMe Win2K build 2001100903.
Reporter, please try a recent nightly build
(http://ftp.mozilla.org/pub/mozilla/nightly/latest/)
WFM 2001101021/Redhat 7.1
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
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.
QA Contact: lchiang → ian
wfm per comments
Status: RESOLVED → VERIFIED
Component: DOM: Mozilla Extensions → DOM
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.