1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 09:27:35 +00:00

Tests/LibWeb: Add test for flex item auto height with flex-wrap: wrap

This commit is contained in:
Andreas Kling 2023-03-26 13:03:27 +02:00
parent 2699f226fb
commit 5b030a6923
2 changed files with 29 additions and 0 deletions

View file

@ -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>