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

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: 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/LayoutFlexibleBox.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.h b/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.h
index 38f2c5f04b1c689c72c28af49cb434eeb2ab5ebd..76092ca403745fc26e5750729b2bf1197283681c 100644
--- a/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.h
+++ b/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.h
@@ -91,6 +91,10 @@ class CORE_EXPORT LayoutFlexibleBox : public LayoutBlock {
void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override;
void removeChild(LayoutObject*) override;
+ ItemPosition selfAlignmentNormalBehavior(
+ const LayoutBox* child = nullptr) const override {
+ return ItemPositionStretch;
+ }
private:
enum FlexSign {
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBox.h ('k') | third_party/WebKit/Source/core/layout/LayoutFullScreen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698