Function layout_2013::sequential::guess_float_placement

source ·
pub fn guess_float_placement(flow: &mut dyn Flow)
Expand description

Guesses how much inline size will be taken up by floats on the left and right sides of the given flow. This is needed to speculatively calculate the inline sizes of block formatting contexts. The speculation typically succeeds, but if it doesn’t we have to lay it out again.