Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 72ba48fd55e6120b28f47394c5ea63373cdd53ed
https://github.com/WebKit/WebKit/commit/72ba48fd55e6120b28f47394c5ea63373cdd53ed
Author: Matt Woodrow <[email protected]>
Date: 2025-05-24 (Sat, 24 May 2025)
Changed paths:
M LayoutTests/TestExpectations
M LayoutTests/platform/ios/TestExpectations
M Source/WebCore/dom/ViewTransition.cpp
M Source/WebCore/dom/ViewTransition.h
M Source/WebCore/platform/graphics/transforms/TransformationMatrix.h
M Source/WebCore/rendering/RenderLayer.cpp
M Source/WebCore/rendering/RenderLayerBacking.cpp
M Source/WebCore/rendering/updating/RenderTreeUpdaterViewTransition.cpp
Log Message:
-----------
css/css-view-transitions/fractional-* fails due to not pixel snapping view
transition renderers.
https://bugs.webkit.org/show_bug.cgi?id=293273
<rdar://151661047>
Reviewed by Simon Fraser.
Moves the duplicated state in CapturedElement into a separate struct, and use
that to simplify parameters of copyElementBaseProperties.
Compute and remove the fractional component of the view transition transform,
and pass it through to the snapshot rendering.
Snap the layer rects to pixels, so that the fractional component gets computed
and passed down the inner layer, as it does for non-VT rendering.
* LayoutTests/TestExpectations:
* LayoutTests/platform/ios/TestExpectations:
* Source/WebCore/dom/ViewTransition.cpp:
(WebCore::captureOverflowRect):
(WebCore::snapshotElementVisualOverflowClippedToViewport):
(WebCore::ViewTransition::captureOldState):
(WebCore::ViewTransition::updatePropertiesForGroupPseudo):
(WebCore::ViewTransition::captureNewState):
(WebCore::ViewTransition::setupDynamicStyleSheet):
(WebCore::snapTransformationTranslationToDevicePixels):
(WebCore::ViewTransition::copyElementBaseProperties):
(WebCore::ViewTransition::updatePseudoElementStylesRead):
(WebCore::ViewTransition::updatePseudoElementRenderers):
* Source/WebCore/dom/ViewTransition.h:
* Source/WebCore/platform/graphics/transforms/TransformationMatrix.h:
(WebCore::TransformationMatrix::hasPerspective const):
* Source/WebCore/rendering/RenderLayer.cpp:
(WebCore::outputPaintOrderTreeRecursive):
(WebCore::RenderLayer::filtersForPainting const): Deleted.
* Source/WebCore/rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::updateGeometry):
* Source/WebCore/rendering/updating/RenderTreeUpdaterViewTransition.cpp:
(WebCore::createRendererIfNeeded):
Canonical link: https://commits.webkit.org/295401@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