LibWeb+WebContent: Port FormAssociatedTextControlElement APIs to UTF-16

This commit is contained in:
Timothy Flynn 2025-07-25 15:04:25 -04:00 committed by Jelle Raaijmakers
commit 017a6cc687
Notes: github-actions[bot] 2025-07-25 22:42:01 +00:00
12 changed files with 58 additions and 64 deletions

View file

@ -87,8 +87,8 @@ public:
String api_value() const;
// https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#concept-textarea/input-relevant-value
virtual String relevant_value() override { return api_value(); }
virtual WebIDL::ExceptionOr<void> set_relevant_value(String const& value) override;
virtual Utf16String relevant_value() override { return Utf16String::from_utf8(api_value()); }
virtual WebIDL::ExceptionOr<void> set_relevant_value(Utf16String const& value) override;
virtual void set_dirty_value_flag(bool flag) override { m_dirty_value = flag; }