From 173cc5e6e0db0a2d9065deb938222afc862489ad Mon Sep 17 00:00:00 2001 From: martinfalisse Date: Tue, 17 Jan 2023 14:32:55 +0100 Subject: [PATCH] Base: Add tests for grid-template-areas and min/max-content --- Base/res/html/misc/display-grid.html | 70 ++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/Base/res/html/misc/display-grid.html b/Base/res/html/misc/display-grid.html index 5dd269b7f7..fbeb6147e4 100644 --- a/Base/res/html/misc/display-grid.html +++ b/Base/res/html/misc/display-grid.html @@ -518,3 +518,73 @@ length value, and as a minimum two lengths with an auto. --> ">1
1
+ +

Grid template areas basics

+
+
right-bottom
+
left
+
right-top
+
+ + +

There should be a left-aligned column taking up 1 / 3 of the grid

+
+
1fr
+
+ + +

Column taking up 50% width

+
+
1fr
+
+ + +

Left-aligned column taking up 25% width

+
+
1fr
+
+ + +

Left-aligned column taking up 25% width

+
+
1fr
+
+ +

Min-content / Max-content / 1fr column widths

+
+
min-content
+
max-content
+
1fr
+