ASSERTION FAILED: columnCount in WebCore::CSSParser::parseGridTemplateAreasRow
[WebKit-https.git] / Source / WebCore / css / CSSParser.cpp
index e50490e..d0cf45e 100644 (file)
@@ -5568,7 +5568,7 @@ bool CSSParser::parseGridTemplateAreasRow(NamedGridAreaMap& gridAreaMap, const u
         return false;
 
     String gridRowNames = currentValue->string;
-    if (gridRowNames.isEmpty())
+    if (gridRowNames.isEmpty() || gridRowNames.containsOnlyWhitespace())
         return false;
 
     Vector<String> columnNames;