Closed Bug 117315 Opened 23 years ago Closed 23 years ago

external css file will not load, despite valid CSS and XHTML

Categories

(Core :: CSS Parsing and Computation, defect)

x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: revdiablo, Assigned: dbaron)

References

()

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7) Gecko/20011224 BuildID: 20011224 My page page passes W3C's XHTML and CSS validation checkers. The web server returns the .css file with content-type equal to "text/css". Yet the external stylesheets (styles.css) are not loaded. There is no doubt about this -- the page looks *drastically* different with and without CSS. The style sheet loads fine with Mozilla 0.9.6 in both quirks and standard mode. Mozilla 0.9.7 does not load the CSS when in standards mode, but loads it perfectly if I remove the DOCTYPE and put the browser into quirks mode. Note: this may be a duplicate of bug 116892. I posted a "me too" comment there, and someone told me my issue was different, so I created a new bug. Reproducible: Always Steps to Reproduce: 1. Open http://www.revinc.org/ in Mozilla 0.9.7 Actual Results: The page loads without any styles. Expected Results: The page should load with all the styles from styles.css.
WorksForMe with Linux build 2001122821. Seems to be fixed now. Could you confirm this with a current nightly? Thank's for testing mozilla.
This page also worksforme on Linux 2001122821. You are correct that the css file gets served properly as text/css. Try hitting Shift+Reload to reload the page from the server. If the CSS file was originally served as something else, it would be cached with the bad MIME type.
WFM with a CVS build from yesterday.. I see the page exactly as shown in the screenshots at http://www.revinc.org/?display=screenshots.php . Please send a comment to this bug if you are still seeing the problem...
Marking worksforme. Please reopen if you still see the problem on a current build. If you reopen, please describe the steps to reproduce more carefully.
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
Egg on face. Shift+reload worked; it was previously being served as text/html, and must have been cached. Thanks a lot for all the help!
marking verified then
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.