Files
ladybird/Userland/Libraries/LibWeb/Layout/FlexFormattingContext.cpp
Aliaksandr Kalenik 5cdd03fc53 LibWeb: Fix divisions by zero in FFC and GFC
This is the preparation to use fixed-point to represent CSSPixels.
Previously, it was acceptable to divide CSSPixels by zero, resulting
in inf, but after migrating to fixed-point stored as an integer, it
would lead to undefined behavior.
2023-07-25 11:52:02 +02:00

108 KiB