Bug 33965

Summary: Clean up code that repositions scrollbars on painting
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   

Description Simon Fraser (smfr) 2010-01-21 12:14:31 PST
Bug 33927 fixed an issue with plugin widgets caused by the fact that we use tx,ty to position widgets during painting. This is wrong, since tx and ty may be relative to some compositing layer.

The same issue exists with scrollbars, which get repositioned in RenderLayer::positionOverflowControls(). We should update the scrollbar positions eagerly after scrolling, as we do for RenderWidgets.