Bug 33965 - Clean up code that repositions scrollbars on painting
Summary: Clean up code that repositions scrollbars on painting
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-21 12:14 PST by Simon Fraser (smfr)
Modified: 2010-01-21 12:14 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.