зеркало из https://github.com/mozilla/gecko-dev.git
f842cc4b96
Before this patch, a floating containing block (block frame)'s float descendants are added to its mFloatedList in ~nsFrameConstructorSaveState() after returning from ProcessChildren(). This patch delays that by avoiding calling MaybePushFloatContainingBlock() in ProcessChildren(), and move the call one level up to ProcessChildren()'s callers so that the float descendants are parented to the block frame after leaving the callers. This is similar to how we handle the scope of abspos containing block. This surely adds burden to some of the ProcessChildren() callers, but it also unifies the float containing block scope for those callers utilizing both ConstructFramesFromItemList() and ProcessChildren(). This doesn't change the behavior for now, but it is required by the next part to correctly reparent the float descendants to the correct non-column-span block continuations split by column-span wrappers. Differential Revision: https://phabricator.services.mozilla.com/D120104 |
||
---|---|---|
.. | ||
base | ||
build | ||
docs | ||
forms | ||
generic | ||
inspector | ||
ipc | ||
mathml | ||
media | ||
painting | ||
printing | ||
reftests | ||
style | ||
svg | ||
tables | ||
tools | ||
xul | ||
moz.build |