[webkit-changes] [WebKit/WebKit] 10ed5c: REGRESSION(264622): some InteractionRegion occlusi...
Commit Queue
noreply at github.com
Wed Jun 14 12:30:11 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 10ed5ca647f0b6e07cdf5d8c9715503ba4648e45
https://github.com/WebKit/WebKit/commit/10ed5ca647f0b6e07cdf5d8c9715503ba4648e45
Author: Etienne Segonzac <sgz at apple.com>
Date: 2023-06-14 (Wed, 14 Jun 2023)
Changed paths:
M LayoutTests/interaction-region/full-page-overlay-expected.txt
M LayoutTests/interaction-region/full-page-overlay.html
M Source/WebCore/rendering/RenderLayerBacking.cpp
Log Message:
-----------
REGRESSION(264622): some InteractionRegion occlusion layers are missing
https://bugs.webkit.org/show_bug.cgi?id=257952
<rdar://110631042>
Reviewed by Simon Fraser.
Only clear InteractionRegions when the RenderLayerBacking stops
requiring its own backing.
* Source/WebCore/rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::updateDrawsContent):
Remove the previous `clearInteractionRegions()` call.
(WebCore::RenderLayerBacking::clearInteractionRegions):
Early return when the EventRegion has no InteractionRegion.
(WebCore::RenderLayerBacking::setRequiresOwnBackingStore):
Clear InteractionRegions when `requiresOwnBaking` turns false.
* LayoutTests/interaction-region/full-page-overlay-expected.txt:
* LayoutTests/interaction-region/full-page-overlay.html:
Update test to cover the regression.
Canonical link: https://commits.webkit.org/265160@main
More information about the webkit-changes
mailing list