Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8824aec206772ee607381b372c9da62892f501e4
      
https://github.com/WebKit/WebKit/commit/8824aec206772ee607381b372c9da62892f501e4
  Author: Wenson Hsieh <[email protected]>
  Date:   2024-04-23 (Tue, 23 Apr 2024)

  Changed paths:
    A 
LayoutTests/fast/element-targeting/targeted-element-ignores-pointer-events-none-overlay-expected.txt
    A 
LayoutTests/fast/element-targeting/targeted-element-ignores-pointer-events-none-overlay.html
    M Source/WebCore/page/ElementTargetingController.cpp

  Log Message:
  -----------
  [Remote Inspection] Adjust targeting to skip non-interactable containers that 
cover the viewport
https://bugs.webkit.org/show_bug.cgi?id=273124
rdar://126818923

Reviewed by Megan Gardner.

Fine-tune the targeting heuristic further, by adding logic to skip over 
full-viewport-sized elements
that are either z-ordered below the rest of the content, or out-of-flow and 
non-interactable (i.e.
`pointer-events: none;`) with no visible background either.

* 
LayoutTests/fast/element-targeting/targeted-element-ignores-pointer-events-none-overlay-expected.txt:
 Added.
* 
LayoutTests/fast/element-targeting/targeted-element-ignores-pointer-events-none-overlay.html:
 Added.
* Source/WebCore/page/ElementTargetingController.cpp:
(WebCore::ElementTargetingController::findTargets):

Canonical link: https://commits.webkit.org/277876@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