diff options
Diffstat (limited to 'WebCore/html/HTMLTablePartElement.cpp')
-rw-r--r-- | WebCore/html/HTMLTablePartElement.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/WebCore/html/HTMLTablePartElement.cpp b/WebCore/html/HTMLTablePartElement.cpp index 316ace4..dfaecca 100644 --- a/WebCore/html/HTMLTablePartElement.cpp +++ b/WebCore/html/HTMLTablePartElement.cpp @@ -26,11 +26,11 @@ #include "HTMLTablePartElement.h" #include "Attribute.h" -#include "CSSHelper.h" #include "CSSPropertyNames.h" #include "CSSValueKeywords.h" #include "Document.h" #include "HTMLNames.h" +#include "HTMLParserIdioms.h" namespace WebCore { @@ -64,7 +64,7 @@ void HTMLTablePartElement::parseMappedAttribute(Attribute* attr) if (attr->name() == bgcolorAttr) addCSSColor(attr, CSSPropertyBackgroundColor, attr->value()); else if (attr->name() == backgroundAttr) { - String url = deprecatedParseURL(attr->value()); + String url = stripLeadingAndTrailingHTMLSpaces(attr->value()); if (!url.isEmpty()) addCSSImageProperty(attr, CSSPropertyBackgroundImage, document()->completeURL(url).string()); } else if (attr->name() == bordercolorAttr) { |