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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTableCell.cpp

Issue 2412923002: Top-align table cells in rows that cross fragmentainer boundaries. (Closed)
Patch Set: Let's keep the pagination strut substraction thing a bit longer, since removing it affects some DRT… Created 4 years, 2 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
Index: third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp b/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
index 920900bb72d3dd6feca38098ba90f18cf8955a4b..055f3998e48333c6b2c7b58ce258685e11094af7 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
@@ -206,6 +206,7 @@ void LayoutTableCell::addLayerHitTestRects(
}
void LayoutTableCell::computeIntrinsicPadding(int rowHeight,
+ EVerticalAlign verticalAlign,
SubtreeLayoutScope& layouter) {
int oldIntrinsicPaddingBefore = intrinsicPaddingBefore();
int oldIntrinsicPaddingAfter = intrinsicPaddingAfter();
@@ -214,7 +215,7 @@ void LayoutTableCell::computeIntrinsicPadding(int rowHeight,
oldIntrinsicPaddingAfter;
int intrinsicPaddingBefore = 0;
- switch (style()->verticalAlign()) {
+ switch (verticalAlign) {
case VerticalAlignSub:
case VerticalAlignSuper:
case VerticalAlignTextTop:
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTableCell.h ('k') | third_party/WebKit/Source/core/layout/LayoutTableSection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698