1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 09:57:36 +00:00

LibWeb: Add initial values and longhands to background definition

There is no specified initial value, but `transparent` is equivalent to
setting all the background properties to their defaults.
This commit is contained in:
Sam Atkins 2021-11-10 13:29:41 +00:00 committed by Andreas Kling
parent 1fa985b0a6
commit ca3b86c922

View file

@ -10,7 +10,20 @@
"stretch"
]
},
"background": {},
"background": {
"inherited": false,
"initial": "transparent",
"longhands": [
"background-attachment",
"background-clip",
"background-color",
"background-image",
"background-origin",
"background-position",
"background-repeat",
"background-size"
]
},
"background-attachment": {
"inherited": false,
"initial": "scroll",