mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 17:14:58 +00:00
LibWeb: Rename Document::complete_url() => parse_url()
This better matches the spec nomenclature.
This commit is contained in:
parent
0839442da5
commit
e1fb8bef09
12 changed files with 18 additions and 16 deletions
|
@ -65,7 +65,7 @@ void HTMLImageElement::parse_attribute(const FlyString& name, const String& valu
|
|||
HTMLElement::parse_attribute(name, value);
|
||||
|
||||
if (name == HTML::AttributeNames::src && !value.is_empty())
|
||||
m_image_loader.load(document().complete_url(value));
|
||||
m_image_loader.load(document().parse_url(value));
|
||||
}
|
||||
|
||||
RefPtr<Layout::Node> HTMLImageElement::create_layout_node()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue