Open Bug 1170580 Opened 9 years ago Updated 2 years ago

click events not delivered with trivial CSS class change

Categories

(Core :: DOM: Events, defect, P4)

38 Branch
Unspecified
Windows 7
defect

Tracking

()

UNCONFIRMED

People

(Reporter: michael.enke, Unassigned)

Details

Attachments

(1 file)

Attached file ff-error.html
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
Build ID: 20150525141253

Steps to reproduce:

I created a toggle-button with some div elements.
Padding makes the button appears to go down when pressed (see attached file).


Actual results:

In case I click very close below the "button"-text or very close to the right or bottom edge of the outer div, I get mousedown and mouseup events, but no click event.
In other places click event is delivered.
It's possible to widen the "bad" area by increasing the padding in #t_inset.active (e.g. x10)


Expected results:

I should get the mousedown, mouseup and click event.
If I comment out the t_inset.className in attached file, problem does not happen.

It works ok in Chrome and IE.
OS: Unspecified → Windows 7
Priority: -- → P4
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: