servo/components/layout_2020/flow
Oriol Brufau 995d607608 Resolve percentages in find_block_margin_collapsing_with_parent
Padding percentages weren't being resolved, this function would think
that margins wouldn't collapse even if the percentage resolved to 0px.
And margin percentages were always resolved to 0px.

So now the function takes a ContainingBlock parameter that is used to
resolve these percentages properly.
2023-07-01 03:18:11 +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 Resolve percentages in find_block_margin_collapsing_with_parent 2023-07-01 03:18:11 +02:00
root.rs Simplify layout of absolutes with static insets 2023-06-20 11:44:25 +02:00