Issue metadata
Sign in to add a comment
|
<webview>: TakeFocus sometimes doesn't work with oopif |
||||||||||||||||||||||||
Issue descriptionSee test case here: https://codereview.chromium.org/2732913005/ The main issue is that if the next/previous element in focus order relative to the webview is focused and the webview is focused by the browser (clicking in the webview instead of tabbing in), then it is impossible to tab out of the webview in that direction For example: <button id=a><webview><button id=b>. Start with b focused -> click the webview -> repeated tab keypressed. In this case focus never moves out of the webview and onto b. Nothing happens in the embedder which should be refocusing b due to https://cs.chromium.org/chromium/src/third_party/WebKit/Source/core/page/FocusController.cpp?sq=package:chromium&dr&l=1001
,
Mar 8 2017
When the focus change into the guest webview is initiated by the embedder (handling a tab key event that moves into the webview), the owner document clears the focused element and the focuses the webview's iframe. This is why you can normally get out of the webview when reaching the last focusable element in the inner document.
,
Mar 9 2017
|
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by aval...@chromium.org
, Mar 8 2017