| Index: Source/core/rendering/RenderTableSection.cpp
|
| diff --git a/Source/core/rendering/RenderTableSection.cpp b/Source/core/rendering/RenderTableSection.cpp
|
| index fa33fb705d89d556526178dc2e118d9bad763dbd..da4b53a56e5c1fb5c6908e7bd47bd46eca864cab 100644
|
| --- a/Source/core/rendering/RenderTableSection.cpp
|
| +++ b/Source/core/rendering/RenderTableSection.cpp
|
| @@ -520,7 +520,12 @@ int RenderTableSection::calcRowLogicalHeight()
|
| LayoutStateMaintainer statePusher(viewRenderer);
|
|
|
| m_rowPos.resize(m_grid.size() + 1);
|
| - m_rowPos[0] = table()->vBorderSpacing();
|
| +
|
| + // We ignore the border-spacing on any non-top section as it is already included in the previous section's last row position.
|
| + if (this == table()->topSection())
|
| + m_rowPos[0] = table()->vBorderSpacing();
|
| + else
|
| + m_rowPos[0] = 0;
|
|
|
| SpanningRenderTableCells rowSpanCells;
|
|
|
|
|