mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-25 02:40:22 -10:00
In frame construction, a block can be split by column-spans into several fragments and each of the fragments is chained together by non-fluid continuations. Later in reflow, each fragment can create its own fluid continuations due to reasons such as the constraint of its available block-size. The main idea of this patch is that we calculate the block's final block-size by shrinkwrapping the children for every fragment except for those fluid continuations after the final column-span. To do that, we need to correctly tag each non-column-span-wrappers nsIFrame::HasColumnSpanSiblings() except the last one. We also need to modify nsSplittableFrame::ConsumedBSize() so that it includes the block-size for both fluid and non-fluid continuations. Differential Revision: https://phabricator.services.mozilla.com/D38124