| Summary: | Image menu is offset by the amount the view is scrolled | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Brady Eidson <beidson> | ||||
| Component: | WebKit Misc. | Assignee: | Brady Eidson <beidson> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | bdakin | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Mac | ||||||
| OS: | All | ||||||
| Attachments: |
|
||||||
|
Description
Brady Eidson
2014-05-07 14:06:30 PDT
Created attachment 231021 [details]
Patch v1
Comment on attachment 231021 [details] Patch v1 View in context: https://bugs.webkit.org/attachment.cgi?id=231021&action=review > Source/WebKit/mac/WebCoreSupport/WebContextMenuClient.mm:433 > IntPoint point = frameView->contentsToRootView(page->contextMenuController().hitTestResult().roundedPointInInnerNodeFrame()); > + point.moveBy(frameView->scrollPosition()); I think you want contentsToWindow instead of contentsToRootView, right? And then you won't need to remove the scrollPosition yourself. |