Bug 167021 - Incorrect pointer-events:none passthrough to parent
Summary: Incorrect pointer-events:none passthrough to parent
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: Safari Technology Preview
Hardware: Macintosh macOS 10.12
: P2 Normal
Assignee: Nobody
Keywords: InRadar
Depends on:
Reported: 2017-01-13 14:29 PST by Darryl Pogue
Modified: 2019-06-20 01:15 PDT (History)
6 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Darryl Pogue 2017-01-13 14:29:47 PST
Test case: https://jsfiddle.net/dpogue/p1bduqyo/2/

Clicking an element with `pointer-events: none` CSS should fire a click event targeting its parent. In this case, Safari fires the event on a parent higher up in the DOM rather than the immediate parent element.

Chrome and Firefox fire the click event with the correct parent
IE and Edge incorrectly fire the click event on the element (which is contrary to `pointer-events: none` behaviour)
Comment 1 Lucas Forschler 2019-02-06 09:18:45 PST
Mass move bugs into the DOM component.
Comment 2 Ryosuke Niwa 2019-02-06 22:07:14 PST
Pointer events are UI events.
Comment 3 Radar WebKit Bug Importer 2019-06-19 17:03:02 PDT
Comment 4 Antoine Quint 2019-06-20 01:15:52 PDT
Pointer Events != CSS pointer-events property. But yeah, this is probably the right component.