Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 53cde672f341f27622950ce540b8bf3be392cda0 https://github.com/WebKit/WebKit/commit/53cde672f341f27622950ce540b8bf3be392cda0 Author: Etienne Segonzac <s...@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 _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes