1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-25 20:55:07 +00:00
serenity/Tests/LibWeb/Layout
Aliaksandr Kalenik d1e542999c LibWeb: Ensure preceding offset is non-negative in float_box()
When calculating the edge offset of the next floating item based on the
offset of the preceding floating item, we need to ensure that the
preceding offset is always > 0. This isn't explicitly written in the
spec, but all other popular engines do that.

Fixes https://github.com/SerenityOS/serenity/issues/21023
2023-09-12 12:11:53 +02:00
..
expected LibWeb: Ensure preceding offset is non-negative in float_box() 2023-09-12 12:11:53 +02:00
input LibWeb: Ensure preceding offset is non-negative in float_box() 2023-09-12 12:11:53 +02:00