RESOLVED FIXED304716
API for self-alignment properties awkwardly loops layout logic through RenderStyle APIs
https://bugs.webkit.org/show_bug.cgi?id=304716
Summary API for self-alignment properties awkwardly loops layout logic through Render...
fantasai
Reported 2025-12-26 18:27:44 PST
The way StyleSelfAlignmentData resolution loops formatting-context-specific 'normal' resolution through it creates awkward calling patterns in layout code, doesn't generalize well because normal resolution is formatting-context-specific, and requires excess up-front work even when it's not needed. At the same time, it pushes 'auto' resolution into layout code even though that's much more of a style computation thing. We should flip the API so that the style code handles auto resolution, and the layout code handles normal resolution.
Attachments
Radar WebKit Bug Importer
Comment 1 2025-12-26 18:32:00 PST
fantasai
Comment 2 2025-12-26 19:11:54 PST
EWS
Comment 3 2026-01-05 22:03:02 PST
Committed 305146@main (fd2edbac21f5): <https://commits.webkit.org/305146@main> Reviewed commits have been landed. Closing PR #55886 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.