gecko-dev/layout
Ting-Yu Lin f842cc4b96 Bug 1671527 Part 2 - Make ProcessChildren()'s callers responsible for calling MaybePushFloatContainingBlock(). r=emilio
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
2021-07-23 22:52:05 +00:00
..
base Bug 1671527 Part 2 - Make ProcessChildren()'s callers responsible for calling MaybePushFloatContainingBlock(). r=emilio 2021-07-23 22:52:05 +00:00
build Bug 1666222: Remove added Fuzzyfox Files Patch 1/5 r=smaug,necko-reviewers,kershaw 2021-07-14 18:18:15 +00:00
docs Bug 1682703: [css-grid-3] Remove in-tree masonry draft spec, now that it lives in csswg repo. r=mats DONTBUILD 2020-12-16 05:17:36 +00:00
forms Bug 1720804 - Part 1: Move majority of the display list code inside mozilla namespace r=mattwoodrow 2021-07-19 11:28:20 +00:00
generic Bug 1721537 - Split out WindowRenderer base class from LayerManager. r=miko 2021-07-22 22:58:57 +00:00
inspector Bug 1711437 - Don't EnsureUniqueInner from the cssRules getter. r=layout-reviewers,jfkthame 2021-07-20 13:17:02 +00:00
ipc Bug 1721537 - Split out WindowRenderer base class from LayerManager. r=miko 2021-07-22 22:58:57 +00:00
mathml Bug 1720804 - Part 1: Move majority of the display list code inside mozilla namespace r=mattwoodrow 2021-07-19 11:28:20 +00:00
media Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
painting Bug 1663475 - Paint caret geometry from the containing block. r=mats 2021-07-23 12:50:31 +00:00
printing Bug 1720688 - Support extended attribute syntax in protocol declarations, r=mccr8 2021-07-22 02:24:43 +00:00
reftests Bug 1718175 - only change fuzz for radialGradient-basic-03.svg on Windows AArch. CLOSED TREE 2021-07-22 16:59:14 +02:00
style Bug 1665638 - Remove layout.css.clip-path-path.enabled.r=emilio 2021-07-22 08:04:47 +00:00
svg Bug 1720804 - Part 1: Move majority of the display list code inside mozilla namespace r=mattwoodrow 2021-07-19 11:28:20 +00:00
tables Bug 1717655 - Fix bevelRect size calculation r=nical 2021-07-21 15:05:35 +00:00
tools Bug 1718755 - Ensure the reftest harness at least ticks the refresh driver once. r=tnikkel 2021-07-20 14:10:58 +00:00
xul Bug 1717684, remove the popupRangeParent and popupRangeOffset properties in document and just use the cached event in the PendingPopup, r=emilio 2021-07-22 19:50:10 +00:00
moz.build Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00