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

LibWeb: Parse aspect-ratio property

Parse it, store the result in the ComputedValues, and also expose it to
ResolvedCSSStyleDeclaration.
This commit is contained in:
Sam Atkins 2023-06-08 15:25:16 +01:00 committed by Andreas Kling
parent 5e3da93f1a
commit 6fd3b39bef
6 changed files with 102 additions and 0 deletions

View file

@ -138,6 +138,17 @@
"appearance"
]
},
"aspect-ratio": {
"affects-layout": true,
"inherited": false,
"initial": "auto",
"valid-types": [
"ratio"
],
"valid-identifiers":[
"auto"
]
},
"backdrop-filter": {
"affects-layout": false,
"affects-stacking-context": true,