Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: bf6d6e8f80af5c5c99fb3481e55903be90ab688a https://github.com/WebKit/WebKit/commit/bf6d6e8f80af5c5c99fb3481e55903be90ab688a Author: Sammy Gill <sammy.g...@apple.com> Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths: M LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/scrollable-overflow-zero-one-axis-expected.txt M Source/WebCore/rendering/RenderGrid.cpp M Source/WebCore/rendering/RenderGrid.h Log Message: ----------- [Grid][Overflow] Start considering grid areas in layout overflow. https://bugs.webkit.org/show_bug.cgi?id=260292 rdar://113985286 Reviewed by Alan Baradlay. The grid area, which is composed of the rows and columns, can potentially overflow the grid container itself even if the grid does not have any grid items or none of the grid items overflow the grid. We can let RenderGrid override computeOverflow in order to determine if the grid area is overflowing in either dimension. This is done by consulting the position of the last column and row line, which are offsets within the border box of the grid, to determine the bounds of the grid area, and passing it off to addLayoutOverflow to potentially expand the bounds of the overflow rect. * LayoutTests/imported/w3c/web-platform- * Source/WebCore/rendering/RenderGrid.cp (WebCore::RenderGrid::computeOverflow):# Please populate the above commit message. Lines starting * Source/WebCore/rendering/RenderGrid.h: Canonical link: https://commits.webkit.org/281594@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