mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-15 04:13:11 +00:00
f3556f239e
When using the flex shrink factor, the flexible length resolution algorithm was incorrectly ignoring the `frozen` flag on items and would update the same items again, causing overconsumption of the remaining free space on the flex line.
13 lines
453 B
HTML
13 lines
453 B
HTML
<!DOCTYPE html><html><head><style>
|
|
* {
|
|
border: 1px solid black;
|
|
font-family: 'SerenitySans';
|
|
}
|
|
.flexbox {
|
|
display: flex;
|
|
height: 50px;
|
|
}
|
|
.last {
|
|
width: 500px;
|
|
}
|
|
</style></head><body><div class="flexbox"><div>LongPieceOfText</div><div>LongPieceOfText</div><div>LongPieceOfText</div><div>LongPieceOfText</div><div class="last item">LongPieceOfText</div></div></div></body></html> |