1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:17:44 +00:00

LibWeb: Allow having a linear-gradient() as a background-image

This commit is contained in:
MacDue 2022-07-12 00:28:19 +01:00 committed by Sam Atkins
parent d924e9ff60
commit ee7e9e7c86
4 changed files with 11 additions and 7 deletions

View file

@ -60,7 +60,7 @@ public:
};
struct BackgroundLayerData {
RefPtr<CSS::ImageStyleValue> image { nullptr };
RefPtr<CSS::StyleValue> background_image { nullptr };
CSS::BackgroundAttachment attachment { CSS::BackgroundAttachment::Scroll };
CSS::BackgroundBox origin { CSS::BackgroundBox::PaddingBox };
CSS::BackgroundBox clip { CSS::BackgroundBox::BorderBox };