Mouse down/up event missing when clicking outside of iframe in HTML5

RESOLVED INCOMPLETE

Status

()

Core
Event Handling
RESOLVED INCOMPLETE
5 years ago
2 years ago

People

(Reporter: jarol1, Unassigned)

Tracking

23 Branch
x86_64
Windows 7
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

5 years ago
Created attachment 807156 [details]
iframe_bugtest.html

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0 (Beta/Release)
Build ID: 20130814063812

Steps to reproduce:

HTML 5 page has a link and iframe with some content (external page). I browsed the page inside iframe - clicked on links, selected text etc. Then I clicked the link outside iframe quickly - moved cursor above the link and clicked without any delay.

iframe_bugtest.html is attached to bug report for demonstration


Actual results:

For about 1-2 seconds after moving mouse over the link outside iframe mouse down/click events are not fired at all after a click. When user waits and then clicks, the mouse down/click event will be fired. The same with mouse up event.

Mouse over event works fine immediately.

This problem occurs only when <!DOCTYPE HTML> is used (HTML5) and when the html page is hosted in some web container (like Tomcat). apache-tomcat-7.0.32 was used with standard configuration and only single html file in root web context. If <!DOCTYPE HTML> is not used, then mouse down/up/click events work immediately.

If html page is loaded directly from disk, events work correctly even if <!DOCTYPE HTML> is used.


Expected results:

Mouse up/down/click events should be fired immediately when user moves outside of iframe and clicks on link.

In IE 9.0.8112.16421 and Chrome 29.0.1547.66 it works as expected.
(Reporter)

Updated

5 years ago
Keywords: html5
Attachment #807156 - Attachment mime type: text/plain → text/html
Still an Issue?
I see no Issues clicking the link and counting to happen.
Flags: needinfo?(jarol1)
Keywords: html5

Comment 2

2 years ago
Hello Reporter, thank for reporting this issue. I tried duplicating this problem on the latest released version of Firefox (43.0.4) by navigating to the HTML page (that you attached) installed on Apache Tomcat 7.0.67 but did not see the problem that you observed. Mouse click performed as expected and the counter increased right away. I tried on Windows 7 64 bit machine using:

Name 	Firefox
Version 	43.0.4
Build ID 	20160105164030
Update Channel 	release
User Agent 	Mozilla/5.0 (Windows NT 6.1; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0

If you have not upgraded so far, may I request you to try again on the latest FF version and let us know if you still see the problem.
Component: Untriaged → Event Handling
Product: Firefox → Core

Comment 3

2 years ago
Resolved-Incomplete due to time since last communication/update by reporter.
Please feel free to reopen if the error occurs in a current Firefox version.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → INCOMPLETE
Flags: needinfo?(jarol1)
You need to log in before you can comment on or make changes to this bug.