Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b6a5d7eb40fbaebf2bd491ea66de0b527ede0a7e
https://github.com/WebKit/WebKit/commit/b6a5d7eb40fbaebf2bd491ea66de0b527ede0a7e
Author: Matt Woodrow <[email protected]>
Date: 2024-03-07 (Thu, 07 Mar 2024)
Changed paths:
M LayoutTests/TestExpectations
M Source/WebCore/dom/ViewTransition.cpp
M Source/WebCore/dom/ViewTransition.h
M Source/WebCore/rendering/RenderLayerCompositor.cpp
Log Message:
-----------
[view-transitions] Computed transform for captured elements with 3d
transforms is incorrect
https://bugs.webkit.org/show_bug.cgi?id=270428
<rdar://123984960>
Reviewed by Tim Nguyen.
This reverses the order that the matrices are concatenated when walking
ancestors. It also applies the inverse of the changes that will be applied
for transform-origin, since the computed transform already takes that into
account.
* LayoutTests/TestExpectations:
* Source/WebCore/dom/ViewTransition.cpp:
(WebCore::ViewTransition::captureOldState):
(WebCore::ViewTransition::copyElementBaseProperties):
(WebCore::ViewTransition::updatePseudoElementStyles):
* Source/WebCore/dom/ViewTransition.h:
* Source/WebCore/rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::collectViewTransitionNewContentLayers):
Canonical link: https://commits.webkit.org/275810@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes