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

1 commit

Author SHA1 Message Date
Aliaksandr Kalenik
d1a01c4c65 LibWeb: Fix box alignment when it has min-width or max-width in GFC
Changing `try_compute_width()` to return width and margins, instead of
mutating them in the box's state makes it works in cases when box has
min-width or max-width and this function needs to be called multiple
times.

Fixes https://github.com/SerenityOS/serenity/issues/21598
2023-10-27 07:14:34 +02:00