Open Bug 964381 Opened 11 years ago Updated 3 years ago

div with overflow hidden emits onclick event when it is no needed.

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

26 Branch
x86_64
Windows 7
defect

Tracking

()

UNCONFIRMED

People

(Reporter: psivolob, Unassigned)

Details

Attachments

(1 file)

Attached file clicktest.html
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0 (Beta/Release) Build ID: 20131205075310 Steps to reproduce: ------------------------------------------------ <div style="background-color: red; overflow: hidden;" onclick="alert('clicked')">Test - mousedown - mousemove - mouseup</div> ------------------------------------------------ mouse down -> mouse moveout(outside of the element) -> mouseup div with overflow hidden Actual results: you get onclick event Expected results: onclick should not happen
Component: Event Handling → User events and focus handling
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: