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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 11 11:11:40 PST 2007


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

           Summary: css image with relative path is not loaded, when both
                    base element and dir attribute in the html tag is
                    present
           Product: WebKit
           Version: 420+ (nightly)
          Platform: PC
               URL: https://accountservices.passport.net/pp450/cache/Cobrand
                    ing.srf
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: zbujtas at gmail.com


When html tag has dir attribute and the base element is present in the head,
then images (like background image), in inline css, with relative path are not
loaded.

CSSStyleSheet is constructed (CSSStyleSheet* Document::elementSheet()) when
<html dir="ltr"> tag is parsed. The issue here is that m_elemSheet's href does
not get updated, when the document's base url is changed by the <base element.
see the test case.


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