mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibWeb: Implement the ToggleEvent.source attribute
See: https://github.com/whatwg/html/pull/11186
This commit is contained in:
Notes:
github-actions[bot]
2025-06-07 03:07:15 +00:00
Author: https://github.com/Gingeh Commit: https://github.com/LadybirdBrowser/ladybird/commit/fc35229dabc Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5002 Reviewed-by: https://github.com/tcl3 ✅ Reviewed-by: https://github.com/trflynn89
@@ -220,8 +220,8 @@ WebIDL::ExceptionOr<void> HTMLFormElement::submit_form(GC::Ref<HTMLElement> subm
|
||||
if (!result.has_value())
|
||||
result = submitter->get_attribute_value(AttributeNames::value);
|
||||
|
||||
// 6. Close the dialog subject with result.
|
||||
subject->close(move(result));
|
||||
// 6. Close the dialog subject with result and null.
|
||||
subject->close_the_dialog(move(result), nullptr);
|
||||
|
||||
// 7. Return.
|
||||
return {};
|
||||
|
||||
Reference in New Issue
Block a user