[webkit-changes] [WebKit/WebKit] 5b6040: Missing Interactions Regions occlusions in some cases

EWS noreply at github.com
Mon Feb 20 00:28:33 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5b60400f474f318e45cd713638e365366b98dd87
      https://github.com/WebKit/WebKit/commit/5b60400f474f318e45cd713638e365366b98dd87
  Author: Etienne Segonzac <sgz at apple.com>
  Date:   2023-02-20 (Mon, 20 Feb 2023)

  Changed paths:
    A LayoutTests/interaction-region/full-page-overlay-expected.txt
    A LayoutTests/interaction-region/full-page-overlay.html
    M Source/WebCore/page/InteractionRegion.cpp

  Log Message:
  -----------
  Missing Interactions Regions occlusions in some cases
https://bugs.webkit.org/show_bug.cgi?id=252396
<rdar://105470110>

Reviewed by Tim Horton.

Take the content scale into account when checking interaction regions'
area and use fixed position as a hint for occlusions.

* Source/WebCore/page/InteractionRegion.cpp:
(WebCore::interactionRegionForRenderedRegion):
* LayoutTests/interaction-region/full-page-overlay-expected.txt: Added.
* LayoutTests/interaction-region/full-page-overlay.html: Added.
Add test case.

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




More information about the webkit-changes mailing list