[webkit-changes] [WebKit/WebKit] c76f59: View transition layers are positioned wrong if a c...
mattwoodrow
noreply at github.com
Sun Feb 25 22:18:32 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c76f59cd157b8728cdac41d7336553dc84c3297f
https://github.com/WebKit/WebKit/commit/c76f59cd157b8728cdac41d7336553dc84c3297f
Author: Matt Woodrow <mattwoodrow at apple.com>
Date: 2024-02-25 (Sun, 25 Feb 2024)
Changed paths:
M Source/WebCore/rendering/RenderLayerBacking.cpp
Log Message:
-----------
View transition layers are positioned wrong if a clipping layer is present.
https://bugs.webkit.org/show_bug.cgi?id=270058
<rdar://123607249>
Reviewed by Tim Nguyen.
Positioning for a view-transition 'new' layer currently sets the origin of the
primary graphics rect to 0,0, but this doesn't move any clipping layers positioned
in updateClippingStackLayerGeometry.
We can instead adjust the position of the 'parent graphics layer rect' (since all
local layer positions are computed relative to that) to a value that results in 0,0
being computed for the primary rect.
* Source/WebCore/rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::updateGeometry):
Canonical link: https://commits.webkit.org/275307@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list