Datepicker in iframe with "chrome-extension://" scheme
Reported by
anton.si...@gmail.com,
Jul 17 2017
|
||||
Issue description
UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36
Steps to reproduce the problem:
1. Create test.html file within extension with following content:
```
<html>
<head>
</head>
<body>
<div class="form-group">
<input type="date" class="form-control">
</div>
</body>
</html>
```
2. Make it web accessible.
3. Open https://gooogle.com
4. Run following code in console
```
var script = document.createElement('iframe');
script.setAttribute('src', "chrome-extension://<extenion_id>/test.html");
document.body.appendChild(script);
```
5. Try fold and unfold date picker
What is the expected behavior?
Date picker UI should be unfolded on each click on triangle icon.
What went wrong?
Date picker UI unfolded only once and then input element become inaccessible.
Test extension in attachment
Did this work before? N/A
Does this work in other browsers? N/A
Chrome version: 59.0.3071.115 Channel: stable
OS Version: 10.0
Flash Version:
,
Jul 18 2017
yup, those steps are right. BTW, there is no issue on Chromium ( 61.0.3151.0 )
,
Jul 18 2017
Thank you for providing more feedback. Adding requester "brajkumar@chromium.org" to the cc list and removing "Needs-Feedback" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jul 18 2017
This appears to work fine on Ubuntu 14.04 with 59.0.3071.115 but doesn't appear to work on Windows. Note that you need to replace <extension_id> with the installed id of the extension.
,
Jul 19 2017
It seems this is specific to google.com content. The appended iframe is rendered behind some transparent elements of google.com. To handle user-interaction, the iframe needs to have more CSS properties such as position:absolute, z-index.
,
Jul 19 2017
I don't think that it's google-related problem. I've tested on various page, even on empty localhost page.
,
Jul 19 2017
#6, can you list some URLs at which this issue occurs, except google.com?
,
Jul 19 2017
Any webpage. For example http://www.mcspotlight.org/index.shtml
,
Jul 21 2017
> Any webpage. For example http://www.mcspotlight.org/index.shtml I couldn't reproduce this issue with www.mcspotlight.org. |
||||
►
Sign in to add a comment |
||||
Comment 1 by brajkumar@chromium.org
, Jul 18 2017Components: Blink
Labels: Needs-Feedback