diff --git a/LayoutTests/compositing/tiling/sticky-change-to-tiled-expected.html b/LayoutTests/compositing/tiling/sticky-change-to-tiled-expected.html new file mode 100644 index 000000000000..3d300f991837 --- /dev/null +++ b/LayoutTests/compositing/tiling/sticky-change-to-tiled-expected.html @@ -0,0 +1,44 @@ + + + + + + +
+
+
+
+ + diff --git a/LayoutTests/compositing/tiling/sticky-change-to-tiled.html b/LayoutTests/compositing/tiling/sticky-change-to-tiled.html new file mode 100644 index 000000000000..cf564f540d88 --- /dev/null +++ b/LayoutTests/compositing/tiling/sticky-change-to-tiled.html @@ -0,0 +1,58 @@ + + + + + + + +
+
+
+
+ + diff --git a/LayoutTests/compositing/tiling/sticky-with-backdrop-expected.html b/LayoutTests/compositing/tiling/sticky-with-backdrop-expected.html new file mode 100644 index 000000000000..7d2bcbcb7884 --- /dev/null +++ b/LayoutTests/compositing/tiling/sticky-with-backdrop-expected.html @@ -0,0 +1,31 @@ + + + + + + +
+
+ + diff --git a/LayoutTests/compositing/tiling/sticky-with-backdrop.html b/LayoutTests/compositing/tiling/sticky-with-backdrop.html new file mode 100644 index 000000000000..b48e404cd254 --- /dev/null +++ b/LayoutTests/compositing/tiling/sticky-with-backdrop.html @@ -0,0 +1,32 @@ + + + + + + +
+
+ + diff --git a/Source/WebCore/rendering/RenderLayerCompositor.cpp b/Source/WebCore/rendering/RenderLayerCompositor.cpp index 46de72259914..8e5f36a4f99f 100644 --- a/Source/WebCore/rendering/RenderLayerCompositor.cpp +++ b/Source/WebCore/rendering/RenderLayerCompositor.cpp @@ -678,7 +678,7 @@ void RenderLayerCompositor::didChangePlatformLayerForLayer(RenderLayer& layer, c clippingStack->updateScrollingNodeLayers(*scrollingCoordinator); if (auto nodeID = backing->scrollingNodeIDForRole(ScrollCoordinationRole::ViewportConstrained)) - scrollingCoordinator->setNodeLayers(nodeID, { backing->graphicsLayer() }); + scrollingCoordinator->setNodeLayers(nodeID, { backing->viewportAnchorLayer() }); if (auto nodeID = backing->scrollingNodeIDForRole(ScrollCoordinationRole::FrameHosting)) scrollingCoordinator->setNodeLayers(nodeID, { backing->graphicsLayer() });