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

Unified Diff: Source/core/css/CSSComputedStyleDeclaration.cpp

Issue 14493016: Fix handling of 'inherit' and 'initial' for grid lines (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Take 2: Forgot the code Created 7 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: Source/core/css/CSSComputedStyleDeclaration.cpp
diff --git a/Source/core/css/CSSComputedStyleDeclaration.cpp b/Source/core/css/CSSComputedStyleDeclaration.cpp
index 2888b8d003b6e54ddb19045b1dff264dedf3b458..16a1cf1391b7f6ca062efce639cc6458621f38bd 100644
--- a/Source/core/css/CSSComputedStyleDeclaration.cpp
+++ b/Source/core/css/CSSComputedStyleDeclaration.cpp
@@ -1914,13 +1914,13 @@ PassRefPtr<CSSValue> CSSComputedStyleDeclaration::getPropertyCSSValue(CSSPropert
return valueForGridTrackList(style->gridRows(), style.get(), m_node->document()->renderView());
case CSSPropertyWebkitGridStart:
- return valueForGridPosition(style->gridItemStart());
+ return valueForGridPosition(style->gridStart());
case CSSPropertyWebkitGridEnd:
- return valueForGridPosition(style->gridItemEnd());
+ return valueForGridPosition(style->gridEnd());
case CSSPropertyWebkitGridBefore:
- return valueForGridPosition(style->gridItemBefore());
+ return valueForGridPosition(style->gridBefore());
case CSSPropertyWebkitGridAfter:
- return valueForGridPosition(style->gridItemAfter());
+ return valueForGridPosition(style->gridAfter());
case CSSPropertyWebkitGridColumn:
return getCSSPropertyValuesForGridShorthand(webkitGridColumnShorthand());
case CSSPropertyWebkitGridRow:
« no previous file with comments | « LayoutTests/fast/css-grid-layout/resources/grid-item-column-row-parsing-utils.js ('k') | Source/core/css/StyleResolver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698