mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:47:45 +00:00
LibWeb: Add longhand properties for background-position
If background-position was not longhand enough for you, we've now got background-position-x and background-position-y :^)
This commit is contained in:
parent
de4ab4f69e
commit
d5e61168b2
1 changed files with 38 additions and 0 deletions
|
@ -126,6 +126,44 @@
|
|||
"right",
|
||||
"top"
|
||||
],
|
||||
"quirks": [
|
||||
"unitless-length"
|
||||
],
|
||||
"longhands": [
|
||||
"background-position-x",
|
||||
"background-position-y"
|
||||
]
|
||||
},
|
||||
"background-position-x": {
|
||||
"inherited": false,
|
||||
"affects-layout": false,
|
||||
"initial": "0%",
|
||||
"valid-types": [
|
||||
"length",
|
||||
"percentage"
|
||||
],
|
||||
"valid-identifiers": [
|
||||
"center",
|
||||
"left",
|
||||
"right"
|
||||
],
|
||||
"quirks": [
|
||||
"unitless-length"
|
||||
]
|
||||
},
|
||||
"background-position-y": {
|
||||
"inherited": false,
|
||||
"affects-layout": false,
|
||||
"initial": "0%",
|
||||
"valid-types": [
|
||||
"length",
|
||||
"percentage"
|
||||
],
|
||||
"valid-identifiers": [
|
||||
"center",
|
||||
"bottom",
|
||||
"top"
|
||||
],
|
||||
"quirks": [
|
||||
"unitless-length"
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue