From 2e3f63fe3b905aef3ea509e703bef119d0008f19 Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Tue, 26 Sep 2023 15:59:01 +0100 Subject: [PATCH] LibWeb: Correct longhands for `grid` property These three are the ones that ShorthandStyleValue uses to serialize `grid`, so let's use them here. The spec also mentions `grid-auto-*` properties as being set by `grid`, but I'll leave that for someone who understands grid better. --- Userland/Libraries/LibWeb/CSS/Properties.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Userland/Libraries/LibWeb/CSS/Properties.json b/Userland/Libraries/LibWeb/CSS/Properties.json index 60fc5fe19c9..22326b88449 100644 --- a/Userland/Libraries/LibWeb/CSS/Properties.json +++ b/Userland/Libraries/LibWeb/CSS/Properties.json @@ -953,7 +953,9 @@ ], "percentages-resolve-to": "length", "longhands": [ - "grid-template" + "grid-template-areas", + "grid-template-rows", + "grid-template-columns" ] }, "grid-area": {