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

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

Issue 1363233003: Make sure <url>s are being serialized according to spec (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Layout test readability Created 5 years, 3 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/CSSPrimitiveValue.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp b/third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp
index 6b6b2c042f8bf7f81e4b961cb54c2f8af86e7fff..802b9c5bec58ef0f99f804469f84a3f15a623b60 100644
--- a/third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp
+++ b/third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp
@@ -897,7 +897,7 @@ String CSSPrimitiveValue::customCSSText() const
break;
}
case UnitType::URI:
- text = "url(" + quoteCSSURLIfNeeded(m_value.string) + ")";
+ text = serializeURI(m_value.string);
break;
case UnitType::ValueID:
text = valueName(m_value.valueID);

Powered by Google App Engine
This is Rietveld 408576698