1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 15:28:11 +00:00
serenity/Tests/LibWeb/Layout/input/flex/justify-content-space-between-single-item.html
Aliaksandr Kalenik 849cf894d8 LibWeb: Fix division by zero in distribute_any_remaining_free_space
This change fixes division by zero in case flex container has
"justify-content: space-between" and only single item.
2023-07-25 14:51:50 +02:00

6 lines
No EOL
127 B
HTML

<style>
.container {
display: flex;
justify-content: space-between;
}
</style><div class="container"><div>A</div></div>