Open Bug 1697971 Opened 3 years ago Updated 2 years ago

Click events doesn't fire for "interactive" elements

Categories

(Core :: DOM: Core & HTML, defect)

defect

Tracking

()

People

(Reporter: saschanaz, Unassigned)

References

Details

Attachments

(1 file)

Attached file 1696639.html
  1. Open the attachment
  2. Drag from the inside of each element to the outside of it
  3. See the popup message opens (via window.onclick)

Expected: Click events should fire as in WebKit/Blink
Actual: No click events

Being interactive follows HTML but I don't think it requires suppressing click events.

Assignee: nobody → krosylight
Severity: -- → S3

Changing the behavior affects several elements, does it look okay to you or do we have a reason to keep the current behavior?

Flags: needinfo?(bugs)

We changed our model to check interactive elements since that is what Blink did.
And button handling in general was part of that https://bugzilla.mozilla.org/show_bug.cgi?id=1089326

Last time I checked Blink's source code, they had still some special cases for interactive content, but perhaps those have been removed?
Worth to check. (It is after all quite regression risky to change this, if we don't follow the model others have exactly.)

Flags: needinfo?(bugs)

Unassigning myself from inactive bugs.

Assignee: krosylight → nobody
See Also: → 1653882, 1089326
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: