Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 3c69d0dd8ba0f144f14946792a8209d67712c0e8 https://github.com/WebKit/WebKit/commit/3c69d0dd8ba0f144f14946792a8209d67712c0e8 Author: Lily Spiniolas <lily_spinio...@apple.com> Date: 2025-09-15 (Mon, 15 Sep 2025)
Changed paths: M LayoutTests/imported/w3c/web-platform-tests/pointerevents/pointerevent_sequence_at_implicit_release_on_click_mouse-expected.txt M LayoutTests/imported/w3c/web-platform-tests/pointerevents/pointerevent_sequence_at_implicit_release_on_click_pen-expected.txt M Source/WebCore/page/EventHandler.cpp Log Message: ----------- Extra boundary events may fire when pointer capture released https://bugs.webkit.org/show_bug.cgi?id=274642 rdar://128669549 Reviewed by Abrar Rahman Protyasha. Since `EventHandler::updateMouseEventTargetNode` will dispatch boundary events, call it in `EventHandler::pointerCaptureElementDidChange` only when pointer capture is received, not released. When capture is released, the PointerCaptureController already handles the appropriate boundary events. This behavior is tested by `imported/w3c/web-platform-tests/pointerevents/pointerevent_sequence_at_implicit_release_on_click.html`. * LayoutTests/imported/w3c/web-platform-tests/pointerevents/pointerevent_sequence_at_implicit_release_on_click_mouse-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/pointerevents/pointerevent_sequence_at_implicit_release_on_click_pen-expected.txt: * Source/WebCore/page/EventHandler.cpp: (WebCore::EventHandler::pointerCaptureElementDidChange): Canonical link: https://commits.webkit.org/299977@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes