NEW301033
mouse/pointer event target is `<img>` rather than `<area>` on image map
https://bugs.webkit.org/show_bug.cgi?id=301033
Summary mouse/pointer event target is `<img>` rather than `<area>` on image map
Masayuki Nakano
Reported 2025-10-18 05:45:46 PDT
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
Radar WebKit Bug Importer
Comment 1 2025-10-25 05:46:10 PDT
Note You need to log in before you can comment on or make changes to this bug.