Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 62f87d3a9254d50d77d0feefab835c422c55e7eb
https://github.com/WebKit/WebKit/commit/62f87d3a9254d50d77d0feefab835c422c55e7eb
Author: Richard Robinson <[email protected]>
Date: 2024-07-20 (Sat, 20 Jul 2024)
Changed paths:
M LayoutTests/fast/events/mouse-click-events-expected.txt
M LayoutTests/fast/events/mouse-click-events.html
M
LayoutTests/imported/w3c/web-platform-tests/html/dom/idlharness.https_exclude=(Document_Window_HTML._)-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/html/dom/idlharness.https_include=(Document_Window)-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/html/dom/idlharness.https_include=HTML._-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/html/webappapis/scripting/events/event-handler-all-global-events-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/html/webappapis/scripting/events/event-handler-attributes-body-window-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/html/webappapis/scripting/events/event-handler-attributes-windowless-body-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/pointerevents/pointerevent_click_during_capture_mouse-auxclick-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/trusted-types/trusted-types-event-handlers-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/uievents/click/auxclick_event-expected.txt
M
LayoutTests/platform/ios/imported/w3c/web-platform-tests/html/dom/idlharness.https_include=HTML._-expected.txt
M
LayoutTests/platform/ios/imported/w3c/web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative-expected.txt
M
LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/html/dom/idlharness.https_include=HTML._-expected.txt
M LayoutTests/platform/mac-wk2/TestExpectations
M
LayoutTests/platform/mac/imported/w3c/web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative-expected.txt
M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
M Source/WebCore/Modules/notifications/Notification.cpp
M Source/WebCore/dom/Element.cpp
M Source/WebCore/dom/EventDispatcher.cpp
M Source/WebCore/dom/EventNames.json
M Source/WebCore/dom/GlobalEventHandlers.idl
M Source/WebCore/dom/MouseEvent.cpp
M Source/WebCore/dom/MouseEvent.h
M Source/WebCore/dom/mac/ImageControlsMac.cpp
M Source/WebCore/html/HTMLAttachmentElement.cpp
M Source/WebCore/html/HTMLAttributeNames.in
M Source/WebCore/html/HTMLInputElement.cpp
M Source/WebCore/html/HTMLLabelElement.cpp
M Source/WebCore/html/ImageDocument.cpp
M Source/WebCore/html/MediaDocument.cpp
M Source/WebCore/html/shadow/AutoFillButtonElement.cpp
M Source/WebCore/html/shadow/DataListButtonElement.cpp
M Source/WebCore/html/shadow/TextControlInnerElements.cpp
M Source/WebCore/mathml/MathMLSelectElement.cpp
M Source/WebCore/page/EventHandler.cpp
M Source/WebCore/page/EventHandler.h
M Source/WebCore/page/Quirks.cpp
Log Message:
-----------
[Pointer Events] Implement the `auxclick` event
https://bugs.webkit.org/show_bug.cgi?id=22382
rdar://25988904
Reviewed by Abrar Rahman Protyasha and Darin Adler.
Implement the `auxclick` UI event as per the corresponding UI events
specification (https://w3c.github.io/uievents/#event-type-auxclick).
Also adds a runtime feature flag to control its enablement.
* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebCore/Modules/notifications/Notification.cpp:
(WebCore::Notification::eventListenersDidChange):
* Source/WebCore/dom/Element.cpp:
(WebCore::isCompatibilityMouseEvent):
(WebCore::dispatchPointerEventIfNeeded):
(WebCore::Element::dispatchMouseEvent):
* Source/WebCore/dom/EventDispatcher.cpp:
(WebCore::EventDispatcher::dispatchEvent):
* Source/WebCore/dom/EventNames.json:
* Source/WebCore/dom/GlobalEventHandlers.idl:
* Source/WebCore/dom/MouseEvent.cpp:
(WebCore::MouseEvent::canTriggerActivationBehavior):
* Source/WebCore/dom/mac/ImageControlsMac.cpp:
(WebCore::ImageControlsMac::handleEvent):
* Source/WebCore/html/HTMLAttachmentElement.cpp:
(WebCore::HTMLAttachmentElement::updateSaveButton):
* Source/WebCore/html/HTMLAttributeNames.in:
* Source/WebCore/html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::willDispatchEvent):
(WebCore::HTMLInputElement::defaultEventHandler):
* Source/WebCore/html/HTMLLabelElement.cpp:
(WebCore::HTMLLabelElement::defaultEventHandler):
* Source/WebCore/html/ImageDocument.cpp:
(WebCore::ImageEventListener::handleEvent):
* Source/WebCore/html/MediaDocument.cpp:
(WebCore::MediaDocument::defaultEventHandler):
* Source/WebCore/html/shadow/AutoFillButtonElement.cpp:
(WebCore::AutoFillButtonElement::defaultEventHandler):
* Source/WebCore/html/shadow/DataListButtonElement.cpp:
(WebCore::DataListButtonElement::defaultEventHandler):
* Source/WebCore/html/shadow/TextControlInnerElements.cpp:
(WebCore::SearchFieldCancelButtonElement::defaultEventHandler):
* Source/WebCore/mathml/MathMLSelectElement.cpp:
(WebCore::MathMLSelectElement::defaultEventHandler):
* Source/WebCore/page/EventHandler.cpp:
(WebCore::EventHandler::handleMouseReleaseEvent):
* Source/WebCore/page/Quirks.cpp:
(WebCore::Quirks::triggerOptionalStorageAccessQuirk const):
Canonical link: https://commits.webkit.org/281169@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