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

Unified Diff: Source/core/layout/TableLayoutAlgorithmAuto.h

Issue 1177653002: Revert "Don't add artifical 1 pixel width to empty tables" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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
Index: Source/core/layout/TableLayoutAlgorithmAuto.h
diff --git a/Source/core/layout/TableLayoutAlgorithmAuto.h b/Source/core/layout/TableLayoutAlgorithmAuto.h
index 50bf878e5d4e2c4d67cc16a14f182065730270a4..6692ffe73e3389fa9c74427cde9484d36ca8a849 100644
--- a/Source/core/layout/TableLayoutAlgorithmAuto.h
+++ b/Source/core/layout/TableLayoutAlgorithmAuto.h
@@ -33,8 +33,7 @@ class LayoutTableCell;
enum CellsToProcess {
AllCells,
- NonEmptyCells,
- EmptyCells
+ NonEmptyCells
};
enum DistributionMode {
@@ -76,7 +75,6 @@ private:
, effectiveMaxLogicalWidth(0)
, computedLogicalWidth(0)
, emptyCellsOnly(true)
- , columnHasNoCells(true)
{
}
@@ -88,8 +86,6 @@ private:
int effectiveMaxLogicalWidth;
int computedLogicalWidth;
bool emptyCellsOnly;
- bool columnHasNoCells;
- int clampedEffectiveMaxLogicalWidth() { return std::max<int>(1, effectiveMaxLogicalWidth); }
};
Vector<Layout, 4> m_layoutStruct;
« no previous file with comments | « LayoutTests/tables/mozilla/bugs/bug222336-expected.txt ('k') | Source/core/layout/TableLayoutAlgorithmAuto.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698