Index: Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl |
diff --git a/Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl b/Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl |
index 1c79f6bcd437baace3fed3fe42a829921b5528d3..0b2851ee9f044a75f4ebb3335c9d0a49c4925bb8 100644 |
--- a/Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl |
+++ b/Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl |
@@ -446,6 +446,9 @@ namespace WebCore { |
OrderedNamedGridLines orderedNamedGridLines; |
if (!StyleBuilderConverter::convertGridTrackList(value, trackSizes, namedGridLines, orderedNamedGridLines, state)) |
return; |
+ const NamedGridAreaMap& namedGridAreas = state.style()->namedGridArea(); |
+ if (!namedGridAreas.isEmpty()) |
+ StyleBuilderConverter::createImplicitNamedGridLinesFromGridArea(namedGridAreas, namedGridLines, For{{type}}s); |
state.style()->setGridTemplate{{type}}s(trackSizes); |
state.style()->setNamedGrid{{type}}Lines(namedGridLines); |
state.style()->setOrderedNamedGrid{{type}}Lines(orderedNamedGridLines); |