1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-29 04:17:35 +00:00

LibWeb: Handle discrete properties

This also changes transform's animation-type to by-computed-value. It is
far easier to handle since we switch on StyleValue::type(), and it might
be the case that this applies to all custom animated properties and we
don't need "custom" at all, but let's wait until we get to those
properties to make that decision.
This commit is contained in:
Matthew Olsson 2024-02-23 14:31:00 -07:00 committed by Andreas Kling
parent ee63c729e5
commit c8b9c137a1
2 changed files with 31 additions and 13 deletions

View file

@ -2219,7 +2219,7 @@
]
},
"transform": {
"animation-type": "custom",
"animation-type": "by-computed-value",
"inherited": false,
"initial": "none",
"affects-layout": false,