Issue metadata
Sign in to add a comment
|
Focus is not working for OOPIF-<webview> |
||||||||||||||||||||||
Issue descriptionVersion: 51.0.2701.0 (Developer Build) (64-bit) OS: All What steps will reproduce the problem? (1) Download the attached app. Got to chrome:://extensions, enable "Developer Mode", and load the app as an unpacked extension. (2) Start the app and create a <webview>. Navigate the <webview> to a web page. (3) Focus the text input field on the embedder (app) and press tab until <webview> takes focus. What is the expected output? The webview should take focus. What do you see instead? The webview does not take focus. This seems to be a regression issue.
,
Apr 7 2016
Looking at the inspector, the tag looks like: <webview tabindex="-1">... This is probably it can't be focused with the tab key.
,
Apr 7 2016
I believe the behavior is different for <webview>. First, this does not happen in BrowserPlugin-based <webview>. Second, even clicking mouse does not give <webview> focus. However, if calling "document.querySelector('webview').focus()" in the inspector window will make this work although the caret still does not show (but you can type in the input fields).
,
Apr 7 2016
This should be tested with --use-cross-process-frames-for-guests switch.
,
Apr 7 2016
I also think the tabindex="-1" is there to avoid the <webview> frame itself taking focus and the transition from embedder to the guest becomes seamless. wjmclean@ should have a better opinion on this.
,
May 5 2016
Duping into issue 600395 which is where I've been keeping up to date. |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by ekaramad@chromium.org
, Apr 6 20161.5 KB
1.5 KB Download