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:
parent
b7003194d2
commit
237fbe4d54
2 changed files with 7 additions and 6 deletions
|
@ -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 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue