Closed
Bug 39318
Opened 25 years ago
Closed 25 years ago
doctype points to nonexistant dtd --> body bgcolor, text ignored
Categories
(Core :: CSS Parsing and Computation, defect, P3)
Tracking
()
VERIFIED
INVALID
People
(Reporter: sean, Assigned: attinasi)
References
()
Details
(Keywords: testcase)
Attachments
(1 file)
245 bytes,
text/html
|
Details |
http://www.ghostwheel.com/ has the following body tag:
<BODY BGCOLOR="000000" TEXT="ffffff">
but the background color of the page is not displayed in black.
Comment 1•25 years ago
|
||
Comment 2•25 years ago
|
||
updating summary, adding "testcase" keyword, trying "parser" component
Component: Browser-General → Parser
Keywords: testcase
Summary: specified background color is ignored → doctype points to nonexistant dtd --> body bgcolor, text ignored
The issue here is that the given dtd is Strict, but the <body> attributes are
not well formed (=000000 instead of =#000000). The style system is choosing to
behave strictly (as it should) and therefore the malformed attributes are
ignored.
Pierre/MarcA: It's up to you to determine the fate of this bug.
Assignee: rickg → attinasi
Component: Parser → Style System
Comment 5•25 years ago
|
||
Why does mozilla decide that it should be using the strict dtd?
Assignee | ||
Comment 6•25 years ago
|
||
see the following source for why the doctype is deemed strict:
http://lxr.mozilla.org/seamonkey/source/htmlparser/src/nsParser.cpp#838
Since this is a strict doctype, the color must be formatted correctly. Note that
in Viewer, you can change to the NavQuirks DTD and the background color works
fine...
Marking invalid.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•