Bug 301033
| Summary: | mouse/pointer event target is `<img>` rather than `<area>` on image map | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Masayuki Nakano <masayuki> |
| Component: | UI Events | Assignee: | Abrar Rahman Protyasha <a_protyasha> |
| Status: | NEW | ||
| Severity: | Normal | CC: | cdumez, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=15035 | ||
Masayuki Nakano
When you over mouse cursor over a shape of an `<area>` on an image map, Safari targets the `<img>` for mouse/pointer events. However, the other browsers target the corresponding `<area>`.
There is no definition in any standards about this case so that I filed a spec issue:
https://github.com/w3c/uievents/issues/404
And I added WPTs about this and when the image map definition is changed while the mouse cursor is over the image map:
* https://wpt.fyi/results/uievents/mouse/mouse_boundary_events_on_image_map.html?label=experimental&label=master&aligned
* https://wpt.fyi/results/pointerevents/pointerevent_boundary_events_on_image_map.html?label=experimental&label=master&aligned
This may be a dup of bug 15035.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/163399651>