1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-29 10:57: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

@ -319,13 +319,6 @@
"all",
"none"
],
"position": [
"left",
"right",
"top",
"bottom",
"center"
],
"positioning": [
"absolute",
"fixed",