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

Unified Diff: third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp

Issue 2161003003: [css-grid] repeat() syntax should take a <track-list> argument (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/css/parser/CSSPropertyParser.cpp
diff --git a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
index 4860e46454bfb0eeae8c9b1d16b99993403395cf..6a5ef8dd3e0efa8398445c3fad36c36a0422aac8 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
+++ b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
@@ -3448,8 +3448,6 @@ static bool consumeGridTrackRepeatFunction(CSSParserTokenRange& range, CSSParser
size_t numberOfTracks = 0;
while (!args.atEnd()) {
- if (isAutoRepeat && numberOfTracks)
- return false;
CSSValue* trackSize = consumeGridTrackSize(args, cssParserMode);
if (!trackSize)
return false;

Powered by Google App Engine
This is Rietveld 408576698