Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1aa0ecbc9e1bc8f99ae9a9f6484f32d0dced128f
      
https://github.com/WebKit/WebKit/commit/1aa0ecbc9e1bc8f99ae9a9f6484f32d0dced128f
  Author: Wenson Hsieh <[email protected]>
  Date:   2024-07-24 (Wed, 24 Jul 2024)

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

  Log Message:
  -----------
  Avoid surfacing invisible `pointer-events: none;` elements with a single 
rendered child as targets
https://bugs.webkit.org/show_bug.cgi?id=277011
rdar://130710791

Reviewed by Abrar Rahman Protyasha.

Make a small adjustment to target an only child below a fixed-position 
`pointer-events: none;` or a
negative `z-index` when selecting targets for remote inspection (as opposed to 
targeting the outer
container).

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

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