diff --git a/Userland/Libraries/LibWeb/CSS/Properties.json b/Userland/Libraries/LibWeb/CSS/Properties.json index 36ac8221c6..bc27cae21a 100644 --- a/Userland/Libraries/LibWeb/CSS/Properties.json +++ b/Userland/Libraries/LibWeb/CSS/Properties.json @@ -126,6 +126,44 @@ "right", "top" ], + "quirks": [ + "unitless-length" + ], + "longhands": [ + "background-position-x", + "background-position-y" + ] + }, + "background-position-x": { + "inherited": false, + "affects-layout": false, + "initial": "0%", + "valid-types": [ + "length", + "percentage" + ], + "valid-identifiers": [ + "center", + "left", + "right" + ], + "quirks": [ + "unitless-length" + ] + }, + "background-position-y": { + "inherited": false, + "affects-layout": false, + "initial": "0%", + "valid-types": [ + "length", + "percentage" + ], + "valid-identifiers": [ + "center", + "bottom", + "top" + ], "quirks": [ "unitless-length" ]