[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
Tue Jan 16 00:09:10 PST 2007


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





------- Comment #10 from darin at apple.com  2007-01-16 00:09 PDT -------
(In reply to comment #9)
> 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.

I guess that's right; I'm not sure.

I saw that CSSImportRule::insertedIntoParent() calls href() and I was wondering
why it was OK to do so if the href() might change later when we parsed a base
element.


-- 
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