Bug 20438

Summary: WebViewWin: WebView::handleContextMenuEvent should use Frame::firstRectForRange
Product: WebKit Reporter: Eric Seidel (no email) <eric>
Component: New BugsAssignee: 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)
Reported 2008-08-18 17:21:24 PDT
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
Note You need to log in before you can comment on or make changes to this bug.