[webkit-changes] [WebKit/WebKit] e69ef3: Small interaction regions need to be guarded with ...
megangardner
noreply at github.com
Wed Apr 5 19:46:28 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e69ef3dfd95259622b14db520960c37959feeafd
https://github.com/WebKit/WebKit/commit/e69ef3dfd95259622b14db520960c37959feeafd
Author: Megan Gardner <megan_gardner at apple.com>
Date: 2023-04-05 (Wed, 05 Apr 2023)
Changed paths:
M LayoutTests/interaction-region/input-type-file-region-expected.txt
M LayoutTests/interaction-region/input-type-range-region-expected.txt
A LayoutTests/interaction-region/tiny-regions-expected.txt
A LayoutTests/interaction-region/tiny-regions.html
M Source/WebCore/page/DebugPageOverlays.cpp
M Source/WebCore/rendering/EventRegion.cpp
M Source/WebCore/rendering/RenderLayerBacking.cpp
Log Message:
-----------
Small interaction regions need to be guarded with occlusion regions.
https://bugs.webkit.org/show_bug.cgi?id=254785
rdar://105092716
Reviewed by Tim Horton.
Also add some additional debug information to draw occlusion regions
in red.
* LayoutTests/interaction-region/input-type-file-region-expected.txt:
* LayoutTests/interaction-region/input-type-range-region-expected.txt:
* Source/WebCore/page/DebugPageOverlays.cpp:
(WebCore::InteractionRegionOverlay::drawRect):
* Source/WebCore/rendering/EventRegion.cpp:
(WebCore::EventRegionContext::guardSmallIntetactionRegions):
(WebCore::EventRegionContext::copyInteractionRegionsToEventRegion):
* Source/WebCore/rendering/EventRegion.h:
* Source/WebCore/rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::paintDebugOverlays):
Canonical link: https://commits.webkit.org/262655@main
More information about the webkit-changes
mailing list