From ca1b855d99a398a70e010f060311809c9fa84743 Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Tue, 22 Mar 2022 14:12:44 +0000 Subject: [PATCH] LibWeb: Allow percentages in word/letter-spacing properties This is a change to CSS-TEXT-4, listed here: https://www.w3.org/TR/2022/WD-css-text-4-20220318/#changes We don't actually support these properties yet, but it doesn't hurt to keep them up to date for when they get implemented in the future. :^) --- Userland/Libraries/LibWeb/CSS/Properties.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Userland/Libraries/LibWeb/CSS/Properties.json b/Userland/Libraries/LibWeb/CSS/Properties.json index f3e0e947fc..ec9b10ce8d 100644 --- a/Userland/Libraries/LibWeb/CSS/Properties.json +++ b/Userland/Libraries/LibWeb/CSS/Properties.json @@ -829,7 +829,8 @@ "inherited": true, "initial": "normal", "valid-types": [ - "length" + "length", + "percentage" ], "valid-identifiers": [ "normal" @@ -1459,7 +1460,8 @@ "inherited": true, "initial": "normal", "valid-types": [ - "length" + "length", + "percentage" ], "valid-identifiers": [ "normal"