Title: [245700] trunk/Source/WebCore
- Revision
- 245700
- Author
- [email protected]
- Date
- 2019-05-23 11:32:21 -0700 (Thu, 23 May 2019)
Log Message
Build fix after r245695.
* dom/Element.cpp:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (245699 => 245700)
--- trunk/Source/WebCore/ChangeLog 2019-05-23 18:13:56 UTC (rev 245699)
+++ trunk/Source/WebCore/ChangeLog 2019-05-23 18:32:21 UTC (rev 245700)
@@ -16,6 +16,12 @@
(WebCore::PointerCaptureController::pointerEventWasDispatched):
* page/PointerCaptureController.h:
+2019-05-23 Simon Fraser <[email protected]>
+
+ Build fix after r245695.
+
+ * dom/Element.cpp:
+
2019-05-23 Antoine Quint <[email protected]>
[Pointer Events] The mouseover, mouseout, mouseenter, and mouseleave events should not be prevented while the pointer is down
Modified: trunk/Source/WebCore/dom/Element.cpp (245699 => 245700)
--- trunk/Source/WebCore/dom/Element.cpp 2019-05-23 18:13:56 UTC (rev 245699)
+++ trunk/Source/WebCore/dom/Element.cpp 2019-05-23 18:32:21 UTC (rev 245700)
@@ -288,6 +288,7 @@
return platformEvent.type() == PlatformEvent::MouseForceChanged || platformEvent.type() == PlatformEvent::MouseForceDown || platformEvent.type() == PlatformEvent::MouseForceUp;
}
+#if ENABLE(POINTER_EVENTS) && !ENABLE(TOUCH_EVENTS)
static bool isCompatibilityMouseEvent(const MouseEvent& mouseEvent)
{
// https://www.w3.org/TR/pointerevents/#compatibility-mapping-with-mouse-events
@@ -294,6 +295,7 @@
const auto& type = mouseEvent.type();
return type != eventNames().clickEvent && type != eventNames().mouseoverEvent && type != eventNames().mouseoutEvent && type != eventNames().mouseenterEvent && type != eventNames().mouseleaveEvent;
}
+#endif
bool Element::dispatchMouseEvent(const PlatformMouseEvent& platformEvent, const AtomicString& eventType, int detail, Element* relatedTarget)
{
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes