[webkit-changes] [WebKit/WebKit] b6fce2: Some dynamically sized Interaction Regions occlusi...

Commit Queue noreply at github.com
Fri Apr 14 14:52:10 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b6fce29cdde4c9295e6adf20940ede4b84731cb0
      https://github.com/WebKit/WebKit/commit/b6fce29cdde4c9295e6adf20940ede4b84731cb0
  Author: Etienne Segonzac <sgz at apple.com>
  Date:   2023-04-14 (Fri, 14 Apr 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:
  -----------
  Some dynamically sized Interaction Regions occlusions are missing
https://bugs.webkit.org/show_bug.cgi?id=255457
<rdar://107960700>

Reviewed by Tim Horton.

Remove the size limit on occlusion regions (but not interaction
regions).

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

* Source/WebCore/page/InteractionRegion.cpp:
(WebCore::interactionRegionForRenderedRegion):
Remove the "padding" added to the frame view's area, since it was
originally introduced for occlusions.
Remove the area check in the occlusion branch.

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




More information about the webkit-changes mailing list