[webkit-changes] [WebKit/WebKit] 53cde6: Regions too big to be interactions should still be...

EWS noreply at github.com
Thu Mar 2 16:22:10 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 53cde672f341f27622950ce540b8bf3be392cda0
      https://github.com/WebKit/WebKit/commit/53cde672f341f27622950ce540b8bf3be392cda0
  Author: Etienne Segonzac <sgz at apple.com>
  Date:   2023-03-02 (Thu, 02 Mar 2023)

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

  Log Message:
  -----------
  Regions too big to be interactions should still be checked for occlusions
https://bugs.webkit.org/show_bug.cgi?id=253241
<rdar://105909931>

Reviewed by Tim Horton.

Before we discard an interaction region based on its area, check to
see if we should generate a corresponding occlusion region.
(Occlusions use a higher area limit.)

* Source/WebCore/page/InteractionRegion.cpp:
(WebCore::interactionRegionForRenderedRegion):
Extract the interaction area check to a variable.
Use it as part of the occlusion branch's condition.

* LayoutTests/interaction-region/full-page-overlay-expected.txt:
* LayoutTests/interaction-region/full-page-overlay.html:
Update the overlay test to cover this case.

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




More information about the webkit-changes mailing list