[wpt-sync] Sync PR 20054 - Fix form submission for <button>s with children
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox72 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
Sync web-platform-tests PR 20054 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/20054
Details from upstream follow.
Joey Arhar <jarhar@chromium.org> wrote:
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/1896050
WPT-Export-Revision: 2d1134426152ebd4518696af1f8b223dff203b9e
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
GitHub CI Results
wpt.fyi PR Results Base Results
Ran 1 tests and 1 subtests
Firefox
OK : 1
PASS: 1
Chrome
TIMEOUT: 2
Safari
OK : 1
PASS: 1
Assignee | ||
Comment 3•5 years ago
|
||
Automatic update from web-platform-tests
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/+/1896050
Reviewed-by: Mason Freed <masonfreed@chromium.org>
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Cr-Commit-Position: refs/heads/master@{#711918}
--
wpt-commits: ac527a6087fc4c16a81ab001470d9e4e114c94b9
wpt-pr: 20054
Comment 5•5 years ago
|
||
bugherder |
Description
•