1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 04:18:14 +00:00
serenity/Tests/LibWeb/Layout
Andreas Kling bab6796099 LibWeb: Rewrite calculation of available space between floats
This code now works in terms of *intrusion* by left and right side
floats into a given box whose insides we're trying to layout.

Previously, it worked in terms of space occupied by floats in the root
box of the BFC they participated in. That created a bunch of edge cases
since the code asking about the information wasn't operating in root
coordinate space, but in the coordinate space of some arbitrarily nested
block descendant of the root.

This finally allows horizontal margins in the containing block chain to
affect floats and nested content correctly, and it also allows us to
remove a bogus workaround in InlineFormattingContext.
2023-05-16 14:35:10 +02:00
..
expected LibWeb: Rewrite calculation of available space between floats 2023-05-16 14:35:10 +02:00
input LibWeb: Rewrite calculation of available space between floats 2023-05-16 14:35:10 +02:00
layout_test.sh LibWeb: Align GridFormattingContext::run_track_sizing() with the spec 2023-05-09 06:37:30 +02:00