| Index: Source/core/css/CSSImageValue.cpp
|
| diff --git a/Source/core/css/CSSImageValue.cpp b/Source/core/css/CSSImageValue.cpp
|
| index 8be299fbac042f8635fb779080bdf87b7027f4f8..1436a1dbdc38cd4422390575538e4b82d96207b8 100644
|
| --- a/Source/core/css/CSSImageValue.cpp
|
| +++ b/Source/core/css/CSSImageValue.cpp
|
| @@ -108,7 +108,8 @@ bool CSSImageValue::equals(const CSSImageValue& other) const
|
|
|
| String CSSImageValue::customCSSText() const
|
| {
|
| - return "url(" + quoteCSSURLIfNeeded(m_absoluteURL) + ")";
|
| + // TODO(nainar): Serialise with quotation marks to match spec: https://drafts.csswg.org/cssom/#serialize-a-url
|
| + return "url(" + quoteCSSURLIfNeeded(serializeStringWithoutQuotations(m_relativeURL)) + ")";
|
| }
|
|
|
| bool CSSImageValue::knownToBeOpaque(const LayoutObject* layoutObject) const
|
|
|