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

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

Issue 2670363003: [css-grid] Clamp the number of auto repeat tracks in all cases (Closed)
Patch Set: New version matching the specs 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/LayoutGrid.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutGrid.h b/third_party/WebKit/Source/core/layout/LayoutGrid.h
index 445523e286c4e177ba4ee12373bd8c4cb4445c12..ed2b80926039a6c6ba765fe64a7d8a47251c575e 100644
--- a/third_party/WebKit/Source/core/layout/LayoutGrid.h
+++ b/third_party/WebKit/Source/core/layout/LayoutGrid.h
@@ -120,6 +120,8 @@ class LayoutGrid final : public LayoutBlock {
size_t computeAutoRepeatTracksCount(GridTrackSizingDirection,
SizingOperation) const;
+ size_t clampAutoRepeatTracks(GridTrackSizingDirection,
+ size_t autoRepeatTracks) const;
std::unique_ptr<OrderedTrackIndexSet> computeEmptyTracksForAutoRepeat(
Grid&,
« no previous file with comments | « third_party/WebKit/Source/core/layout/Grid.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutGrid.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698