[Webkit-unassigned] [Bug 12214] REGRESSION: css image with relative path is not loaded, when both base element and dir attribute in the html tag are present

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jan 13 22:01:14 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=12214





------- Comment #9 from zbujtas at gmail.com  2007-01-13 22:01 PDT -------
Thanks for the review. i'll fix the patch and add a test case.

>It looks to me like this will not work if the style sheet has an @import rule
>in it. The @import rule will load based on the original style sheet href, not
>the updated one.
in case of external style sheet, I think the url in the @import rule is
relative to the style sheet's url (unless it is an absolute url) so the base
element in the .html should/can not alter it, while in case of inline style
sheet, if i had something like this 
<body style="@import url(background_image_is_set_here.css);"> then i believe,
my patch would update the inline stylesheet's href and load the .css from the
right location.
now, I'm wondering if you meant something completly different.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list