[webkit-changes] [WebKit/WebKit] 5256dc: Remove ENABLE_MOUSE_FORCE_EVENTS directive

Anne van Kesteren noreply at github.com
Sat Jan 27 01:22:22 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5256dc75bf2e7720c233fded2a89fd99eab96825
      https://github.com/WebKit/WebKit/commit/5256dc75bf2e7720c233fded2a89fd99eab96825
  Author: Anne van Kesteren <annevk at annevk.nl>
  Date:   2024-01-27 (Sat, 27 Jan 2024)

  Changed paths:
    M LayoutTests/fast/dom/event-handler-attributes-expected.txt
    M LayoutTests/fast/dom/event-handler-attributes.html
    M Source/WTF/wtf/PlatformEnable.h
    M Source/WebCore/dom/Element.cpp
    M Source/WebCore/dom/GlobalEventHandlers.idl
    M Source/WebCore/dom/MouseEvent.idl
    M Source/WebCore/html/HTMLBodyElement.idl
    M Source/WebCore/page/EventHandler.cpp

  Log Message:
  -----------
  Remove ENABLE_MOUSE_FORCE_EVENTS directive
https://bugs.webkit.org/show_bug.cgi?id=268079

Reviewed by Ryosuke Niwa and Darin Adler.

This has the benefit of allowing us to add test coverage which reveals
we are inconsistent between the body and frameset elements. This PR
does not address that however. It's a pure cleanup.

* LayoutTests/fast/dom/event-handler-attributes-expected.txt:
* LayoutTests/fast/dom/event-handler-attributes.html:
* Source/WTF/wtf/PlatformEnable.h:
* Source/WebCore/dom/Element.cpp:
(WebCore::Element::dispatchMouseForceWillBegin):
* Source/WebCore/dom/GlobalEventHandlers.idl:
* Source/WebCore/dom/MouseEvent.idl:
* Source/WebCore/html/HTMLBodyElement.idl:
* Source/WebCore/page/EventHandler.cpp:
(WebCore::EventHandler::handleMouseForceEvent):

Canonical link: https://commits.webkit.org/273603@main




More information about the webkit-changes mailing list