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

LibWeb: Store all background properties in BackgroundLayerData

All of this is now passed along to `paint_background()`. :^)

(As always, "all" excludes the background-color since that's not a layer
property.)
This commit is contained in:
Sam Atkins 2021-11-12 16:30:21 +00:00 committed by Andreas Kling
parent 3d127472ba
commit aa43bee0d1
3 changed files with 96 additions and 5 deletions

View file

@ -39,6 +39,24 @@ enum class AlignItems {
Stretch,
};
enum class BackgroundAttachment {
Fixed,
Local,
Scroll,
};
enum class BackgroundBox {
BorderBox,
ContentBox,
PaddingBox,
};
enum class BackgroundSize {
Contain,
Cover,
LengthPercentage,
};
enum class BoxSizing {
BorderBox,
ContentBox,