mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:37:45 +00:00
Tests/LibWeb: Add test for flex item auto height with flex-wrap: wrap
This commit is contained in:
parent
2699f226fb
commit
5b030a6923
2 changed files with 29 additions and 0 deletions
|
@ -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>
|
Loading…
Add table
Add a link
Reference in a new issue