1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-09-13 17:47:58 +00:00
Commit graph

1 commit

Author SHA1 Message Date
Andreas Kling
89ba00304c LibWeb: Account for negative margins when calculating float intrusion
If a box has a negative margin-left, it may have a negative effective
offset within its parent BFC root coordinate system.

We can account for this when calculating the amount of left-side float
intrusion by flooring the X offset at 0.
2023-06-04 18:14:12 +02:00