servo/components/layout_2020/flow
Martin Robinson fa40c22122
Split layout_in_flow_non_replaced_block_level
This function is already quite big and the changes necessary for
properly laying out independent formatting contexts next to floats will
make it even more unwieldy. Split the function in two and add a helper
for calculating the containing block for children and the margin. As
time goes on the independent formatting case is probably going to be
more like the replaced case anyway.

Co-authored-by: Oriol Brufau <obrufau@igalia.com>
2023-07-03 16:11:44 +02:00
..
construct.rs layout_2020: Check blocks for whether they will establish a formatting context 2023-05-31 23:28:28 +08:00
float.rs Layout 2020: Properly calculate clearance 2023-06-30 16:51:39 +02:00
inline.rs Auto merge of #29836 - stshine:newline, r=mrobinson 2023-06-30 17:45:19 +02:00
mod.rs Split layout_in_flow_non_replaced_block_level 2023-07-03 16:11:44 +02:00
root.rs Simplify layout of absolutes with static insets 2023-06-20 11:44:25 +02:00