Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: b4321a0a6e7085a38a340b6353a0ddef31d9f5f8 https://github.com/WebKit/WebKit/commit/b4321a0a6e7085a38a340b6353a0ddef31d9f5f8 Author: Matt Woodrow <mattwood...@apple.com> Date: 2024-04-24 (Wed, 24 Apr 2024)
Changed paths: A LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-element-overflow-hidden-expected.html A LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-element-overflow-hidden-ref.html A LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-element-overflow-hidden.html M Source/WebCore/dom/ViewTransition.cpp M Source/WebCore/rendering/RenderLayerCompositor.cpp M Source/WebCore/rendering/RenderViewTransitionCapture.cpp M Source/WebCore/rendering/RenderViewTransitionCapture.h Log Message: ----------- [view-transitions] Handle overflow:hidden on ::view-transition-new/old. https://bugs.webkit.org/show_bug.cgi?id=273058 <rdar://126888144> Reviewed by Tim Nguyen. Implement updateFromStyle, and make sure setHasNonVisibleOverflow gets called if necessary. Normally this only happens for RenderBlock subclasses, not RenderReplaced (which don't really support overflow properly yet, see bug 273055). If overflow is hidden, fall back to snapshotting each frame of the transition instead of using compositing layer attachment, since overflow hidden isn't supported there either. * LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-element-overflow-hidden-expected.html: Added. * LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-element-overflow-hidden-ref.html: Added. * LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-element-overflow-hidden.html: Added. * Source/WebCore/dom/ViewTransition.cpp: (WebCore::ViewTransition::updatePseudoElementStyles): * Source/WebCore/rendering/RenderLayerCompositor.cpp: (WebCore::RenderLayerCompositor::collectViewTransitionNewContentLayers): * Source/WebCore/rendering/RenderViewTransitionCapture.cpp: (WebCore::RenderViewTransitionCapture::updateFromStyle): * Source/WebCore/rendering/RenderViewTransitionCapture.h: Canonical link: https://commits.webkit.org/277959@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes