mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:57:43 +00:00
LibWeb: Make computed flex-grow and flex-shrink always available
These values are not allowed to be absent (auto/none/etc) so we don't need to use Optional<float> for them. This simplifies some things.
This commit is contained in:
parent
19eda59359
commit
07f15aa550
6 changed files with 32 additions and 40 deletions
|
@ -56,8 +56,8 @@ public:
|
|||
Optional<CSS::FlexDirection> flex_direction() const;
|
||||
Optional<CSS::FlexWrap> flex_wrap() const;
|
||||
Optional<CSS::FlexBasisData> flex_basis() const;
|
||||
Optional<float> flex_grow_factor() const;
|
||||
Optional<float> flex_shrink_factor() const;
|
||||
float flex_grow() const;
|
||||
float flex_shrink() const;
|
||||
Optional<CSS::AlignItems> align_items() const;
|
||||
Optional<float> opacity() const;
|
||||
Optional<CSS::JustifyContent> justify_content() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue