mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 16:18:12 +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
|
@ -381,9 +381,11 @@ CSS::Repeat Document::background_repeat_y() const
|
|||
return body_layout_node->computed_values().background_repeat_y();
|
||||
}
|
||||
|
||||
URL Document::complete_url(const String& string) const
|
||||
// https://html.spec.whatwg.org/multipage/urls-and-fetching.html#parse-a-url
|
||||
URL Document::parse_url(String const& url) const
|
||||
{
|
||||
return m_url.complete_url(string);
|
||||
// FIXME: Make sure we do this according to spec.
|
||||
return m_url.complete_url(url);
|
||||
}
|
||||
|
||||
void Document::invalidate_layout()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue