Closed
Bug 141829
Opened 23 years ago
Closed 23 years ago
Can not use external CSS scripts on local network, but they work on the Internet
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
VERIFIED
INVALID
People
(Reporter: os2, Assigned: dbaron)
Details
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:0.9.9) Gecko/20020311
BuildID: 2002031114
External style sheets are not used when they are downloaded from a local
network. They do however work in "http://css.nu/pointers/" for instance.
Inlined style sheets work well, it is only the external ones (using the <link>
tag which do not work).
Reproducible: Always
Steps to Reproduce:
1. Add a reference to an external CSS file in the (X)HTML document
2. Add a reference to an alternate external CSS file
2. Load the page from Warpzilla from a client computer in the network
Actual Results: The page appears with no styles, and the alternate style does
not appear in the View -> Use Stylesheet submenu. The webserver logs confirm
that the .css-files are fetched by the client, but Warpzilla seems to ignore them.
Expected Results: The page should be using style sheets, and the View -> Use
Stylesheets submenu should contain an alternate style sheet.
A short discussion about this problem can be found on Usenet though
http://groups.google.com/groups?hl=en&threadm=wnaqnavryffbasnyhaznvygryvnpbz.gveduk0.pminews%40news1.telia.com&rnum=1&prev=/groups%3Fq%3D%2522Warpzilla%2B%2526%2BCSS%2522%26hl%3Den%26selm%3Dwnaqnavryffbasnyhaznvygryvnpbz.gveduk0.pminews%2540news1.telia.com%26rnum%3D1
Essentially, these are the lines which are not working (though they, and the
style sheets) pass W3C's validators:
<link href="/styles/basic.css" title="standard" rel="stylesheet" type="text/css" />
<link href="/styles/fnorg.css" title="fnorg" rel="alternate stylesheet"
type="text/css" />
Changing the href URL to an external style sheet, for instance
"http://css.nu/pointers/", works well and the alternate style sheet "Midnight"
appears as expected in the stylesheet submenu.
Comment 1•23 years ago
|
||
Is your page in standards mode by any chance? (Open up page info and see what
the rendering mode is on the main tab.). If it is, what MIME type does your
server send for the stylesheets?
Reporter | ||
Comment 2•23 years ago
|
||
Render Mode is set to "Strict standards compliance mode.". The server is set to
send css files as "text/css". The document is an XHTML1 document (in case it is
relevant).
Comment 3•23 years ago
|
||
Jan, could you possibly attach one of the CSS files in question to this bug
using http://bugzilla.mozilla.org/attachment.cgi?bugid=141829&action=enter ?
Comment 4•23 years ago
|
||
1. Have you tried this on Windows or some other OS?
2. Did you try using file: URLs rather than relative URLs to see if that worked?
Comment 5•23 years ago
|
||
Reporter, please respond to the questions or we will close this due to lack of
activity.
thanks
Reporter | ||
Comment 6•23 years ago
|
||
Sorry; I thought I had, but I must have done something wrong.
This is what happened: I started noticing more parts of Warpzilla rendering
breaking (everything from small glitches to complete traps), so wiped the
Warpzilla directory and started over. Since then I have not had any problems.
Again, I thought I had added this comment and changed the bug to "INVALID".
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•