Bug 89144

Summary: Avoid allocating huge layers for an element with a positioned child outside of its bounds
Product: WebKit Reporter: Beth Dakin <bdakin>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: bdakin, enne, jamesr, jchaffraix, simon.fraser
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Test case none

Beth Dakin
Reported 2012-06-14 17:36:54 PDT
Created attachment 147691 [details] Test case In compositing scenarios like the one in the attached test case, we should put the gray box into its own layer, since it sits far outside of its parent, and backing store usage would be much lower that way. <rdar://problem/10719381>
Attachments
Test case (1.33 KB, text/html)
2012-06-14 17:36 PDT, Beth Dakin
no flags
Simon Fraser (smfr)
Comment 1 2012-06-14 17:39:23 PDT
Julian: I think we should modify how we accumulate regions in the overlap map, which would make this easy to fix. We need to accumulate a Region for the current compositing layer, rather than just doing a union with the region[n-1] in the overlap map.
Note You need to log in before you can comment on or make changes to this bug.