[Webkit-unassigned] [Bug 19453] New: CSS background-image property will make a request even if the selector is overriden

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 9 16:58:23 PDT 2008


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

           Summary: CSS background-image property will make a request even
                    if the selector is overriden
           Product: WebKit
           Version: 525.x (Safari 3.1)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: druspini at gmail.com


Using Fiddler I've found that when a CSS background-image property is overriden
with another selector, the previously declared selector still initiates a
request.

This does not happen in FF or IE, and became apparent when using a third-party
JS library that included CSS and background images we did not want to use and
thus targeted for overriding.  The 404's kept coming in though for Safari.

Example:
<html>
<body>

<style>
        .something {
                background: red url("images/foo.gif");
                width: 50px;
                height: 50px;
        }

        .something {
                background-image: none;
        }
</style>

<div class="something">
</div>
</body>
</html>


Fiddler says:
404 HTTP .... images/foo.gif


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