diff --git a/Userland/Libraries/LibWeb/CSS/Enums.json b/Userland/Libraries/LibWeb/CSS/Enums.json index 8a38daa95b..1eded3827e 100644 --- a/Userland/Libraries/LibWeb/CSS/Enums.json +++ b/Userland/Libraries/LibWeb/CSS/Enums.json @@ -319,6 +319,13 @@ "all", "none" ], + "position": [ + "left", + "right", + "top", + "bottom", + "center" + ], "positioning": [ "absolute", "fixed", diff --git a/Userland/Libraries/LibWeb/CSS/Properties.json b/Userland/Libraries/LibWeb/CSS/Properties.json index bf062e9626..9b21c7e38f 100644 --- a/Userland/Libraries/LibWeb/CSS/Properties.json +++ b/Userland/Libraries/LibWeb/CSS/Properties.json @@ -1624,6 +1624,18 @@ "object-fit" ] }, + "object-position": { + "affects-layout": false, + "inherited": false, + "initial": "50% 50%", + "max-values": 2, + "valid-types": [ + "length [-∞,∞]", + "percentage [-∞,∞]", + "position" + ], + "percentages-resolve-to": "length" + }, "opacity": { "affects-layout": false, "affects-stacking-context": true,