diff options
author | Aliaksandr Kalenik <kalenik.aliaksandr@gmail.com> | 2023-05-18 17:24:46 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-05-18 18:06:05 +0200 |
commit | 82aedfcaf0eb1a91c2f604849928c6af783a0a3c (patch) | |
tree | 2340c2e9aa1fddc0ec08b9700d3d5939eda3b43f /Userland/Games/Chess | |
parent | 52e9dced1afeab6a0245408bbfaaa53768254703 (diff) | |
download | serenity-82aedfcaf0eb1a91c2f604849928c6af783a0a3c.zip |
LibWeb: Use grid item used width as available width during track sizing
This change addresses the incorrect assumption that the available width
inside a grid item is equal to the width of the track it belongs to.
For instance, if a grid item has a width of 200px, the available width
inside that item is also 200px regardless of its column(s) base size.
To solve this issue, it was necessary to move the final resolution of
grid items to occur immediately after the final column track sizes are
determined. By doing so, it becomes possible to obtain correct
available width inside grid items while resolving the row track sizes.
Diffstat (limited to 'Userland/Games/Chess')
0 files changed, 0 insertions, 0 deletions