Descriptionnode.cloneNode() should clone the value of file selected
when input element of type file with a selected file is cloned, the cloned node should
also have the same file as selected.
HTML specification states:
http://www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html
"The cloning steps for input elements must propagate the value, dirty value
flag, checkedness, and dirty checkedness flag from the node being cloned to the
copy."
The value for the input element of type fileupload is the filename.
Behaviours in major Browser:
Firefox- clones filename
Safari, IE & Opera- do not Clone filename
BUG=71536
TEST=fast/forms/file/input-file-element-clone.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=173626
Patch Set 1 : #
Total comments: 6
Patch Set 2 : incorporated review comments #
Total comments: 8
Patch Set 3 : incorporated review comments #
Total comments: 6
Patch Set 4 : incorporated review comments #
Total comments: 1
Patch Set 5 : incorporated review comments #
Total comments: 2
Patch Set 6 : incorporated review comments #
Messages
Total messages: 19 (0 generated)
|