[Webkit-unassigned] [Bug 85437] New: Move RenderLayers z-index lists dirtying to post style change

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 2 17:17:01 PDT 2012


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

           Summary: Move RenderLayers z-index lists dirtying to post style
                    change
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jchaffraix at webkit.org
                CC: simon.fraser at apple.com


This is a follow-up of bug 84920, currently RenderLayer z-index list dirtying is done in RenderBoxModelObject::styleWillChange.

This has one downside: to tighten our code, we would rather be able to determine when we are switch from being a stacking context to a non-stacking context. We could add a pre-style change hook in RenderLayer but we already have a post-style change hook in RenderLayer::styleChanged. To avoid duplication, we should try to move the code there.

As a side note, this would also make the layer handle its low-level operation instead of delegating that to the associated RenderBoxModelObject.

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