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

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

Issue 2919473002: [css-grid] Apply flow-aware logic for margins during stretching (Closed)
Patch Set: 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..cf5354f1dd92757d846c9f264b4ef9c8236e9e01 100644
--- a/third_party/WebKit/Source/core/layout/LayoutGrid.h
+++ b/third_party/WebKit/Source/core/layout/LayoutGrid.h
@@ -205,7 +205,8 @@ class LayoutGrid final : public LayoutBlock {
void PaintChildren(const PaintInfo&, const LayoutPoint&) const override;
- LayoutUnit MarginLogicalHeightForChild(const LayoutBox&) const;
+ LayoutUnit MarginLogicalSizeForChild(GridTrackSizingDirection,
+ const LayoutBox&) const;
LayoutUnit ComputeMarginLogicalSizeForChild(MarginDirection,
const LayoutBox&) const;
LayoutUnit AvailableAlignmentSpaceForChildBeforeStretching(

Powered by Google App Engine
This is Rietveld 408576698