mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-19 09:17:38 +03:00
LibWeb: Return String from CSSImportRule::href()
This commit is contained in:
parent
ef1e942f3e
commit
374b6cdffd
Notes:
sideshowbarker
2024-07-17 05:02:35 +09:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/SerenityOS/serenity/commit/374b6cdffd Pull-request: https://github.com/SerenityOS/serenity/pull/22115
@ -29,7 +29,7 @@ public:
|
||||
|
||||
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".
|
||||
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 const* loaded_style_sheet() const { return m_style_sheet; }
|
||||
|
Loading…
Reference in New Issue
Block a user