Summary: | Compositing layers not correctly updated after partial layout | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> | ||||||||
Component: | Layout and Rendering | Assignee: | Simon Fraser (smfr) <simon.fraser> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | ||||||||||
Priority: | P2 | ||||||||||
Version: | 528+ (Nightly build) | ||||||||||
Hardware: | Mac | ||||||||||
OS: | OS X 10.5 | ||||||||||
Attachments: |
|
Created attachment 41264 [details]
WIP patch
Created attachment 41380 [details]
Patch
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 |
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.