[webkit-dev] Focus traversal question
Artem.Ananiev at Sun.COM
Thu Nov 1 06:20:30 PDT 2007
To embed an instance of WebKit component into the application, it should be a
good 'citizen' of focus traversal chain. For instance, when focus is in the
component previous to WebKit and user presses TAB key, focus should be moved to
the first focusable component on the WebKit page; while focus is on the last
focusable component on the page and TAB is pressed, focus should be traversed
out of WebKit.
Sometimes, for example, when I press mouse on any text field on the page, WebKit
requests focus from the platform (Widget::setFocus() method). But I don't see
any platform callbacks when focus should be traversed out of WebKit. One more
question is about first and last focusable components on the page, how can I
find them? It is required to implement both forward and reverse traversal chains.
More information about the webkit-dev