LibWeb: Amend Element interface to make it compatible with TrustedTypes

This commit is contained in:
Tete17 2025-08-10 23:49:19 +02:00 committed by Luke Wilde
parent 1368744d33
commit db41ea8117
Notes: github-actions[bot] 2025-10-27 16:16:02 +00:00
12 changed files with 93 additions and 61 deletions

View file

@ -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();