1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-04 21:07:35 +00:00
Commit graph

1 commit

Author SHA1 Message Date
Aliaksandr Kalenik
aee5120078 LibWeb: Fix infinite recursion when grid has "max-width: max-content"
With this change "max-width: max-content" is treated as "none" when
the available width is also "max-content". This fix prevents a stack
overflow in the grid track size maximization algorithm by avoiding
recursive calls to calculate_max_width() when determining the maximum
grid container size.
2024-02-21 10:06:19 +01:00