Summary: | WK2/NetscapePlugin: Incorrect mouse event coordinates when frameScaleFactor != 1. | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Andreas Kling <kling> | ||||||
Component: | Plug-ins | Assignee: | Andreas Kling <kling> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | andersca | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Andreas Kling
2011-12-09 13:24:36 PST
Created attachment 118625 [details]
Patch
Comment on attachment 118625 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=118625&action=review I think you should be able to write a plug-in test for this. Maybe platform/mac/plugins/convert-point.html could be extended to also run the same tests when there's a scale factor applied. > Source/WebKit2/WebProcess/Plugins/PluginView.cpp:-709 > - // FIXME: Just passing a translation matrix isn't good enough. I think you can keep this comment, but change it to say that we don't get the right coordinates for transformed plug-ins. Created attachment 118698 [details]
Patch v2
Same patch with the FIXME tweaked and a layout test.
Comment on attachment 118698 [details] Patch v2 Clearing flags on attachment: 118698 Committed r102540: <http://trac.webkit.org/changeset/102540> All reviewed patches have been landed. Closing bug. |