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

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

Issue 2455093002: [css-align] Don't resolve 'auto' values for computed style. (Closed)
Patch Set: 'auto' is not valid for justify-items. Created 3 years, 7 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/LayoutGrid.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutGrid.h b/third_party/WebKit/Source/core/layout/LayoutGrid.h
index 34b5414d604dc05e004ba0ce788b2953dcb238e3..6b7a94aa64272065e01799ff3ca76d610b10db7e 100644
--- a/third_party/WebKit/Source/core/layout/LayoutGrid.h
+++ b/third_party/WebKit/Source/core/layout/LayoutGrid.h
@@ -128,6 +128,16 @@ class LayoutGrid final : public LayoutBlock {
LayoutObject* before_child = nullptr) override;
void RemoveChild(LayoutObject*) override;
+ bool SelfAlignmentChangedToStretchInRowAxis(const ComputedStyle& old_style,
+ const ComputedStyle& new_style,
+ const LayoutBox&);
+ bool SelfAlignmentChangedFromStretchInRowAxis(const ComputedStyle& old_style,
+ const ComputedStyle& new_style,
+ const LayoutBox&);
+ bool SelfAlignmentChangedFromStretchInColumnAxis(
+ const ComputedStyle& old_style,
+ const ComputedStyle& new_style,
+ const LayoutBox&);
void StyleDidChange(StyleDifference, const ComputedStyle*) override;
Optional<LayoutUnit> AvailableSpaceForGutters(GridTrackSizingDirection) const;

Powered by Google App Engine
This is Rietveld 408576698