mirror of
https://github.com/RGBCube/serenity
synced 2025-05-24 00:45:07 +00:00

This starts working immediately in BFC thanks to calculate_inner_width being used for width constraints. :^)
13 lines
303 B
HTML
13 lines
303 B
HTML
<!doctype html><style>
|
|
* { border: 1px solid black; }
|
|
.box {
|
|
background: orange;
|
|
min-width: fit-content;
|
|
width: 10px;
|
|
}
|
|
.box2 {
|
|
background: pink;
|
|
max-width: fit-content;
|
|
width: 1000px;
|
|
}
|
|
</style><div class="box">Well hello friends</div><div class="box2">Well hello friends</div>
|