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:
parent
3d127472ba
commit
aa43bee0d1
3 changed files with 96 additions and 5 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue