RESOLVED FIXED 7237
Hidden iframe wont work as target
https://bugs.webkit.org/show_bug.cgi?id=7237
Summary Hidden iframe wont work as target
Johan Ström
Reported 2006-02-13 13:28:42 PST
A iframe hidden with display:none style does not seem to be able to act as a target for forms: <iframe name="myiframe" style="display: none;"></iframe> <form action="url.html" target="myiframe" method="post"> <input type="submit"/> </form> Instead of loading url.html in myiframe it pops up a new window where it loads the page. In Internet Explorer, Firefox (1.5) and Opera this works as expected, the page is loaded inside the iframe. A side bug(?), if the iframe is visible, and the page loads, a specified onLoad function is not executed (shall it? IE/Firefox does it, opera unknown).
Attachments
Johan Ström
Comment 1 2006-02-13 13:29:28 PST
Can this be related to bug #3581?
Alexey Proskuryakov
Comment 2 2007-01-06 15:50:41 PST
Yes, now that bug 3581 is fixed, this also works as expected.
Note You need to log in before you can comment on or make changes to this bug.