From ab57d7b4086b39c9d3d6f4dc6d43e71e5fc04647 Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Fri, 13 Aug 2021 17:48:21 +0100 Subject: [PATCH] LibWeb: Correct initial values for flex CSS properties `flex-basis` and `flex-shrink` had different default values than are dictated in the spec. --- Userland/Libraries/LibWeb/CSS/Properties.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Userland/Libraries/LibWeb/CSS/Properties.json b/Userland/Libraries/LibWeb/CSS/Properties.json index b20097190e..2fbc714e01 100644 --- a/Userland/Libraries/LibWeb/CSS/Properties.json +++ b/Userland/Libraries/LibWeb/CSS/Properties.json @@ -216,7 +216,7 @@ }, "flex-basis": { "inherited": false, - "initial": "content" + "initial": "auto" }, "flex-direction": { "inherited": false, @@ -234,7 +234,7 @@ }, "flex-shrink": { "inherited": false, - "initial": 0 + "initial": 1 }, "flex-wrap": { "inherited": false,