Closed Bug 40143 Opened 25 years ago Closed 25 years ago

CSS Style information isn't resolved but painted as plain text when it's written by Javascript

Categories

(Core :: DOM: HTML Parser, defect, P3)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: cmattar, Assigned: harishd)

References

()

Details

(Whiteboard: [nsbeta2+] [6/15] Fix in hand)

Attachments

(2 files)

Fire up Mozilla and visit http://www.sharkyextreme.com. Between the ad-banner and the menu, you'll see some style information. If you take a look at the source code, you'll see that it's written by a Javascript "document.write". Instead of being displayed, this information should be resolved, like NS and IE does. M13 did this right, too. I'll attach a minimized testcase later. I hope I picked the right component. This was observed on Win98 build 2000051820.
Updated the summary to be more specific. Sorry for the spam
Summary: Style information isn't resolved but painted as plain text → Style information isn't resolved but painted as plain text when it's written by Javascript
Moving to my plate.
Assignee: rickg → harishd
Attached patch Proposed patch.Splinter Review
Status: NEW → ASSIGNED
Whiteboard: Fix in hand
Target Milestone: --- → M17
*** Bug 38296 has been marked as a duplicate of this bug. ***
We're **losing style data** loaded through JS. Will be a good fix for beta2.
Keywords: nsbeta2
Target Milestone: M17 → M16
*** Bug 40967 has been marked as a duplicate of this bug. ***
[nsbeta2+] [6/15]
Whiteboard: Fix in hand → [nsbeta2+] [6/15] Fix in hand
*** Bug 41317 has been marked as a duplicate of this bug. ***
*** Bug 41297 has been marked as a duplicate of this bug. ***
Added CSS in summary so it's more likely to be found when doing a query about CSS and Javascript. BTW, I've been able to reproduce this bug on Mozilla build ID: 2000060208 on a PowerMac G3 running Mac OS 8.6, so I also changed OS/Platform to All/All.
OS: Windows 98 → All
Hardware: PC → All
Summary: Style information isn't resolved but painted as plain text when it's written by Javascript → CSS Style information isn't resolved but painted as plain text when it's written by Javascript
Scanner's mIncremental memeber wasn't getting used correctly for data supplied ( to the parser ) through document.write(). FIXED.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
*** Bug 41391 has been marked as a duplicate of this bug. ***
Verified 2000-07-17-13-M17 : Linux 2000-07-17-09-M17 : WinNT & Win98 2000-07-13-08-M17 : Mac
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: