1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-24 17:57:35 +00:00
serenity/Tests/LibWeb/Layout
Andreas Kling c710575f88 LibWeb: Honor box-sizing in flex item "specified size suggestion"
Although the spec doesn't mention it, if a flex item has box-sizing:
border-box, and the specified size suggestion is a definite size, we
have to subtract the borders and padding from the size before using it.

This fixes an issue seen in "This Week in Ladybird #4" where the
screenshots ended up in one long vertical stack instead of paired up
2 by 2.
2023-04-17 18:22:53 +02:00
..
expected LibWeb: Honor box-sizing in flex item "specified size suggestion" 2023-04-17 18:22:53 +02:00
input LibWeb: Honor box-sizing in flex item "specified size suggestion" 2023-04-17 18:22:53 +02:00
layout_test.sh Tests: Use layout tests placed in subdirectories 2023-04-01 21:45:29 +02:00