|Summary:||div with border-radius does not redraw properly if element inside div is resized|
|Product:||WebKit||Reporter:||Mike Filippone (donkeyentertain) <mikef>|
|Component:||Layout and Rendering||Assignee:||Nobody <webkit-unassigned>|
|Severity:||Normal||CC:||dev+webkit, dominic.germain, mitz, mrowe|
|OS:||OS X 10.4|
Description Mike Filippone (donkeyentertain) 2006-09-02 20:00:45 PDT
If a div with a border-radius has another element inside of it, and that element is resized, the redraw of the div with the border-radius will be messed up. This bug seems to occur when the resize is called from (at least) an onClick() or a setTimeout(). However, if the resize is called in the body onLoad, or if it's enclosed in a script tag executed on the page's loading, the div will redraw properly.
Comment 1 Mike Filippone (donkeyentertain) 2006-09-02 20:04:14 PDT
Created attachment 10374 [details] reduction/test case
Comment 2 Mark Rowe (bdash) 2006-09-02 22:46:35 PDT
I can reproduce this with ToT. It appears to be an invalidation issue. Thanks for the great reduction Mike!
Comment 3 mitz 2006-11-27 12:55:48 PST
*** Bug 11098 has been marked as a duplicate of this bug. ***
Comment 4 mitz 2006-11-27 12:56:38 PST
Bug 6301 was similar to this, and I think you can improve the fix for that bug to cover this bug as well.
Comment 5 mitz 2006-12-26 14:30:19 PST
Created attachment 12045 [details] Account for border-radius on the moving edges
Comment 6 Darin Adler 2006-12-27 22:09:59 PST
Comment on attachment 12045 [details] Account for border-radius on the moving edges r=me