Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1239)

Unified Diff: Source/core/layout/LayoutTableRow.cpp

Issue 1211523002: Table cells, rows, sections or column (groups) don't support margins. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/layout/LayoutBox.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutTableRow.cpp
diff --git a/Source/core/layout/LayoutTableRow.cpp b/Source/core/layout/LayoutTableRow.cpp
index 318fa6a76ab84e0efd9b2b790bd6027fdb9c5e28..93adae4e3a52fe9d8fc78885c4e233eb403f34c1 100644
--- a/Source/core/layout/LayoutTableRow.cpp
+++ b/Source/core/layout/LayoutTableRow.cpp
@@ -167,10 +167,8 @@ void LayoutTableRow::layout()
SubtreeLayoutScope layouter(*cell);
if (!cell->needsLayout())
cell->markForPaginationRelayoutIfNeeded(layouter);
- if (cell->needsLayout()) {
- cell->computeAndSetBlockDirectionMargins(table());
+ if (cell->needsLayout())
cell->layout();
- }
}
m_overflow.clear();
« no previous file with comments | « Source/core/layout/LayoutBox.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698