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

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

Issue 2057113002: [css-grid] Allow percentage values for column and row gutters (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Grid gaps don't support unitless quirk. Created 4 years, 6 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 2b7f531231f44fba6c4270a07ab86968c9e71a77..b0e73ab5f309962eefabd1a14f0fe37a87ed4f85 100644
--- a/third_party/WebKit/Source/core/layout/LayoutGrid.h
+++ b/third_party/WebKit/Source/core/layout/LayoutGrid.h
@@ -71,7 +71,7 @@ public:
return m_rowPositions;
}
- LayoutUnit guttersSize(GridTrackSizingDirection, size_t span) const;
+ LayoutUnit guttersSize(GridTrackSizingDirection, size_t span, LayoutUnit availableSize) const;
Manuel Rego 2016/07/01 06:45:57 I'm not really convinced about this API, specially
svillar 2016/07/13 09:08:08 FWIW I'm making it private in the auto-fit patch.
LayoutUnit offsetBetweenTracks(GridTrackSizingDirection direction) const
{

Powered by Google App Engine
This is Rietveld 408576698