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

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

Issue 1360753002: Only block container children support pagination struts. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: code review Created 5 years, 3 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/LayoutBlockFlow.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/LayoutTable.cpp
diff --git a/Source/core/layout/LayoutTable.cpp b/Source/core/layout/LayoutTable.cpp
index 1e52da8b5f249c922a66e00a60d2b8800642e02e..b63777d4c79ebe6550cfc69c958f5c652de9f19b 100644
--- a/Source/core/layout/LayoutTable.cpp
+++ b/Source/core/layout/LayoutTable.cpp
@@ -372,10 +372,6 @@ void LayoutTable::layoutCaption(LayoutTableCaption& caption)
}
// Apply the margins to the location now that they are definitely available from layout
LayoutUnit captionLogicalTop = collapsedMarginBeforeForChild(caption) + logicalHeight();
- if (view()->layoutState()->isPaginated()) {
- captionLogicalTop += caption.paginationStrut();
- caption.setPaginationStrut(0);
- }
caption.setLogicalLocation(LayoutPoint(caption.marginStart(), captionLogicalTop));
if (!selfNeedsLayout())
« no previous file with comments | « Source/core/layout/LayoutBlockFlow.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698