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
commit 237fbe4d54
Notes: sideshowbarker 2024-07-17 17:49:11 +09:00
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 };