LibWeb: Port node text content to UTF-16

This commit is contained in:
Timothy Flynn 2025-07-28 09:46:06 -04:00 committed by Jelle Raaijmakers
commit 5c561c1a53
Notes: github-actions[bot] 2025-07-28 16:32:35 +00:00
35 changed files with 147 additions and 123 deletions

View file

@ -57,8 +57,8 @@ public:
void unmark_as_already_started(Badge<DOM::Range>);
void unmark_as_parser_inserted(Badge<DOM::Range>);
String text() { return child_text_content(); }
void set_text(String const& text) { string_replace_all(text); }
Utf16String text() { return child_text_content(); }
void set_text(Utf16String const& text) { string_replace_all(text); }
[[nodiscard]] bool async() const;
void set_async(bool);