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

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

Issue 1885913002: [css-grid] Use grid-template-areas to determine the explicit grid (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutGrid.cpp b/third_party/WebKit/Source/core/layout/LayoutGrid.cpp
index c289e73157282f2d53cb848b2e832d14ca529527..0e731899b345173206ba6cd948c03df045b032ba 100644
--- a/third_party/WebKit/Source/core/layout/LayoutGrid.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutGrid.cpp
@@ -308,7 +308,9 @@ void LayoutGrid::styleDidChange(StyleDifference diff, const ComputedStyle* oldSt
bool LayoutGrid::explicitGridDidResize(const ComputedStyle& oldStyle) const
{
return oldStyle.gridTemplateColumns().size() != styleRef().gridTemplateColumns().size()
- || oldStyle.gridTemplateRows().size() != styleRef().gridTemplateRows().size();
+ || oldStyle.gridTemplateRows().size() != styleRef().gridTemplateRows().size()
+ || oldStyle.namedGridAreaColumnCount() != styleRef().namedGridAreaColumnCount()
+ || oldStyle.namedGridAreaRowCount() != styleRef().namedGridAreaRowCount();
}
bool LayoutGrid::namedGridLinesDefinitionDidChange(const ComputedStyle& oldStyle) const

Powered by Google App Engine
This is Rietveld 408576698