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

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

Issue 2620623002: Implement display:flow-root (Closed)
Patch Set: bug 672508 Created 3 years, 11 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 766cc4fb600a371f16851b2ab3780e240e7096b1..0577d7a7366fb7beeb472f617644391c4ca6ff9a 100644
--- a/third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h
+++ b/third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h
@@ -1263,6 +1263,9 @@ inline CSSIdentifierValue::CSSIdentifierValue(EDisplay e)
case EDisplay::Contents:
m_valueID = CSSValueContents;
break;
+ case EDisplay::FlowRoot:
+ m_valueID = CSSValueFlowRoot;
+ break;
case EDisplay::None:
m_valueID = CSSValueNone;
break;
@@ -1316,6 +1319,8 @@ inline EDisplay CSSIdentifierValue::convertTo() const {
return EDisplay::InlineGrid;
case CSSValueContents:
return EDisplay::Contents;
+ case CSSValueFlowRoot:
+ return EDisplay::FlowRoot;
case CSSValueNone:
return EDisplay::None;
break;

Powered by Google App Engine
This is Rietveld 408576698