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

Unified Diff: Source/core/rendering/RenderGrid.h

Issue 613273002: [CSS Grid Layout] Stretch value for align and justify properties. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: min/max constrain logic. Created 6 years, 2 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: Source/core/rendering/RenderGrid.h
diff --git a/Source/core/rendering/RenderGrid.h b/Source/core/rendering/RenderGrid.h
index 6f17556a22776a0014c78a93314c230b05a58a03..5943ee3be7838ad449d85d3c095713fc2c34e619 100644
--- a/Source/core/rendering/RenderGrid.h
+++ b/Source/core/rendering/RenderGrid.h
@@ -126,6 +126,14 @@ private:
LayoutUnit gridAreaBreadthForChild(const RenderBox& child, GridTrackSizingDirection, const Vector<GridTrack>&) const;
+ bool needToStretchChildLogicalHeight(RenderBox&) const;
+ LayoutUnit childIntrinsicHeight(RenderBox&) const;
+ LayoutUnit childIntrinsicWidth(RenderBox&) const;
+ LayoutUnit intrinsicExtentForChild(RenderBox&) const;
+ LayoutUnit marginExtentForChild(RenderBox&) const;
+ LayoutUnit availableAlignmentSpaceForChildBeforeStretching(LayoutUnit gridAreaBreadthForChild, RenderBox&) const;
+ void applyStretchAlignmentToChildIfNeeded(RenderBox&, LayoutUnit gridAreaBreadthForChild);
+
virtual void paintChildren(PaintInfo&, const LayoutPoint&) OVERRIDE;
#if ENABLE(ASSERT)

Powered by Google App Engine
This is Rietveld 408576698