Gecko:Continuation Model: Difference between revisions

Mentioned column-span can create non-fluid continuations.
m (Add <code> block to make function names and class names easier to read.)
(Mentioned column-span can create non-fluid continuations.)
Line 47: Line 47:
* <code>nsBlockFrame</code> creates multiple inline children, each one associated with the same inline element, separated by line breaks, or by changes in text direction
* <code>nsBlockFrame</code> creates multiple inline children, each one associated with the same inline element, separated by line breaks, or by changes in text direction
* <code>nsTableColFrame</code> creates non-fluid continuations for itself if it has span="N" and N > 1
* <code>nsTableColFrame</code> creates non-fluid continuations for itself if it has span="N" and N > 1
* If a block frame is a multi-column container and has <code>column-span:all</code> children, it creates multiple <code>nsColumnSetFrame</code> children, which are linked together as non-fluid continuations. Similarly, if a block frame is within a multi-column formatting context and has <code>column-span:all</code> children, it is chopped into several flows, which are linked together as non-fluid continuations as well. See documentation and example frame trees in <code>[https://searchfox.org/mozilla-central/rev/d24696b5abaf9fb75f7985952eab50d5f4ed52ac/layout/base/nsCSSFrameConstructor.cpp#10431 nsCSSFrameConstructor::ConstructBlock()]</code>.


=== Overflow Container Continuations ===
=== Overflow Container Continuations ===
Confirmed users
885

edits