New issue
Advanced search Search tips

Issue 698044 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Mar 2017
Cc:
Components:
EstimatedDays: ----
NextAction: 2017-03-20
OS: Linux
Pri: 2
Type: Bug-Regression



Sign in to add a comment

Can't click invisible content positioned over an iframe

Reported by df...@lingotek.com, Mar 2 2017

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36

Steps to reproduce the problem:
1. Inject an iframe onto a webpage
2. Inject another html element (such as a div) on a webpage. Position the div so that it is over the iframe but has a higher z-index. The element must also be invisible, no background color, no border, no opacity. Add some kind of event listener, such as onmousedown or onclick to this invisible div.
3. When you click or try and interact with the invisible element, nothing happens. The events will not fire. It appears that even if the invisible element has a higher z-index and should be available to interact with, it doesn't work. If the element is not placed above an iframe then it still behaves as expected. If the invisible element becomes visible (given a background color or border or some other attribute) users are able to interact with it again.

What is the expected behavior?
Invisible html elements placed over an iframe should trigger an on click or other event listener. 

What went wrong?
I used to be able to click an invisible html element placed over an iframe and have it trigger an on click or on drag event. The invisible handle serves as a way for users to drag the injected iframe around the screen.

Did this work before? Yes 56.0.2924.87 I think, the latest update (56.0.2924.110) seems to have caused it 

Chrome version: 56.0.2924.87  Channel: stable
OS Version: Mint
Flash Version:
 
Cc: rbyers@chromium.org
Components: -Blink Blink>HitTesting
Labels: Needs-Feedback
NextAction: 2017-02-16
Seems to be working fine for me in Chrome Linux 57.0.2984.0 using this simple repro (click the top-left of the iframe): http://output.jsbin.com/wijayug

Can you provide a reproduction?
Labels: PaintTeamTriaged-20170303 BugSource-User

Comment 3 by df...@lingotek.com, Mar 7 2017

Hmm, that example was working for me as well. Maybe it is because I am injecting the iframe via a chrome extension? I don't have an easily accessible reproduction at the moment, but I can work on one.
Project Member

Comment 4 by sheriffbot@chromium.org, Mar 7 2017

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "rbyers@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
Labels: Needs-Feedback
NextAction: 2017-03-20
Thanks for the info. We'll still need something to reproduce the issue, so marking the bug back to awaiting feedback.
Status: WontFix (was: Unconfirmed)
Closing due to lack of feedback. We can re-open when feedback is available.

Sign in to add a comment