1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-29 01:57:44 +00:00

LibWeb: Parse background-clip and background-origin

Including as part of the `background` shorthand. :^)
This commit is contained in:
Sam Atkins 2021-11-03 20:28:34 +00:00 committed by Andreas Kling
parent 018a4aa85c
commit 532f1e859d
6 changed files with 106 additions and 10 deletions

View file

@ -20,6 +20,15 @@
"scroll"
]
},
"background-clip": {
"inherited": false,
"initial": "border-box",
"valid-identifiers": [
"border-box",
"content-box",
"padding-box"
]
},
"background-color": {
"inherited": false,
"initial": "transparent",
@ -40,6 +49,15 @@
"none"
]
},
"background-origin": {
"inherited": false,
"initial": "padding-box",
"valid-identifiers": [
"border-box",
"content-box",
"padding-box"
]
},
"background-position": {
"inherited": false,
"initial": "0% 0%",