From 543550d1dfe7ff2e8d1576f9b25d8aef3da31d2e Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Mon, 16 Aug 2021 17:09:34 +0100 Subject: [PATCH] LibWeb: Quote all initial values in Properties.json This is in preparation for parsing these into StyleValues automatically. Having them all be Strings makes the generation code simpler. --- Userland/Libraries/LibWeb/CSS/Properties.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Userland/Libraries/LibWeb/CSS/Properties.json b/Userland/Libraries/LibWeb/CSS/Properties.json index 92f47cc5c5..e5e3675b23 100644 --- a/Userland/Libraries/LibWeb/CSS/Properties.json +++ b/Userland/Libraries/LibWeb/CSS/Properties.json @@ -72,11 +72,11 @@ "inherited": false }, "border-bottom-left-radius": { - "initial": 0, + "initial": "0", "inherited": false }, "border-bottom-right-radius": { - "initial": 0, + "initial": "0", "inherited": false }, "border-bottom-style": { @@ -148,11 +148,11 @@ "inherited": false }, "border-top-left-radius": { - "initial": 0, + "initial": "0", "inherited": false }, "border-top-right-radius": { - "initial": 0, + "initial": "0", "inherited": false }, "border-top-style": { @@ -230,11 +230,11 @@ }, "flex-grow": { "inherited": false, - "initial": 0 + "initial": "0" }, "flex-shrink": { "inherited": false, - "initial": 1 + "initial": "1" }, "flex-wrap": { "inherited": false, @@ -354,7 +354,7 @@ }, "opacity": { "inherited": false, - "initial": 1 + "initial": "1" }, "overflow": { "longhands": [