mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
LibWeb+WebContent: Port FormAssociatedTextControlElement APIs to UTF-16
This commit is contained in:
committed by
Jelle Raaijmakers
parent
cdf270a5e6
commit
017a6cc687
Notes:
github-actions[bot]
2025-07-25 22:42:01 +00:00
Author: https://github.com/trflynn89 Commit: https://github.com/LadybirdBrowser/ladybird/commit/017a6cc6871 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5608 Reviewed-by: https://github.com/gmta ✅
@@ -219,9 +219,9 @@ String HTMLTextAreaElement::api_value() const
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#concept-textarea/input-relevant-value
|
||||
WebIDL::ExceptionOr<void> HTMLTextAreaElement::set_relevant_value(String const& value)
|
||||
WebIDL::ExceptionOr<void> HTMLTextAreaElement::set_relevant_value(Utf16String const& value)
|
||||
{
|
||||
set_value(value);
|
||||
set_value(value.to_utf8_but_should_be_ported_to_utf16());
|
||||
return {};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user