LibWeb: Port the FormAssociatedElement value to UTF-16

This porting effort makes it pretty clear we will want a UTF-16-aware
GenericLexer. But for now, we can actually make ASCII assumptions about
what we are parsing, and act accordingly.
This commit is contained in:
Timothy Flynn
2025-07-26 12:19:56 -04:00
committed by Andreas Kling
parent e7b08cf291
commit c8888609f4
Notes: github-actions[bot] 2025-07-28 10:26:29 +00:00
30 changed files with 444 additions and 333 deletions

View File

@@ -51,8 +51,8 @@ public:
WebIDL::Long selected_index() const;
void set_selected_index(WebIDL::Long);
virtual String value() const override;
WebIDL::ExceptionOr<void> set_value(String const&);
virtual Utf16String value() const override;
WebIDL::ExceptionOr<void> set_value(Utf16String const&);
bool is_open() const { return m_is_open; }
void set_is_open(bool);