Bug 22064 - Clean up scrollXOffset/addScrollOffset stuff on RenderLayer
Summary: Clean up scrollXOffset/addScrollOffset stuff on RenderLayer
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: 2008-11-04 10:46 PST by Simon Fraser (smfr)
Modified: 2008-11-04 10:46 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2008-11-04 10:46:01 PST
Bug 5826 added some code in RenderLayer that adds a m_scrollLeftOverflow member variable for some RTL issues. So RL now has

scrollXOffset/scrollYOffset

and 

addScrollOffset/subtractScrollOffset (which got renamed via bug 21941).

Only the latter methods take m_scrollLeftOverflow into account, but hyatt thinks that m_scrollLeftOverflow is always equal to -m_scrollX. This needs cleaning up, with any special-case RTL stuff kept internal to RenderLayer.