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)
Core
DOM: HTML Parser
Tracking
()
VERIFIED
FIXED
M16
People
(Reporter: cmattar, Assigned: harishd)
References
()
Details
(Whiteboard: [nsbeta2+] [6/15] Fix in hand)
Attachments
(2 files)
237 bytes,
text/html
|
Details | |
1.24 KB,
patch
|
Details | Diff | Splinter Review |
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.
Reporter | ||
Comment 1•25 years ago
|
||
Reporter | ||
Comment 2•25 years ago
|
||
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
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
Comment 10•25 years ago
|
||
*** Bug 41297 has been marked as a duplicate of this bug. ***
Comment 11•25 years ago
|
||
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
Assignee | ||
Comment 12•25 years ago
|
||
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
Assignee | ||
Comment 13•25 years ago
|
||
*** Bug 41391 has been marked as a duplicate of this bug. ***
Comment 14•25 years ago
|
||
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.
Description
•