mirror of
https://github.com/RGBCube/serenity
synced 2025-05-23 18:55:08 +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
|
@ -32,7 +32,7 @@ void HTMLLinkElement::inserted()
|
|||
HTMLElement::inserted();
|
||||
|
||||
if (m_relationship & Relationship::Stylesheet && !(m_relationship & Relationship::Alternate)) {
|
||||
m_css_loader.load_from_url(document().complete_url(href()));
|
||||
m_css_loader.load_from_url(document().parse_url(href()));
|
||||
if (auto sheet = m_css_loader.style_sheet())
|
||||
document().style_sheets().add_sheet(sheet.release_nonnull());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue