mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-10 17:55:52 +00:00
Previously, the corner overlap algorithm implementation did not shrink the border radii for zero width/height boxes, which resulted in incorrect painting. With this the implementation is updated to more closely follow the spec steps, which naturally handles the zero width/height case. This makes use of the `CSSPixelFraction` class for lossless comparison and multiplication of the scaling factor for the radii. Co-authored-by: Zaggy1024 <Zaggy1024@gmail.com>
34 KiB
34 KiB