[webkit-changes] [WebKit/WebKit] 2639c5: Add Masonry support in autoPlacementAxisDirection
Brandon Stewart
noreply at github.com
Wed Dec 14 22:27:17 PST 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2639c5de1b98ca9266210ddedb49c22b566e9934
https://github.com/WebKit/WebKit/commit/2639c5de1b98ca9266210ddedb49c22b566e9934
Author: Brandon Stewart <brandonstewart at apple.com>
Date: 2022-12-14 (Wed, 14 Dec 2022)
Changed paths:
M Source/WebCore/rendering/RenderGrid.cpp
Log Message:
-----------
Add Masonry support in autoPlacementAxisDirection
https://bugs.webkit.org/show_bug.cgi?id=249326
Reviewed by Matt Woodrow.
While working on track-sizing I noticed that align-content/masonry-align-content-003.html
was only being rendered on a single column instead of being spread across multiple
columns.
This patch adds a check in autoPlacementMajor/MinorAxisDirection for Masonry.
No new test in this patch.
* Source/WebCore/rendering/RenderGrid.cpp:
(WebCore::RenderGrid::autoPlacementMajorAxisDirection const):
(WebCore::RenderGrid::autoPlacementMinorAxisDirection const):
Canonical link: https://commits.webkit.org/257905@main
More information about the webkit-changes
mailing list