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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Nov 29 17:46:03 PST 2009


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





--- Comment #6 from Peter Bloomfield <pbloomfield at bellsouth.net>  2009-11-29 17:46:03 PST ---
(In reply to comment #5)
> (From update of attachment 43689 [details])
> Can't you already do this via the DOM?
> window.getSelection().getRangeAt(0).getBoundingClientRect()
> 
> I assume that gtk webkit exposes some sort of DOM bindings, no?  Please feel
> free to r? this again if I'm wrong.

That would be pretty cool!  I'd much rather do this within the existing API if
possible--perhaps one of the WebKitGtk devs could jump in.  I'm new to WebKit,
and basically working from <URL:http://webkitgtk.org/reference/index.html>, and
I don't see anything that provides that functionality--but I could easily have
missed it.

If something is planned, I believe we could wait for it, and use the more
general solution instead of pushing for piecemeal fixes like the present patch.

But if not, I guess we have no alternative :(

-- 
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