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

Tests/LibWeb: Test flex column item with auto height and max-width

This case is important because we have to clamp the width before using
it to determine the auto height.
This commit is contained in:
Andreas Kling 2023-03-26 13:07:03 +02:00
parent 5b030a6923
commit 949483fb01
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,16 @@
<!DOCTYPE html><html><head><style>
* {
margin: 0;
padding: 0;
border: 1px solid black;
font: 16px SerenitySans;
}
body {
display: flex;
flex-direction: column;
}
main {
background: pink;
max-width: 400px;
}
</style></head><body><main>For my day job I'm currently working as a Software Engineer at For my day job I'm currently working as a Software Engineer at For my day job I'm currently working as a Software Engineer at