1
Fork 0
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:
Simon Wanner 2022-03-21 19:11:06 +01:00 committed by Andreas Kling
parent 1ad0e05ea1
commit 63055ff5ad
3 changed files with 136 additions and 0 deletions

View file

@ -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,