Bug 27022

Summary: Repaint issue after layer drops out of composited mode.
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: mitz
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Attachments:
Description Flags
Testcase
none
Patch, testcase, changelogs mitz: review+

Simon Fraser (smfr)
Reported 2009-07-06 22:49:14 PDT
Created attachment 32360 [details] Testcase The attached testcase shows an issue where an element is not correctly repainted after dropping out of compositing mode. To reproduce: 1. Hover over the pink square and wait for the elements to stop transitioning 2. Unhover. 3. Note how the "width" box does not redraw correctly. The issue is that m_repaintRect which is cached inside the RenderLayer was computed relative to the compositing ancestor, and that ancestor changes when the layer ceases to be composited.
Attachments
Testcase (1.94 KB, text/html)
2009-07-06 22:49 PDT, Simon Fraser (smfr)
no flags
Patch, testcase, changelogs (8.22 KB, patch)
2009-07-07 15:41 PDT, Simon Fraser (smfr)
mitz: review+
Simon Fraser (smfr)
Comment 1 2009-07-07 15:41:42 PDT
Created attachment 32398 [details] Patch, testcase, changelogs
mitz
Comment 2 2009-07-07 16:06:13 PDT
Comment on attachment 32398 [details] Patch, testcase, changelogs r=me
Simon Fraser (smfr)
Comment 3 2009-07-07 17:19:36 PDT
Note You need to log in before you can comment on or make changes to this bug.