Closed
Bug 268537
Opened 20 years ago
Closed 20 years ago
body background color not applied to whole page when serves as application/xhtml+xml
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 147436
People
(Reporter: zatic, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20041002 Firefox/0.10.1 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20041002 Firefox/0.10.1 When served as application/xhtml+xml, the background-color css property of the body element is only applied to blocks with actual text in them. Additionally, a white space is shown on top of the page, although body has margin:0 and padding:0. The very same page, served as text/html renders as expected, the entire page in the background-color given for body. Here is page showing the problem: http://manuelseeger.de/dump/firefox/standard/template2.xml And exactly the same page, but with text/html: http://manuelseeger.de/dump/firefox/quirks/template2.xml I'm not that much into XHTML, but I don't think this can be intentional. Reproducible: Always Steps to Reproduce:
Comment 1•20 years ago
|
||
This the correct rendering. For XHTML, <html> is the root element. Put your background color styles there. *** This bug has been marked as a duplicate of 147436 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•