1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 11:17:44 +00:00

LibWeb: Remember the used flex basis for each flex item

This will be consulted later on in the flex layout algorithm.
This commit is contained in:
Andreas Kling 2022-07-17 19:40:02 +02:00
parent b7003194d2
commit 237fbe4d54
2 changed files with 7 additions and 6 deletions

View file

@ -42,6 +42,7 @@ private:
struct FlexItem {
Box& box;
CSS::FlexBasisData used_flex_basis {};
float flex_base_size { 0 };
float hypothetical_main_size { 0 };
float hypothetical_cross_size { 0 };