mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 20:25:07 +00:00
LibWeb: Bring form submission more up to spec
The main missing things are: - Dialog submission - Form validation - Encoding URLs in the form element's encoding - Navigables
This commit is contained in:
parent
bd62fe9c33
commit
f04d1d493d
6 changed files with 668 additions and 73 deletions
|
@ -32,7 +32,7 @@ HTMLButtonElement::HTMLButtonElement(DOM::Document& document, DOM::QualifiedName
|
|||
case TypeAttributeState::Submit:
|
||||
// Submit Button
|
||||
// Submit element's form owner from element.
|
||||
form()->submit_form(this).release_value_but_fixme_should_propagate_errors();
|
||||
form()->submit_form(*this).release_value_but_fixme_should_propagate_errors();
|
||||
break;
|
||||
case TypeAttributeState::Reset:
|
||||
// Reset Button
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue