Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b5764e2c9a87965d0b412e4c83096020ee8bf0dc
https://github.com/WebKit/WebKit/commit/b5764e2c9a87965d0b412e4c83096020ee8bf0dc
Author: Etienne Segonzac <[email protected]>
Date: 2023-03-01 (Wed, 01 Mar 2023)
Changed paths:
M LayoutTests/interaction-region/layer-tree-expected.txt
M LayoutTests/interaction-region/layer-tree.html
M Source/WebCore/rendering/EventRegion.cpp
M Source/WebKit/Shared/RemoteLayerTree/RemoteLayerTreePropertyApplier.mm
M Source/WebKit/UIProcess/API/Cocoa/WKWebViewTesting.mm
Log Message:
-----------
Apply opacity to the Interaction Regions layer tree
https://bugs.webkit.org/show_bug.cgi?id=253109
<rdar://105306435>
Reviewed by Tim Horton.
We want Interaction Regions containers to match the opacity of the
content.
* Source/WebKit/Shared/RemoteLayerTree/RemoteLayerTreePropertyApplier.mm:
(WebKit::applyCommonPropertiesToLayer):
(WebKit::RemoteLayerTreePropertyApplier::applyPropertiesToLayer):
Move `opacity` to the common properties applier.
* LayoutTests/interaction-region/layer-tree-expected.txt:
* LayoutTests/interaction-region/layer-tree.html:
Tweak the test to cover this change.
* Source/WebKit/UIProcess/API/Cocoa/WKWebViewTesting.mm:
(dumpCALayer):
Add opacity to the test dump format.
* Source/WebCore/rendering/EventRegion.cpp:
(WebCore::EventRegion::dump const):
Sort interaction regions in the dump to make tests more reliable.
Canonical link: https://commits.webkit.org/261013@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes