Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5da0cb3702d0173c3dff499c70c8af3e6c416a06
https://github.com/WebKit/WebKit/commit/5da0cb3702d0173c3dff499c70c8af3e6c416a06
Author: Richard Robinson <[email protected]>
Date: 2024-07-21 (Sun, 21 Jul 2024)
Changed paths:
M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
M Source/WebCore/dom/PointerEvent.cpp
M Source/WebCore/dom/PointerEvent.h
M Source/WebCore/dom/PointerEvent.idl
Log Message:
-----------
[Pointer Events] Add a stub implementation for the `getCoalescedEvents`
function of the PointerEvent interface
https://bugs.webkit.org/show_bug.cgi?id=276832
rdar://132105605
Reviewed by Tim Nguyen.
Add a stub implementation for the `getCoalescedEvents` function of the
`PointerEvent` interface,
as per the corresponding UI events specification
(https://w3c.github.io/pointerevents/#dom-pointerevent-getcoalescedevents).
Also slightly refactor the `PointerEvent` constructors to allow for explicitly
setting the value of
`bubbles` and `isCancelable`, which must be set to `false` for the coalesced
events.
Also adds a runtime feature flag to control its enablement.
* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebCore/dom/PointerEvent.cpp:
(WebCore::PointerEvent::create):
(WebCore::PointerEvent::PointerEvent):
(WebCore::PointerEvent::getCoalescedEvents):
* Source/WebCore/dom/PointerEvent.h:
* Source/WebCore/dom/PointerEvent.idl:
Canonical link: https://commits.webkit.org/281173@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes