Closed
Bug 156145
Opened 22 years ago
Closed 22 years ago
strict on css mimetype requirements (i.e doesn't load it if it's plain/text)
Categories
(SeaMonkey :: General, defect)
Tracking
(Not tracked)
VERIFIED
INVALID
People
(Reporter: an179, Assigned: Matti)
References
()
Details
From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1a) Gecko/20020611 BuildID: 2002061104 Some server has **** mime handelling ... i upload a css file (and i can only upload it as text/plain, as i cant change the servers mime handelling (not mine)) and then mozilla doesnt load it as it is not text/css.... but other browsers do IE, Konq etc. etc. Also netscape 6.2 loads it with no problem... so i can only assume moz1.o+ is too strict. (ive tried it in moz1.0 and moz1.1alpha)... Cheers, Aaron! ---------------------------------------------------- Reproducible: Always Steps to Reproduce: 1.upload a css file (with the webserver giving it a text/plain mime type) 2.upload a html file linking to that css file 3.look at the index.html file now. Actual Results: moz doesnt load the css file Expected Results: load the css file (it's too strict on the mime type (other browsers arent)+ i cannot change the mimetype handeling (it's not my server + they wont(ive asked))
Assignee | ||
Comment 1•22 years ago
|
||
-> invalid You can remove the doctype in your document and mozilla use the internal quirks Mode and accepts also css files with a wrong mime-type.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
Assignee | ||
Comment 2•22 years ago
|
||
you can also add .htaccess if your ISP use Apache. (see the release notes..)
Reporter | ||
Comment 3•22 years ago
|
||
but then without <!DOCTYPE i dont get valid html (via the w3c checker) which i __really__ want. :(
Reporter | ||
Comment 4•22 years ago
|
||
i have no access to the server...
Comment 5•22 years ago
|
||
Aaron, just removing the DTD url from your doctype will make it trigger quirks mode. See http://www.mozilla.org/docs/web-developer/quirks/ and http://www.mozilla.org/docs/web-developer/quirks/doctypes.html The problem is that your document _is_ valid HTML, and is treated as such. This includes standards-compliance in rendering, loading stylesheets, and other such matters.
Status: RESOLVED → VERIFIED
Summary: too strict on css mimetype erquirements (i.e doesnt load it if it's plain/text) → too strict on css mimetype requirements (i.e doesn't load it if it's plain/text)
Comment 6•21 years ago
|
||
*** Bug 182236 has been marked as a duplicate of this bug. ***
Comment 7•21 years ago
|
||
*** Bug 230073 has been marked as a duplicate of this bug. ***
Updated•21 years ago
|
Summary: too strict on css mimetype requirements (i.e doesn't load it if it's plain/text) → strict on css mimetype requirements (i.e doesn't load it if it's plain/text)
As noted above, if you can't get the server fixed, you may be able to use an .htaccess to add the mime type yourself, for your directory. See: http://devedge.netscape.com/viewsource/2002/incorrect-mime-types/ http://www.javascriptkit.com/howto/htaccess.shtml
Comment 9•20 years ago
|
||
*** Bug 238076 has been marked as a duplicate of this bug. ***
Updated•20 years ago
|
Product: Browser → Seamonkey
Comment 10•19 years ago
|
||
*** Bug 311155 has been marked as a duplicate of this bug. ***
You need to log in
before you can comment on or make changes to this bug.
Description
•