[Webkit-unassigned] [Bug 7237] New: Hidden iframe wont work as target

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Mon Feb 13 13:28:42 PST 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=7237

           Summary: Hidden iframe wont work as target
           Product: WebKit
           Version: 417.x
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: johan at stromnet.org


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).


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list