Bug 30425

Summary: Compositing layers not correctly updated after partial layout
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Attachments:
Description Flags
Testcase
none
WIP patch
none
Patch mitz: review+

Description Simon Fraser (smfr) 2009-10-15 21:13:05 PDT
Created attachment 41263 [details]
Testcase

When a partial layout happens (with a non-null subroot), some compositing layers can be left un-updated, and thus display in the wrong positions. This happens because RenderLayerBacking::updateAfterLayout() assumes that some parent layer is going to update the geometry this layer, but, in the case of a partial layout, the parent layer may not be affected by layout.
Comment 1 Simon Fraser (smfr) 2009-10-15 21:34:52 PDT
Created attachment 41264 [details]
WIP patch
Comment 2 Simon Fraser (smfr) 2009-10-18 09:52:39 PDT
Created attachment 41380 [details]
Patch
Comment 3 mitz 2009-10-18 10:04:07 PDT
Comment on attachment 41380 [details]
Patch

> +        When a partial layout happend, for example as the result of a postion-change-only

Typo: happend.

r=me
Comment 4 Simon Fraser (smfr) 2009-10-18 10:18:03 PDT
http://trac.webkit.org/changeset/49753