Bug 22120

Summary: [Transforms] convertToContainingWindow()/convertFromContainingWindow() is not transforms-aware
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: hyatt
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Bug Depends on: 22118, 22119    
Bug Blocks: 15670    

Simon Fraser (smfr)
Reported 2008-11-06 17:51:17 PST
Various bits of code call convertToContainingWindow() and convertFromContainingWindow() to convert points from window coords to or from the coords of some widget. These methods are not transform-aware, but need to be.
Attachments
Simon Fraser (smfr)
Comment 1 2008-12-28 10:45:29 PST
It seems like we'll have to bring WidgetClient back in order to fix this. Most of the convertTo/FromContainingWindow calls are in Scrollbar, whicih is in platform/, so we'll need to call out into rendering code if we wish to map the points via the render tree.
Simon Fraser (smfr)
Comment 2 2009-01-06 13:01:22 PST
To fix scrollbar, we should change things so that scrollbar receives local coords for mouse movement.
Simon Fraser (smfr)
Comment 3 2009-07-07 21:03:46 PDT
Note You need to log in before you can comment on or make changes to this bug.