Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c25d650a72fc07adeead148b3da86d9fce4da672
https://github.com/WebKit/WebKit/commit/c25d650a72fc07adeead148b3da86d9fce4da672
Author: Carlos Garcia Campos <[email protected]>
Date: 2026-08-18 (Tue, 18 Aug 2026)
Changed paths:
A
LayoutTests/compositing/geometry/composited-bounds-single-axis-clip-taller-than-document-expected.txt
A
LayoutTests/compositing/geometry/composited-bounds-single-axis-clip-taller-than-document.html
M
LayoutTests/compositing/geometry/composited-bounds-with-single-axis-clip-expected.txt
A
LayoutTests/platform/glib/compositing/geometry/composited-bounds-single-axis-clip-taller-than-document-expected.txt
A
LayoutTests/platform/ios/compositing/geometry/composited-bounds-with-single-axis-clip-expected.txt
M Source/WebCore/rendering/RenderLayer.cpp
Log Message:
-----------
REGRESSION(318557@main): Pasted text gets cut off in
https://app.coderpad.io/sandbox
https://bugs.webkit.org/show_bug.cgi?id=321869
Reviewed by Simon Fraser.
318557@main bounded a layer whose clip is unbounded in one axis by
re-clipping it to the document rect, but it can be smaller than the
layer contents. Fall back to the descendant union instead.
Test:
compositing/geometry/composited-bounds-single-axis-clip-taller-than-document.html
*
LayoutTests/compositing/geometry/composited-bounds-single-axis-clip-taller-than-document-expected.txt:
Added.
*
LayoutTests/compositing/geometry/composited-bounds-single-axis-clip-taller-than-document.html:
Added.
*
LayoutTests/compositing/geometry/composited-bounds-with-single-axis-clip-expected.txt:
*
LayoutTests/platform/ios/compositing/geometry/composited-bounds-with-single-axis-clip-expected.txt:
Copied from
LayoutTests/compositing/geometry/composited-bounds-with-single-axis-clip-expected.txt.
* Source/WebCore/rendering/RenderLayer.cpp:
(WebCore::RenderLayer::calculateClipRects const):
*
LayoutTests/platform/glib/compositing/geometry/composited-bounds-single-axis-clip-taller-than-document-expected.txt:
Added.
Canonical link: https://commits.webkit.org/319350@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications