[Webkit-unassigned] [Bug 68192] Add method to scroll current node to specific position in Chromium WebKit API

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 16 03:48:00 PDT 2011


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





--- Comment #10 from Fady Samuel <fsamuel at chromium.org>  2011-09-16 03:47:58 PST ---
(From update of attachment 107563)
View in context: https://bugs.webkit.org/attachment.cgi?id=107563&action=review

>> Source/WebKit/chromium/src/WebViewImpl.cpp:1832

> 
> how do you know that the focused node is part of the main frame?
> what if the focused node is part of a subframe?

That's a good point. I think the correct, and most general behavior here is, given a path of frames to the mainframe, we should center each frame on the screen along the way. E.g. MainFrame->subFrame->inputbox. inputbox should be centered in subFrame and subFrame should be centered in MainFrame.

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