Closed Bug 271534 Opened 20 years ago Closed 20 years ago

external css file doesn't work, but inlining it does work

Categories

(Core :: CSS Parsing and Computation, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: carlj1752, Assigned: dbaron)

References

()

Details

Attachments

(3 files, 2 obsolete files)

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Build Identifier: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) (Gecko/20041116) (Firefox/1.0)

In file1, the hyperlink is correctly shown in red, due
to the style sheet.

But in file2, I move the style definition to a separate css file.
Suddenly, the hyperlink doesn't show up as red anymore.


Reproducible: Always
Steps to Reproduce:
1. Load file1.html, you see the link is shown in red.
2. Load file2.html, you see the link should still be red, but it isn't.

Actual Results:  
When loading file2.html, the link is shown as blue.

Expected Results:  
But it should show as red.
Attached file Test Case #1
Attached file Test Case #2
Attached file The CSS file needed by the test cases. (obsolete) —
<style> and other markup (including SGML comments) do not belong inside a CSS file.

Please verify on a forum before you are filing a bug.

-> INVALID
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Attached file Replacement CSS file for the test case (obsolete) —
Attachment #166930 - Attachment is obsolete: true
Attachment #166941 - Attachment is obsolete: true
Hi! Thank you for your response, and I apologize for
forgetting to remove the illegal tags in the css file.

But the bug still exists, even if the CSS file contains
just the actual styles (as my updated attachment shows).

Please advise on what may be wrong. Thank you.
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
Resolving WFM since it works here. If you are still seeing this issue, please
put a link to some webspace instead of attaching files, maybe the server is the
problem. Don't change the bug status however.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: