Fix form submission for <button>s with children
Form submission stopped working after crrev.com/c/1850358 when using event.preventDefault() and form.submit() in a click event handler for a <button type=submit> when the button has child elements and the click was made on one of the child elements. Bug: 1020086 Change-Id: I8976298ac56a64ff7033cb2f7b46ee5116229464 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1896050Reviewed-by:Mason Freed <masonfreed@chromium.org> Commit-Queue: Joey Arhar <jarhar@chromium.org> Cr-Commit-Position: refs/heads/master@{#711918}
Showing
Please register or sign in to comment