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

Unified Diff: third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h

Issue 1709963002: [css-align] New CSS Value 'normal' for Self Alignment (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Unskipped some repaint tests and rebaselined. Created 4 years, 7 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/css/CSSPrimitiveValueMappings.h
diff --git a/third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h b/third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h
index cfe438ce2d1f3a3876c5e83a98c29751d5cee46f..0eced583605c3115080607c736516e066765a0ed 100644
--- a/third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h
+++ b/third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h
@@ -4346,6 +4346,9 @@ template<> inline CSSPrimitiveValue::CSSPrimitiveValue(ItemPosition itemPosition
case ItemPositionAuto:
m_value.valueID = CSSValueAuto;
break;
+ case ItemPositionNormal:
+ m_value.valueID = CSSValueNormal;
+ break;
case ItemPositionStretch:
m_value.valueID = CSSValueStretch;
break;
@@ -4390,6 +4393,8 @@ template<> inline ItemPosition CSSPrimitiveValue::convertTo() const
switch (m_value.valueID) {
case CSSValueAuto:
return ItemPositionAuto;
+ case CSSValueNormal:
+ return ItemPositionNormal;
case CSSValueStretch:
return ItemPositionStretch;
case CSSValueBaseline:

Powered by Google App Engine
This is Rietveld 408576698