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

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

Issue 16183002: Unprefix CSS Variables (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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
« Source/core/css/CSSParser.cpp ('K') | « Source/core/css/CSSParser.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSPrimitiveValue.cpp
diff --git a/Source/core/css/CSSPrimitiveValue.cpp b/Source/core/css/CSSPrimitiveValue.cpp
index 13db75eba85c249d59a5a4e575c96cc1484b51b4..cb0d0531e24e360cf78cde2372f5ed87e83c3925 100644
--- a/Source/core/css/CSSPrimitiveValue.cpp
+++ b/Source/core/css/CSSPrimitiveValue.cpp
@@ -1031,7 +1031,7 @@ String CSSPrimitiveValue::customCssText() const
text = formatNumber(m_value.num, "vmax");
break;
case CSS_VARIABLE_NAME:
- text = "-webkit-var(" + String(m_value.string) + ")";
+ text = "var(" + String(m_value.string) + ")";
break;
}
« Source/core/css/CSSParser.cpp ('K') | « Source/core/css/CSSParser.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698