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

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

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

Powered by Google App Engine
This is Rietveld 408576698