diff options
author | Andreas Kling <kling@serenityos.org> | 2022-09-18 17:40:13 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-09-18 18:34:42 +0200 |
commit | 97b5230413f85fad22c05578f1d41c039a039617 (patch) | |
tree | 1da493def670cde459867078f166730212a7442e /CMakeLists.txt | |
parent | 7bf3b40867be2c28343236d018cebe24f8544e87 (diff) | |
download | serenity-97b5230413f85fad22c05578f1d41c039a039617.zip |
LibWeb: Subtract border & padding when using flex line size as item size
The flex line cross size includes the margin boxes of items, so when
we're taking the flex line's cross size to use as an item cross size,
we have to subtract the margin, border padding from both sides.
Previous we only subtracted the cross margins, which led to oversized
items in some cases.
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions