mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-27 06:48:49 +00:00
LibWeb: Rename Document::complete_url() => parse_url()
This better matches the spec nomenclature.
This commit is contained in:
parent
0839442da5
commit
e1fb8bef09
Notes:
sideshowbarker
2024-07-18 04:22:15 +09:00
Author: https://github.com/awesomekling
Commit: e1fb8bef09
12 changed files with 18 additions and 16 deletions
|
@ -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()));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue