Closed
Bug 119069
Opened 23 years ago
Closed 23 years ago
Stylesheets not loading for XHTML pages
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
VERIFIED
INVALID
People
(Reporter: jesse.houwing, Assigned: dbaron)
References
()
Details
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.7+)
Gecko/20020109
BuildID: 2002010903
This page used to look much better in Mozilla, but some time ago (don't exactly
know when) the stylesheet stopped loading. I changed nothing in the file, so i'm
suspecting Mozilla...
The page validates (CSS and XHTML) on the W3c validator and looks fine in 0.9.5
and IE6
(note: this page is programmed to install itself as a sidebar).
Reproducible: Always
Steps to Reproduce:
Load the page and see
Actual Results: No styles
Expected Results: Should use the appropriate stylesheet
Comment 1•23 years ago
|
||
Stylesheets are applied correctly when put explicitly in the header in <style>
tags. Stylesheets fail to load when referenced in a <link /> tag.
Assignee | ||
Comment 2•23 years ago
|
||
It's probably because the stylesheets aren't sent as text/css.
Reporter | ||
Comment 3•23 years ago
|
||
The strange thing is taht the same page, and stylesheet do load from my
harddrive and look fine, but when I upload them they don't. Could this have
anything to do with the fact that the server I'm using returns
content-type:text/plain instead of text/css ??
Reporter | ||
Comment 4•23 years ago
|
||
But this worked before, and I can't change the contenttype on this server as it
is a public (for all students) one. Why has this changed?
Assignee | ||
Comment 5•23 years ago
|
||
Because the content type sent by the server says what type of file is being
sent, and if the server says it's not text/css, then our CSS parser shouldn't
handle it. (We only do this in strict mode.)
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
Reporter | ||
Comment 6•23 years ago
|
||
But this page is transitional which makes this a NEW and not an INVALID
Assignee | ||
Comment 7•23 years ago
|
||
No, XHTML Transitional -> standards mode. See
http://mozilla.org/docs/web-developer/quirks/
Reporter | ||
Comment 8•23 years ago
|
||
Ok, I thought you meant XHTML STRICT, not strict (or standards) mode.
Status: RESOLVED → VERIFIED
Comment 9•23 years ago
|
||
Jesse, see the 0.9.7 release notes which not only talk about this issue but also
explain how to make most Apache servers (which the server you are using happens
to be) do the right thing for your files even if you are not administrator.
If you would be willing to contact your server administrator and let him or her
know that the server is misconfigured, that would also be much appreciated.
You need to log in
before you can comment on or make changes to this bug.
Description
•