document.activeElement gets stuck after calling focus() on an iframe
Reported by
k...@airtable.com,
Apr 23 2018
|
|||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.117 Safari/537.36 Steps to reproduce the problem: 1. Open the test page. 2. Click "Focus frame A" button, which calls focus() on the first iframe 3. Click on the second iframe. What is the expected behavior? Clicking on the second iframe should change the parent page's document.activeElement to be the second iframe. Note that after clicking on the second iframe, the second iframe does have focus, since Cmd+A will select all the text in the second iframe. Firefox behaves correctly. Safari has the same issue as Chromium. What went wrong? After calling focus() on an iframe element, clicking into other iframes doesn't change the parent page's document.activeElement value. Did this work before? N/A Does this work in other browsers? Yes Chrome version: 66.0.3359.117 Channel: stable OS Version: OS X 10.13.4 Flash Version:
,
Apr 24 2018
Able to reproduce this issue on reported version 66.0.3359.117 and latest canary 68.0.3404.0 using Windows 10, Mac 10.12.6 and Ubuntu 14.04. As this issue is seen from M-60(60.0.3112.0). Hence considering this issue as Non-Regression and marking as Untriaged. Thanks!
,
May 1 2018
|
|||
►
Sign in to add a comment |
|||
Comment 1 by krajshree@chromium.org
, Apr 24 2018