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

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

Issue 17601010: [CSS Grid Layout] Rename grid placement properties (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 6 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 64defa56deadd233156d5206a76a7e3b2f516fb8..d81f2f4b4eaaf75948ea6bafcf657065e3cda2f3 100644
--- a/Source/core/css/CSSComputedStyleDeclaration.cpp
+++ b/Source/core/css/CSSComputedStyleDeclaration.cpp
@@ -259,12 +259,12 @@ static const CSSPropertyID staticComputableProperties[] = {
CSSPropertyGridAutoColumns,
CSSPropertyGridAutoFlow,
CSSPropertyGridAutoRows,
+ CSSPropertyGridColumnEnd,
+ CSSPropertyGridColumnStart,
CSSPropertyGridColumns,
+ CSSPropertyGridRowEnd,
+ CSSPropertyGridRowStart,
CSSPropertyGridRows,
- CSSPropertyGridStart,
- CSSPropertyGridEnd,
- CSSPropertyGridBefore,
- CSSPropertyGridAfter,
CSSPropertyWebkitHighlight,
CSSPropertyWebkitHyphenateCharacter,
CSSPropertyWebkitHyphenateLimitAfter,
@@ -1924,14 +1924,14 @@ PassRefPtr<CSSValue> CSSComputedStyleDeclaration::getPropertyCSSValue(CSSPropert
case CSSPropertyGridRows:
return valueForGridTrackList(style->gridRows(), style->namedGridRowLines(), style.get(), m_node->document()->renderView());
- case CSSPropertyGridStart:
- return valueForGridPosition(style->gridStart());
- case CSSPropertyGridEnd:
- return valueForGridPosition(style->gridEnd());
- case CSSPropertyGridBefore:
- return valueForGridPosition(style->gridBefore());
- case CSSPropertyGridAfter:
- return valueForGridPosition(style->gridAfter());
+ case CSSPropertyGridColumnStart:
+ return valueForGridPosition(style->gridColumnStart());
+ case CSSPropertyGridColumnEnd:
+ return valueForGridPosition(style->gridColumnEnd());
+ case CSSPropertyGridRowStart:
+ return valueForGridPosition(style->gridRowStart());
+ case CSSPropertyGridRowEnd:
+ return valueForGridPosition(style->gridRowEnd());
case CSSPropertyGridColumn:
return getCSSPropertyValuesForGridShorthand(gridColumnShorthand());
case CSSPropertyGridRow:

Powered by Google App Engine
This is Rietveld 408576698