Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3ea46f4e0b98e3db66ae076e75273d059de8da4d
      
https://github.com/WebKit/WebKit/commit/3ea46f4e0b98e3db66ae076e75273d059de8da4d
  Author: Tim Nguyen <[email protected]>
  Date:   2024-11-04 (Mon, 04 Nov 2024)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/pointerevents/pointerevent_mouse_pointercapture_inactivate_pointer-expected.txt
    M LayoutTests/platform/mac/TestExpectations
    M Source/WebCore/page/PointerCaptureController.cpp
    M Source/WebCore/page/PointerCaptureController.h

  Log Message:
  -----------
  pointerevents/pointerevent_mouse_pointercapture_inactivate_pointer.html WPT 
is failing
https://bugs.webkit.org/show_bug.cgi?id=274640
rdar://128669314

Reviewed by Antoine Quint.

Implement a missing bit of the pointer events spec where we weren't checking 
against the "active document" of the pointer when setting the pointer capture.

https://w3c.github.io/pointerevents/#dfn-set-pointer-capture

* 
LayoutTests/imported/w3c/web-platform-tests/pointerevents/pointerevent_mouse_pointercapture_inactivate_pointer-expected.txt:
* LayoutTests/platform/mac/TestExpectations:
Rebaseline and unskip test.

* Source/WebCore/page/PointerCaptureController.cpp:
(WebCore::PointerCaptureController::setPointerCapture):
Implement https://w3c.github.io/pointerevents/#ref-for-dfn-active-document-2

(WebCore::PointerCaptureController::pointerEventWillBeDispatched):
Implement https://w3c.github.io/pointerevents/#ref-for-dfn-active-document-1

* Source/WebCore/page/PointerCaptureController.h:

Store active document in CapturingData: 
https://w3c.github.io/pointerevents/#dfn-active-document
Canonical link: https://commits.webkit.org/286098@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

Reply via email to