diff --git a/Userland/Libraries/LibWeb/CSS/ComputedValues.h b/Userland/Libraries/LibWeb/CSS/ComputedValues.h index ffd41cce0de..21ee5c13bb1 100644 --- a/Userland/Libraries/LibWeb/CSS/ComputedValues.h +++ b/Userland/Libraries/LibWeb/CSS/ComputedValues.h @@ -117,6 +117,12 @@ struct TransformOrigin { CSS::LengthPercentage y { Percentage(50) }; }; +enum class FlexBasis { + Content, + LengthPercentage, + Auto, +}; + struct FlexBasisData { CSS::FlexBasis type { CSS::FlexBasis::Auto }; Optional length_percentage; diff --git a/Userland/Libraries/LibWeb/CSS/StyleValue.h b/Userland/Libraries/LibWeb/CSS/StyleValue.h index f9c4d036e53..042193324e2 100644 --- a/Userland/Libraries/LibWeb/CSS/StyleValue.h +++ b/Userland/Libraries/LibWeb/CSS/StyleValue.h @@ -42,12 +42,6 @@ enum class BackgroundSize { LengthPercentage, }; -enum class FlexBasis { - Content, - LengthPercentage, - Auto, -}; - // FIXME: Named PositionValue to avoid conflicts with enums, but this represents a struct PositionValue { enum class HorizontalPreset {