Bug 22064

Summary: Clean up scrollXOffset/addScrollOffset stuff on RenderLayer
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: hyatt, mitz
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   

Simon Fraser (smfr)
Reported 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.
Attachments
Note You need to log in before you can comment on or make changes to this bug.