Open Bug 584188 Opened 14 years ago Updated 2 years ago

Clicking a form submit button on an invisible iframe noops

Categories

(Core :: DOM: Core & HTML, defect, P5)

x86
macOS
defect

Tracking

()

People

(Reporter: stechz, Unassigned)

Details

The code for button click is here:
http://mxr.mozilla.org/mozilla-central/source/content/html/content/src/nsHTMLButtonElement.cpp#220

It relies on a presShell existing, which doesn't happen if an iframe is loaded as display: none.

Expected behavior IMO: the form should submit.
This is being fixed in a bug I just reviewed, but I don't have the bug number
in front of me right now.
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046

Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.

If you have questions, please contact :mdaly.
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.