summaryrefslogtreecommitdiff
path: root/Tests/LibWeb/Layout/input
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2023-05-26 19:01:01 +0200
committerAndreas Kling <kling@serenityos.org>2023-05-27 05:47:54 +0200
commita277c393b909a25a157e695cfaa357832e15da7f (patch)
treee8b52258dddd5a91a6b806f7bccb82632fdbcbec /Tests/LibWeb/Layout/input
parent299775345d24633fc4b7bcea27ce6751df5f80ed (diff)
downloadserenity-a277c393b909a25a157e695cfaa357832e15da7f.zip
LibWeb: Support grid items with fit-content width :^)
Diffstat (limited to 'Tests/LibWeb/Layout/input')
-rw-r--r--Tests/LibWeb/Layout/input/grid/grid-item-with-fit-content-width.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/LibWeb/Layout/input/grid/grid-item-with-fit-content-width.html b/Tests/LibWeb/Layout/input/grid/grid-item-with-fit-content-width.html
new file mode 100644
index 0000000000..d9a07f6df3
--- /dev/null
+++ b/Tests/LibWeb/Layout/input/grid/grid-item-with-fit-content-width.html
@@ -0,0 +1,5 @@
+<!DOCTYPE html><style>
+ * { border: 1px solid black; }
+ body { display: grid; }
+ .inner { width: fit-content; }
+</style><body><div class="inner">Press and Media \ No newline at end of file