mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 20:47:45 +00:00
LibWeb: Return String from CSSImportRule::href()
This commit is contained in:
parent
ef1e942f3e
commit
374b6cdffd
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ public:
|
||||||
|
|
||||||
AK::URL const& url() const { return m_url; }
|
AK::URL const& url() const { return m_url; }
|
||||||
// FIXME: This should return only the specified part of the url. eg, "stuff/foo.css", not "https://example.com/stuff/foo.css".
|
// FIXME: This should return only the specified part of the url. eg, "stuff/foo.css", not "https://example.com/stuff/foo.css".
|
||||||
DeprecatedString href() const { return m_url.to_deprecated_string(); }
|
String href() const { return MUST(m_url.to_string()); }
|
||||||
|
|
||||||
CSSStyleSheet* loaded_style_sheet() { return m_style_sheet; }
|
CSSStyleSheet* loaded_style_sheet() { return m_style_sheet; }
|
||||||
CSSStyleSheet const* loaded_style_sheet() const { return m_style_sheet; }
|
CSSStyleSheet const* loaded_style_sheet() const { return m_style_sheet; }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue