Index: third_party/WebKit/Source/core/css/CSSCustomPropertyDeclaration.cpp |
diff --git a/third_party/WebKit/Source/core/css/CSSCustomPropertyDeclaration.cpp b/third_party/WebKit/Source/core/css/CSSCustomPropertyDeclaration.cpp |
index 5b44fee20ebffc50339db4b7f3b6e5e580e76700..09c9dcce4f48c5c3c3dc8af5a75a64ee4fc91b4c 100644 |
--- a/third_party/WebKit/Source/core/css/CSSCustomPropertyDeclaration.cpp |
+++ b/third_party/WebKit/Source/core/css/CSSCustomPropertyDeclaration.cpp |
@@ -17,6 +17,8 @@ String CSSCustomPropertyDeclaration::customCSSText() const |
{ |
if (m_value) |
return m_value->tokenRange().serialize(); |
+ if (m_valueId != CSSValueInternalVariableValue) |
+ return getValueName(m_valueId); |
return emptyString(); |
Timothy Loh
2016/07/29 01:15:06
Do we actually get here? Maybe we can just change
rwlbuis
2016/07/29 01:25:17
Right we should not hit it anymore, will add the D
|
} |