[Webkit-unassigned] [Bug 31759] New: WebKitWebView needs API to scroll to selection

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 20 18:53:33 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=31759

           Summary: WebKitWebView needs API to scroll to selection
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Enhancement
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: pbloomfield at bellsouth.net


WebKitWebView API supports searching the WebView for a string, but if the
WebView is not contained directly in a GtkScrolledWindow, the found string is
selected, but not scrolled into view.  The use-case is a WebKitWebView packed
in a GtkVBox, which is in turn contained in a GtkScrolledWindow.  One fix is to
expose the bounds of the found, and selected, text.

Following patch implements:

void webkit_web_view_get_selection_bounds(WebKitWebView *web_view, GdkRectangle
*selection_bounds);

and the next attachment is a test-case showing its use.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list