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

LibWeb: Parse flex-basis

Flex-basis accepts either 'content' or a Length.
This commit is contained in:
Tobias Christiansen 2021-05-30 14:23:43 +02:00 committed by Ali Mohammad Pur
parent 27704f5f9e
commit ae3e6510d6
7 changed files with 39 additions and 0 deletions

View file

@ -10,6 +10,7 @@
#include <AK/NonnullRefPtr.h>
#include <LibGfx/Font.h>
#include <LibGfx/Forward.h>
#include <LibWeb/CSS/ComputedValues.h>
#include <LibWeb/CSS/LengthBox.h>
#include <LibWeb/CSS/StyleValue.h>
@ -52,6 +53,7 @@ public:
Optional<CSS::ListStyleType> list_style_type() const;
Optional<CSS::FlexDirection> flex_direction() const;
Optional<CSS::FlexWrap> flex_wrap() const;
Optional<CSS::FlexBasisData> flex_basis() const;
Optional<CSS::Overflow> overflow_x() const;
Optional<CSS::Overflow> overflow_y() const;
Optional<CSS::Repeat> background_repeat_x() const;