Closed
Bug 1311283
Opened 8 years ago
Closed 8 years ago
elementFromPoint returns <img> instead of <area>
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
DUPLICATE
of bug 1227469
People
(Reporter: tom_xyz, Unassigned)
Details
(Whiteboard: [parity-chrome][parity-edge])
Attachments
(1 file)
514 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0 Build ID: 20161018030211 Steps to reproduce: 1. Go to this demo page: http://thdoan.github.io/magnify/demo-map.html 2. Execute this from the console: document.elementFromPoint(916, 263).click() Actual results: Nothing happens. Expected results: The page is supposed to redirect to Google since position 916,263 falls inside the Google rectangle of the image map. If you repeat the steps above in Chrome or Safari, then it works as expected (i.e., page redirects to Google).
Comment 1•8 years ago
|
||
STR 1. Open testcase Actual Results: img (return img element) Expected Results: area2 (return area element)
Updated•8 years ago
|
Status: UNCONFIRMED → NEW
Component: Untriaged → DOM
Ever confirmed: true
Product: Firefox → Core
Whiteboard: [parity-chrome][parity-edge]
Version: 52 Branch → Trunk
Summary: Cannot fire proper 'click' using elementFromPoint → elementFromPoint returns <img> instead of <area>
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Updated•6 years ago
|
See Also: → https://webcompat.com/issues/11767
Updated•6 years ago
|
See Also: https://webcompat.com/issues/11767 →
Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•