Closed
Bug 344025
Opened 19 years ago
Closed 19 years ago
CSS is rendered/applied incorrectly if the page is given out as application/xhtml+xml
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 147856
People
(Reporter: webmaster, Unassigned)
References
()
Details
User-Agent: Opera/9.00 (Windows NT 5.2; U; en)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9a1) Gecko/20060709 Minefield/3.0a1
As this page has the DOCTYPE XHTML 1.1, it should be delivered with the Content-Type "application/xhtml+xml" and Firefox is, in general, able to accept this Content-Type.
However, the stylesheet, which is loaded via the "link"-element, doesn't seem to be applied correctly with that Content-Type. As this stylesheet exactly matches the original template, it's easy to compare this site with http://www.davereederdesign.com/work/web/fluidity.com/index.htm which is (incorrectly, of course) given out as "text/html":
hangy.de has a white background for the "body" element, the original template has a grey background.
I don't know whether or not this is the only occurance of a weird CSS handling tbh.
Reproducible: Always
Steps to Reproduce:
1. Open http://hangy.de/ in Firefox
2. Open http://www.davereederdesign.com/work/web/fluidity.com/index.htm in Firefox
3. Compare both. :)
Actual Results:
hangy.de has a white background (seems like the CSS' rule i not applied at all), the original template has a grey background.
Expected Results:
Both site should have the same design (e.g. background for body) which is only determined by the
<link rel="stylesheet" type="text/css" href="fluidity.css" />
line in the pages' <head>.
http://reporter.mozilla.org/app/report/?report_id=RMO11524537039417
Comment 1•19 years ago
|
||
See the other bug for an explanation of this behavior.
*** This bug has been marked as a duplicate of 147856 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•