<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>7237</bug_id>
          
          <creation_ts>2006-02-13 13:28:42 -0800</creation_ts>
          <short_desc>Hidden iframe wont work as target</short_desc>
          <delta_ts>2007-01-06 15:50:41 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>DOM</component>
          <version>417.x</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Johan Ström">johan</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>bugs-webkit</cc>
    
    <cc>ian</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>32339</commentid>
    <comment_count>0</comment_count>
    <who name="Johan Ström">johan</who>
    <bug_when>2006-02-13 13:28:42 -0800</bug_when>
    <thetext>A iframe hidden with display:none style does not seem to be able to act as a target for forms:

&lt;iframe name=&quot;myiframe&quot; style=&quot;display: none;&quot;&gt;&lt;/iframe&gt; 

&lt;form action=&quot;url.html&quot; target=&quot;myiframe&quot; method=&quot;post&quot;&gt;
&lt;input type=&quot;submit&quot;/&gt;
&lt;/form&gt;

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).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32340</commentid>
    <comment_count>1</comment_count>
    <who name="Johan Ström">johan</who>
    <bug_when>2006-02-13 13:29:28 -0800</bug_when>
    <thetext>Can this be related to bug #3581?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36645</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2007-01-06 15:50:41 -0800</bug_when>
    <thetext>Yes, now that bug 3581 is fixed, this also works as expected.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>