ladybird/Tests/LibWeb/Layout/input/flex/percent-width-contribution-to-min-content-size.html
Andreas Kling 8d02f28cc2 LibWeb: Don't treat non-replaced sizes as 0 for min-content contrib
This behavior is part of the cyclic percentage contribution logic from
CSS-SIZING-3 which explicitly only applies to non-replaced boxes.

This fixes an issue on Discord where buttons in the settings UI were
cropped to a narrower width than intended.

Fixes #3572
2025-07-23 19:52:59 +02:00

15 lines
No EOL
352 B
HTML

<!doctype html><style>
* { outline: 1px solid black !important; }
body {
display: flex;
width: min-content;
height: 30px;
}
.wrapper {
min-width: 60px;
width: 100%;
}
.children {
white-space: nowrap;
}
</style><body><div class="wrapper"><div class="children">Edit User Profile