Bug 22120
Summary: | [Transforms] convertToContainingWindow()/convertFromContainingWindow() is not transforms-aware | ||
---|---|---|---|
Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> |
Component: | Layout and Rendering | Assignee: | 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)
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Simon Fraser (smfr)
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)
To fix scrollbar, we should change things so that scrollbar receives local coords for mouse movement.
Simon Fraser (smfr)
Fixed in http://trac.webkit.org/changeset/45478