mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +02:00
LibWeb: Amend Element interface to make it compatible with TrustedTypes
This commit is contained in:
Notes:
github-actions[bot]
2025-10-27 16:16:02 +00:00
Author: https://github.com/tete17 Commit: https://github.com/LadybirdBrowser/ladybird/commit/db41ea81174 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6057 Reviewed-by: https://github.com/AtkinsSJ Reviewed-by: https://github.com/Lubrsi ✅
@@ -612,7 +612,7 @@ void HTMLSelectElement::create_shadow_tree_if_needed()
|
||||
height: 16px;
|
||||
margin-left: 4px;
|
||||
)~~~"_string));
|
||||
MUST(m_chevron_icon_element->set_inner_html(chevron_svg));
|
||||
MUST(m_chevron_icon_element->set_inner_html(Utf16String::from_utf8(chevron_svg)));
|
||||
MUST(border->append_child(*m_chevron_icon_element));
|
||||
|
||||
update_inner_text_element();
|
||||
|
||||
Reference in New Issue
Block a user