RESOLVED FIXED304717
RenderGrid's self-alignment property handling is a tangled mess
https://bugs.webkit.org/show_bug.cgi?id=304717
Summary RenderGrid's self-alignment property handling is a tangled mess
fantasai
Reported 2025-12-26 18:32:04 PST
The self-alignment property handling in RenderGrid is a mess: - We retrieve the alignment value in multiple places, in inconsistent ways, which is a recipe for bugs. - We push some of the code handling up into RenderBox, which is a superclass that shouldn't need to have grid-specific code in it. As a result, the whole system for piping "is this a stretched item" through our rendering code is a tangled mess, and it's difficult to make any adjustments (e.g. to handle grid-lanes layout or any other new rules) correctly and thoroughly.
Attachments
Radar WebKit Bug Importer
Comment 1 2025-12-26 18:32:10 PST
fantasai
Comment 2 2025-12-26 19:34:00 PST
EWS
Comment 3 2026-01-08 00:35:40 PST
Committed 305260@main (810cb2deb144): <https://commits.webkit.org/305260@main> Reviewed commits have been landed. Closing PR #55887 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.