Closed
Bug 194198
Opened 22 years ago
Closed 21 years ago
user style (userContent.css) does not fetch remote style (@import)
Categories
(Core :: CSS Parsing and Computation, defect, P5)
Tracking
()
RESOLVED
FIXED
Future
People
(Reporter: habere, Assigned: bzbarsky)
References
Details
(Keywords: testcase)
Attachments
(2 files)
User-Agent: Mozilla/5.0 Galeon/1.2.7 (X11; Linux i686; U;) Gecko/20021226 Debian/1.2.7-6 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021226 Debian/1.2.1-9 userContent.css: @import url("http://www.w3.org/StyleSheets/Core/Midnight"); fails to load/apply the remote stylesheet. Reproducible: Always Steps to Reproduce: 1. Create userContent.css with: @import url("http://www.w3.org/StyleSheets/Core/Midnight"); 2. Restart mozilla, and browse, say http://www.w3.org/ Actual Results: No change. Expected Results: The fairly dark W3C core style - Midnight - should have been applied. adding to userContent.css: body { background-image: url("http://www.w3.org/Icons/w3c_main") ! important; } indicates that this is not a network or security problem - since the remote image is successfully retrieved. -- Reference: CSS2 spec - The @import rule http://www.w3.org/TR/REC-CSS2/cascade.html#x5
Reporter | ||
Comment 1•22 years ago
|
||
(save to chrome folder.)
this reminded me of bug 182531 reporter: mozilla1.2 is old and the many things have changed since then. please don't file bugs based on it. additionally we request that you use mozilla.org builds instead of vendor builds. if you have a problem with a vendor's product then you should complain to the vendor.
Version: Trunk → Other Branch
Reporter | ||
Comment 3•22 years ago
|
||
timeless: thanks for the tip. (i did confirm it before posting with my colleague chris - he's running moz1.3b under redhat 8.)
Assignee | ||
Comment 4•22 years ago
|
||
Yeah, as long as we load the sheets synchronously and HTTP does not support synchronous loading, you will be unable to have user stylesheets living out in http-land.
Reporter | ||
Comment 5•22 years ago
|
||
The idea is to access the DOM and insert an external stylesheet. Javascript bookmarklet included. :)
Assignee | ||
Comment 6•22 years ago
|
||
Yeah, but that's not quite the same as a real user stylesheet (eg cascade works differently).
Assignee | ||
Comment 7•21 years ago
|
||
I can prioritize my bugs myself, thank you. I'm not even sure the "testcase" keyword applies, since that's not a testcase you can just open in the browser... (but whatever).
Priority: P3 → --
Target Milestone: --- → Future
Version: Other Branch → Trunk
Assignee | ||
Updated•21 years ago
|
Priority: -- → P5
Assignee | ||
Comment 8•21 years ago
|
||
The fix for bug 192284 may just naturally solve this.... will test when I'm reviewing that patch.
Depends on: 192284
Assignee | ||
Comment 9•21 years ago
|
||
Yeah, looks like fixing bug 192284 just fixed this.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•