summaryrefslogtreecommitdiff
path: root/Tests/LibWeb/Layout/input/flex-item-auto-height-with-wrap.html
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/LibWeb/Layout/input/flex-item-auto-height-with-wrap.html')
-rw-r--r--Tests/LibWeb/Layout/input/flex-item-auto-height-with-wrap.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/Tests/LibWeb/Layout/input/flex-item-auto-height-with-wrap.html b/Tests/LibWeb/Layout/input/flex-item-auto-height-with-wrap.html
new file mode 100644
index 0000000000..3fcbdec589
--- /dev/null
+++ b/Tests/LibWeb/Layout/input/flex-item-auto-height-with-wrap.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html><html><head><style>
+ html {
+ background: white;
+ font: 16px 'SerenitySans';
+ }
+ .outer {
+ width: 400px;
+ height: 100px;
+ display: flex;
+ flex-direction: column;
+ background: pink;
+ }
+ .inner {
+ display: flex;
+ flex-wrap: wrap;
+ background: orange;
+ }
+</style></head><body class="outer"><div class="inner">The orange box should have a snug height</div></div></div>