[LFC] The static position for an out-of-flow box should include the previous sibling...
[WebKit-https.git] / Source / WebCore / layout / blockformatting / BlockFormattingContext.cpp
index c9c8275..2a057c6 100644 (file)
@@ -194,9 +194,7 @@ void BlockFormattingContext::computeInFlowHeightAndMargin(LayoutContext& layoutC
     displayBox.setContentBoxHeight(heightAndMargin.height);
     displayBox.moveVertically(heightAndMargin.collapsedMargin.value_or(heightAndMargin.margin).top);
     displayBox.setVerticalMargin(heightAndMargin.collapsedMargin.value_or(heightAndMargin.margin));
-#ifndef NDEBUG
     displayBox.setVerticalNonCollapsedMargin(heightAndMargin.margin);
-#endif
 }
 
 void BlockFormattingContext::computeInFlowWidthAndMargin(LayoutContext& layoutContext, const Box& layoutBox, Display::Box& displayBox) const