| Index: Source/core/rendering/RenderBlockFlow.cpp
|
| diff --git a/Source/core/rendering/RenderBlockFlow.cpp b/Source/core/rendering/RenderBlockFlow.cpp
|
| index 59f340af2fe800852a556ae073586bdb11a2ea27..7dbd36616390812bdc5bd83c085ffa4fc3d262de 100644
|
| --- a/Source/core/rendering/RenderBlockFlow.cpp
|
| +++ b/Source/core/rendering/RenderBlockFlow.cpp
|
| @@ -1326,7 +1326,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() && hasMarginBeforeQuirk(child) && (isTableCell() || isBody())) || child->style()->marginBeforeCollapse() == MSEPARATE)
|
| + if ((document().inQuirksMode() && hasMarginAfterQuirk(child) && (isTableCell() || isBody())) || child->style()->marginBeforeCollapse() == MSEPARATE)
|
| return;
|
|
|
| // The margins are discarded by a child that specified -webkit-margin-collapse: discard.
|
|
|