Bug 146927

Summary: Clean up scrollOffset/scrollPosition/scrollOrigin
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: sam, thorton
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Description Simon Fraser (smfr) 2015-07-13 22:16:31 PDT
We're really confused about scrollOffset/scrollPosition/scrollOrigin.

Need to use consistent terms, possibly make it strongly typed. Need to decide on IntPoint/FloatPoint/LayoutPoint for units.

Some code to clean up:
* Move ScrollView::adjustScrollPositionWithinRange() into ScrollableArea, use it in ScrollAnimatorMac::adjustScrollPositionIfNecessary().
* Use it in ScrollView::setScrollOffset()