diff --git a/Libraries/LibWeb/HTML/HTMLInputElement.cpp b/Libraries/LibWeb/HTML/HTMLInputElement.cpp index 81824030cb0..517d1c7d081 100644 --- a/Libraries/LibWeb/HTML/HTMLInputElement.cpp +++ b/Libraries/LibWeb/HTML/HTMLInputElement.cpp @@ -1320,6 +1320,7 @@ void HTMLInputElement::user_interaction_did_change_input_value() // then when the user changes the element's value, the user agent must queue an element task on the user interaction task source // given the input element to fire an event named input at the input element, with the bubbles and composed attributes initialized to true queue_an_element_task(HTML::Task::Source::UserInteraction, [this] { + // FIXME: If a string was added to this input, this input event's .data should be set to it. auto input_event = DOM::Event::create(realm(), HTML::EventNames::input); input_event->set_bubbles(true); input_event->set_composed(true); diff --git a/Libraries/LibWeb/HTML/HTMLTextAreaElement.cpp b/Libraries/LibWeb/HTML/HTMLTextAreaElement.cpp index 79da9a61c73..060ea17dc01 100644 --- a/Libraries/LibWeb/HTML/HTMLTextAreaElement.cpp +++ b/Libraries/LibWeb/HTML/HTMLTextAreaElement.cpp @@ -471,6 +471,7 @@ void HTMLTextAreaElement::did_edit_text_node() void HTMLTextAreaElement::queue_firing_input_event() { queue_an_element_task(HTML::Task::Source::UserInteraction, [this]() { + // FIXME: If a string was added to this textarea, this input event's .data should be set to it. auto change_event = DOM::Event::create(realm(), HTML::EventNames::input, { .bubbles = true, .composed = true }); dispatch_event(change_event); });