Bug 14583 - [GDK] file:// relative CSS include URLs handled incorrectly
Summary: [GDK] file:// relative CSS include URLs handled incorrectly
Status: RESOLVED DUPLICATE of bug 14651
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 523.x (Safari 3)
Hardware: All All
: P2 Normal
Assignee: Nobody
Keywords: Curl, Gtk
Depends on:
Reported: 2007-07-11 08:26 PDT by Alp Toker
Modified: 2007-12-08 06:48 PST (History)
0 users

See Also:

Test case (877 bytes, application/x-gzip)
2007-07-11 08:27 PDT, Alp Toker
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alp Toker 2007-07-11 08:26:21 PDT
When linking to a CSS stylesheet in a subdirectory ("styles/style.css"), if that CSS file imports "style2.css" (@import url(style2.css);) WebKit/Gtk+ looks for style2.css in the same directory as the original HTML file.

The expected behaviour (seen in Firefox, WebKit/Mac and WebKit/Gtk+ using the http:// backend) would be for it to load "styles/style2.css", not "style2.css".
Comment 1 Alp Toker 2007-07-11 08:27:41 PDT
Created attachment 15473 [details]
Test case

This test case has a red background to indicate broken behaviour, or a green background to indicate correct behaviour.
Comment 2 Holger Freyther 2007-09-10 13:39:22 PDT
This is a issue with the CURL implementation of ResourceHandle,ResourceHandleManager.
Comment 3 Alp Toker 2007-12-08 06:48:10 PST

*** This bug has been marked as a duplicate of 14651 ***