mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +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
Notes:
sideshowbarker
2024-07-17 17:49:11 +09:00
Author: https://github.com/awesomekling
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