Index: Source/core/html/HTMLTablePartElement.cpp |
diff --git a/Source/core/html/HTMLTablePartElement.cpp b/Source/core/html/HTMLTablePartElement.cpp |
index 06d86f72c179a0909efa57be5a3e00796bf44f87..8879f9dab8d8df9177bde2e399ef141d32815e45 100644 |
--- a/Source/core/html/HTMLTablePartElement.cpp |
+++ b/Source/core/html/HTMLTablePartElement.cpp |
@@ -53,7 +53,7 @@ void HTMLTablePartElement::collectStyleForPresentationAttribute(const QualifiedN |
else if (name == backgroundAttr) { |
String url = stripLeadingAndTrailingHTMLSpaces(value); |
if (!url.isEmpty()) |
- style->setProperty(CSSProperty(CSSPropertyBackgroundImage, CSSImageValue::create(document().completeURL(url)))); |
+ style->setProperty(CSSProperty(CSSPropertyBackgroundImage, CSSImageValue::create(url, document().completeURL(url)))); |
} else if (name == valignAttr) { |
if (equalIgnoringCase(value, "top")) |
addPropertyToPresentationAttributeStyle(style, CSSPropertyVerticalAlign, CSSValueTop); |