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.
updating summary, adding "testcase" keyword, trying "parser" component
Component: Browser-General → Parser
Summary: specified background color is ignored → doctype points to nonexistant dtd --> body bgcolor, text ignored
Assignee: asadotzler → rickg
QA Contact: jelwell → janc
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
Why does mozilla decide that it should be using the strict dtd?
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
Last Resolved: 19 years ago
Resolution: --- → INVALID
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.