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

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

Issue 2528253003: [table] Stretching tables when needed due to self-alignment properties (Closed)
Patch Set: Applied suggested changes. Created 4 years, 1 month 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/LayoutFlexibleBox.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.h b/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.h
index 4140b4b0908cec7c7c7d38679b61caae0373b817..36a800725144878db796c23fc842f990bbed157b 100644
--- a/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.h
+++ b/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.h
@@ -95,6 +95,9 @@ class CORE_EXPORT LayoutFlexibleBox : public LayoutBlock {
void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override;
void removeChild(LayoutObject*) override;
+ ItemPosition selfAlignmentNormalBehavior() const override {
+ return ItemPositionStretch;
+ }
private:
enum FlexSign {

Powered by Google App Engine
This is Rietveld 408576698