commit 0490c73f2f226982928bccb4b32ed716c48bbfa4
parent e7c39a3bb9376c3b2f145f30890edb121d66c2b2
Author: Cosmin Sabou <csabou@mozilla.com>
Date: Tue, 16 Dec 2025 21:48:27 +0200
Revert "Bug 2006239 - Exclude PushedAbsolute child list in nsLayoutUtils::CalculateContentBEnd(). r=layout-reviewers,dholbert" for causing build bustages on nsLayoutUtils
This reverts commit 577185e60ee2ab7af834102130c2459de80a586d.
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/layout/base/nsLayoutUtils.cpp b/layout/base/nsLayoutUtils.cpp
@@ -5794,9 +5794,9 @@ nscoord nsLayoutUtils::CalculateContentBEnd(WritingMode aWM, nsIFrame* aFrame) {
// calculation is intended to affect layout.
LogicalSize overflowSize(aWM, aFrame->ScrollableOverflowRect().Size());
if (overflowSize.BSize(aWM) > contentBEnd) {
- using enum FrameChildListID;
- FrameChildListIDs skip{PushedAbsolute, Overflow, ExcessOverflowContainers,
- OverflowOutOfFlow};
+ FrameChildListIDs skip = {FrameChildListID::Overflow,
+ FrameChildListID::ExcessOverflowContainers,
+ FrameChildListID::OverflowOutOfFlow};
nsBlockFrame* blockFrame = do_QueryFrame(aFrame);
if (blockFrame) {
contentBEnd =