LibWeb: Fix division by zero in auto-fit/fill track calculation in GFC

Fixes https://github.com/SerenityOS/serenity/issues/22319
This commit is contained in:
Aliaksandr Kalenik 2023-12-16 18:23:14 +01:00 committed by Andreas Kling
commit 4c81414b14
Notes: sideshowbarker 2024-07-17 06:51:10 +09:00
3 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,6 @@
<!DOCTYPE html><style>
body {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(0%, 1fr));
}
</style><body>