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

LibWeb: Parse the CSS position type automatically

This means `object-position` will no longer incorrectly accept the
3-value background-position syntax.

Remove the now-ambiguous and unused `position` enum while we're at it.
(This enum only existed as a hack.)
This commit is contained in:
Sam Atkins 2023-11-20 13:11:46 +00:00 committed by Alexander Kalenik
parent 19da17f07e
commit 26d6ba6f58
4 changed files with 9 additions and 19 deletions

View file

@ -1628,13 +1628,9 @@
"affects-layout": false,
"inherited": false,
"initial": "50% 50%",
"max-values": 2,
"valid-types": [
"length [-∞,∞]",
"percentage [-∞,∞]",
"position"
],
"percentages-resolve-to": "length"
]
},
"opacity": {
"affects-layout": false,