mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:27:45 +00:00
LibWeb: Move BackgroundSize enum to ComputedValues.h
Again, this doesn't belong in StyleValue.h, though this may not be the ideal place for it either.
This commit is contained in:
parent
c4afa79fed
commit
b3a7a00ccf
2 changed files with 6 additions and 6 deletions
|
@ -82,6 +82,12 @@ public:
|
|||
static Vector<Vector<String>> grid_template_areas() { return {}; }
|
||||
};
|
||||
|
||||
enum class BackgroundSize {
|
||||
Contain,
|
||||
Cover,
|
||||
LengthPercentage,
|
||||
};
|
||||
|
||||
struct BackgroundLayerData {
|
||||
RefPtr<CSS::AbstractImageStyleValue const> background_image { nullptr };
|
||||
CSS::BackgroundAttachment attachment { CSS::BackgroundAttachment::Scroll };
|
||||
|
|
|
@ -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 <position>
|
||||
struct PositionValue {
|
||||
enum class HorizontalPreset {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue