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

Unified Diff: third_party/WebKit/Source/core/style/ComputedStyle.cpp

Issue 2166393002: [css-grid] grid-auto-flow|row should take a <track-size>+ (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/style/ComputedStyle.cpp
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.cpp b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
index 8f5d6fb33f8b9fe0804b06bc60f51b422a48628d..6df8068782df6b3e7ee478632f90f078a97c3603 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
@@ -1925,6 +1925,23 @@ bool ComputedStyle::shadowListHasCurrentColor(const ShadowList* shadowList)
return false;
}
+inline Vector<GridTrackSize> initialGridAutoTracks()
Manuel Rego 2016/07/22 08:24:55 Why not mark it as static?
svillar 2016/07/22 13:08:28 No particular reason, some methods in that file ar
+{
+ Vector<GridTrackSize> trackSizeList;
+ trackSizeList.append(GridTrackSize(Length(Auto)));
+ return trackSizeList;
+}
+
+Vector<GridTrackSize> ComputedStyle::initialGridAutoColumns()
+{
+ return initialGridAutoTracks();
+}
+
+Vector<GridTrackSize> ComputedStyle::initialGridAutoRows()
+{
+ return initialGridAutoTracks();
+}
+
int adjustForAbsoluteZoom(int value, float zoomFactor)
{
if (zoomFactor == 1)

Powered by Google App Engine
This is Rietveld 408576698