summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/HTMLBodyElement.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-09-09 18:08:56 +0200
committerAndreas Kling <kling@serenityos.org>2021-09-09 21:25:10 +0200
commite1fb8bef0907f2da74f81ea0f61457e77451a79f (patch)
tree0caaf09f0343ab077709234a04f1a5c74fb69429 /Userland/Libraries/LibWeb/HTML/HTMLBodyElement.cpp
parent0839442da5b5bf03a02b295278f996a07c08e57c (diff)
downloadserenity-e1fb8bef0907f2da74f81ea0f61457e77451a79f.zip
LibWeb: Rename Document::complete_url() => parse_url()
This better matches the spec nomenclature.
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/HTMLBodyElement.cpp')
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLBodyElement.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLBodyElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLBodyElement.cpp
index 1b80d1f3e7..5517f48fff 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLBodyElement.cpp
+++ b/Userland/Libraries/LibWeb/HTML/HTMLBodyElement.cpp
@@ -55,7 +55,7 @@ void HTMLBodyElement::parse_attribute(const FlyString& name, const String& value
if (color.has_value())
document().set_visited_link_color(color.value());
} else if (name.equals_ignoring_case("background")) {
- m_background_style_value = CSS::ImageStyleValue::create(document().complete_url(value), const_cast<DOM::Document&>(document()));
+ m_background_style_value = CSS::ImageStyleValue::create(document().parse_url(value), const_cast<DOM::Document&>(document()));
}
}