Open
Bug 1610659
Opened 6 years ago
Updated 2 years ago
Click event on <area> is not triggered when clicking after setPointerCapture() on <area>
Categories
(Core :: DOM: Events, defect, P3)
Tracking
()
NEW
People
(Reporter: soniarode, Unassigned)
References
(Blocks 1 open bug, )
Details
(Keywords: parity-chrome, testcase)
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36
Steps to reproduce:
I created https://jsfiddle.net/hkdjLr1f/2/ to demonstrate. It reproduces consistently.
- Create an <img> with usemap and a corresponding <map><area>
- Add a listener to <area> pointerdown that calls setPointerCapture() on the <area>
- Click the <area>
Actual results:
pointerdown and pointerup events are fired.
Expected results:
pointerdown, pointerup, and click events are fired.
Comment 1•6 years ago
|
||
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0
20200120154412
Status: UNCONFIRMED → NEW
Has STR: --- → yes
Component: Untriaged → DOM: Events
Ever confirmed: true
Keywords: parity-chrome,
testcase
Product: Firefox → Core
Comment 2•6 years ago
|
||
One wpt test that might be related is this:
https://wpt.fyi/results/pointerevents/pointerevent_click_during_capture.html
Feel free to update the test as well with new element types such as <area> thing mentioned here.
Updated•5 years ago
|
Severity: normal → S3
Updated•4 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•