1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-08 17:37:35 +00:00
serenity/Tests/LibWeb/Layout/input/zero-size-replaced-box-with-aspect-ratio.html
Aliaksandr Kalenik c4f49e343a LibWeb: Fix division by zero in solve_replaced_size_constraint()
Fixes crashes that occur in Discord after clicking on a direct messages
conversation.
2024-02-20 20:35:34 +01:00

8 lines
194 B
HTML

<!DOCTYPE html>
<style>
svg {
aspect-ratio: 1 / 1;
min-width: 100px;
min-height: 100px;
}
</style><div style="width: 0px; height: 0px"><svg xmlns="http://www.w3.org/2000/svg"></svg>