mirror of
https://github.com/RGBCube/serenity
synced 2025-07-29 15:07:45 +00:00
LibWeb: Parse the CSS transform-origin property
This is almost a PositionStyleValue, but it's serialized differently, so let's use a StyleValueList with 2 length-percentage values.
This commit is contained in:
parent
1ad0e05ea1
commit
63055ff5ad
3 changed files with 136 additions and 0 deletions
|
@ -1371,6 +1371,23 @@
|
|||
"inherited": false,
|
||||
"initial": "none"
|
||||
},
|
||||
"transform-origin": {
|
||||
"affects-layout": false,
|
||||
"inherited": false,
|
||||
"initial": "50% 50%",
|
||||
"max-values": 3,
|
||||
"valid-types": [
|
||||
"length",
|
||||
"percentage"
|
||||
],
|
||||
"valid-identifiers": [
|
||||
"bottom",
|
||||
"center",
|
||||
"left",
|
||||
"right",
|
||||
"top"
|
||||
]
|
||||
},
|
||||
"user-select": {
|
||||
"affects-layout": false,
|
||||
"inherited": false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue