Bug 20438
| Summary: | WebViewWin: WebView::handleContextMenuEvent should use Frame::firstRectForRange | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Eric Seidel (no email) <eric> |
| Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | aroben, hyatt |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | PC | ||
| OS: | OS X 10.5 | ||
Eric Seidel (no email)
The current implementation is a lame copy:
bool WebView::handleContextMenuEvent(WPARAM wParam, LPARAM lParam)
// Calculate the rect of the first line of the selection (cribbed from -[WebCoreFrameBridge firstRectForDOMRange:]).
Of course the fact that firstRectForRange is on Frame is lame to begin with (and I believe only exists for easy export purposes).
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |