Index: Source/core/rendering/RenderBlockFlow.cpp |
diff --git a/Source/core/rendering/RenderBlockFlow.cpp b/Source/core/rendering/RenderBlockFlow.cpp |
index 9cbadc97f3faa2e182e4a9896c5bd58a479db925..d570412d5bbf0aa7fc8821c39ad5c59273a97362 100644 |
--- a/Source/core/rendering/RenderBlockFlow.cpp |
+++ b/Source/core/rendering/RenderBlockFlow.cpp |
@@ -1350,7 +1350,7 @@ void RenderBlockFlow::marginBeforeEstimateForChild(RenderBox* child, LayoutUnit& |
// Give up if in quirks mode and we're a body/table cell and the top margin of the child box is quirky. |
// Give up if the child specified -webkit-margin-collapse: separate that prevents collapsing. |
// FIXME: Use writing mode independent accessor for marginBeforeCollapse. |
- if ((document().inQuirksMode() && hasMarginAfterQuirk(child) && (isTableCell() || isBody())) || child->style()->marginBeforeCollapse() == MSEPARATE) |
+ if ((document().inQuirksMode() && hasMarginBeforeQuirk(child) && (isTableCell() || isBody())) || child->style()->marginBeforeCollapse() == MSEPARATE) |
return; |
// The margins are discarded by a child that specified -webkit-margin-collapse: discard. |