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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBox.h

Issue 2740063003: Revert of [table] Stretching tables when needed due to self-alignment properties (Closed)
Patch Set: Created 3 years, 9 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/LayoutBox.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.h b/third_party/WebKit/Source/core/layout/LayoutBox.h
index 0cd8bc3b78d945de045ed625f4d636905f4e6cbd..eda48c9efd564a5af8f583f2a8dbc59ba04660f5 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBox.h
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.h
@@ -1383,7 +1383,8 @@
virtual ItemPosition selfAlignmentNormalBehavior(
const LayoutBox* child = nullptr) const {
- return ItemPositionStart;
+ DCHECK(!child);
+ return ItemPositionStretch;
}
// Returns false if it could not cheaply compute the extent (e.g. fixed

Powered by Google App Engine
This is Rietveld 408576698