[Webkit-unassigned] [Bug 12285] New: File input value not copied on cloneNode()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 15 08:44:19 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=12285

           Summary: File input value not copied on cloneNode()
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Forms
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jnicoll at seemysites.net


Example: 

<script type="text/javascript">
        function press_this () {
                var f = document.getElementById('upload_1');
                var f2 = f.cloneNode(true);
                document.getElementById('form2').appendChild(f2);
        }
</script>

<form action="test.php" method="POST" enctype="multipart/form-data">
        <input type="file" name="upload" id="upload_1"/>
</form>

<input type="button" onclick="press_this();"/>
<form action="test.php" method="POST" id="form2" enctype="multipart/form-data">

</form> 
--------------------------------
   The selected value is not copied with cloneNode() in either the latest
version of Safari or the Webkit nightly.  It works properly in Firefox and
Opera, but not in IE7.


-- 
Configure bugmail: http://bugs.webkit.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