[Webkit-unassigned] [Bug 62990] New: Background-image not applied if the element is not in the DOM

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 20 07:48:35 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=62990

           Summary: Background-image not applied if the element is not in
                    the DOM
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Images
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: martin.wittemann at 1und1.de


Created an attachment (id=97800)
 --> (https://bugs.webkit.org/attachment.cgi?id=97800&action=review)
Test-Case

We have build a simple test-case to reproduce this issue. Seems like its a regression because this problem does not exists in Chrome stable but in Chrome beta and all newer versions. Also the Webkit nightly from today had this issue.

Brief description of what we do:
We are adding a DIV element to the DOM dynamically and setting a CSS background image. After a second, we remove the element from the DOM and again a second later, we change the background image's value and add it back to the DOM. Unfortunately, the old value is still present. Adding the DIV to the DOM before we change the background image works as expected.

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



More information about the webkit-unassigned mailing list