diff --git a/Userland/Libraries/LibWeb/CSS/ComputedValues.h b/Userland/Libraries/LibWeb/CSS/ComputedValues.h index 21ee5c13bb..bf5abfc1f3 100644 --- a/Userland/Libraries/LibWeb/CSS/ComputedValues.h +++ b/Userland/Libraries/LibWeb/CSS/ComputedValues.h @@ -82,6 +82,12 @@ public: static Vector> grid_template_areas() { return {}; } }; +enum class BackgroundSize { + Contain, + Cover, + LengthPercentage, +}; + struct BackgroundLayerData { RefPtr background_image { nullptr }; CSS::BackgroundAttachment attachment { CSS::BackgroundAttachment::Scroll }; diff --git a/Userland/Libraries/LibWeb/CSS/StyleValue.h b/Userland/Libraries/LibWeb/CSS/StyleValue.h index 042193324e..7d4d09ef4b 100644 --- a/Userland/Libraries/LibWeb/CSS/StyleValue.h +++ b/Userland/Libraries/LibWeb/CSS/StyleValue.h @@ -36,12 +36,6 @@ namespace Web::CSS { -enum class BackgroundSize { - Contain, - Cover, - LengthPercentage, -}; - // FIXME: Named PositionValue to avoid conflicts with enums, but this represents a struct PositionValue { enum class HorizontalPreset {