mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:57:46 +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:
parent
5b030a6923
commit
949483fb01
2 changed files with 36 additions and 0 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue