You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Oddly enough when you do this, a submit event dispatched from the inner form does not bubble up to the outer form.
document.getElementById('outer').addEventListener('submit'e=>{console.log('never fires for submit events dispatched on inner');},false);
This seems to be the case for all modern browsers (but not at least IE 11, I haven't tested earlier IEs).
I would think this behavior should be specified in the event dispatch section of the spec but I can't seem to find anything that would suggest the observed behavior.
Am I just misreading the spec or is this behavior currently unspecified?
The text was updated successfully, but these errors were encountered:
I think what mainly needs to happen at this point is writing somewhat exhaustive tests and then patching the dispatch algorithm in whatever way is needed for this.
Although nested forms are disallowed, you can still construct a DOM with nested forms dynamically:
Oddly enough when you do this, a
submit
event dispatched from the inner form does not bubble up to the outer form.This seems to be the case for all modern browsers (but not at least IE 11, I haven't tested earlier IEs).
I would think this behavior should be specified in the event dispatch section of the spec but I can't seem to find anything that would suggest the observed behavior.
Am I just misreading the spec or is this behavior currently unspecified?
The text was updated successfully, but these errors were encountered: