Closed
Bug 28748
Opened 25 years ago
Closed 25 years ago
Stylesheet not loaded for frame
Categories
(Core :: Networking, defect, P3)
Tracking
()
M15
People
(Reporter: rzach, Assigned: gagan)
References
()
Details
The stylesheet referenced in the pages at
http://socrates.berkeley.edu/~frege/
is in effect for the individual frames when the I use the fully qualified URL,
but not when I load the site as http://socrates/~frege/.
When I load the individual page, however, the stylesheet is loaded also when I
load it with a relative URL, e.g., http://socrates/~frege/html/indexmain.html
Linux build 2000.02.21.08
Comment 1•25 years ago
|
||
The only difference is that the hostname is a local host? Maybe this is a URL
parsing (SetRelativePath) problem, or maybe it is a dns problem. Cc'ing Andreas.
Target Milestone: M15
Comment 2•25 years ago
|
||
I guess it's a dns problem, for the parser there is no difference between
http://socrates.berkeley.edu/~frege/ and http://socrates/~frege/.
Reporter | ||
Comment 3•25 years ago
|
||
I don't see how it can be a DNS issue:
If I load http://socrates/~frege/html/indexmain.html, the stylesheet
(http://socrates/~frege/html/style.css) is applied.
If I load the frameset http://socrates/~frege/index.html, which in turn loads
the first page by relative URL in one of the frames, the style sheet is not
applied.
Comment 4•25 years ago
|
||
Can you give me the relative url that should load the style sheet together with
the baseurl?
Reporter | ||
Comment 5•25 years ago
|
||
Sorry, I think the relative URL was a red herring. I get the same result with a
fully qualified URL. I think it's that refresh problem when you don't give the
trailing slash in the URL.
http://socrates.berkeley.edu/~frege
http://socrates.berkeley.edu/~frege/
http://socrates.berkeley.edu/~frege//
All have different effects. The first leaves out the style sheet in both
frames. The second leaves out the style sheet in the left frame. The third
loads the style sheet in both frames.
The frames are referenced as:
<frame src="html/indexmain.html" name="Main">
and the stylesheet is referenced as
<link rel="stylesheet" href="style.css"></head>
Note that both style.css and html/style.css exist on the server. I suspect that
Mozilla is trying to load something like
http://socrates.berkeley.edu/~fregehtml/style.css
Summary: Stylesheet not loaded for frame if URL not fully qualified → Stylesheet not loaded for frame
Comment 6•25 years ago
|
||
Yes, this will definitly happen as long as we have that redirection/refresh
problem with the urlbar.
Reporter | ||
Comment 7•25 years ago
|
||
I'm a little worried because the frameset knows the right URL for the frame
sources, but the frames don't know the right URL for the style sheet. So I'll
leave this open, if that's ok, and make it dependent on bug 20072.
Depends on: 20072
dup
*** This bug has been marked as a duplicate of 10647 ***
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•