When using cloneNode the checked state is not cloned

Fixed Issue #104032

Details

Created
Apr 27, 2014
Privacy
This issue is public.
Found in build #
0.0000
Reports
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce

URL = http://codepen.io/danielchatfield/pen/DxzKv

URL =

http://codepen.io/danielchatfield/pen/DxzKv

=====================================================
<script>
clone = function() {
var elem = document.getElementById( ‘check1’ ),
elem2 = elem.cloneNode();

elem2.id = ‘’

document.getElementById(‘button’).parentNode.insertBefore( elem2, document.getElementById(‘button’) )
}
</script>

<input type="checkbox" checked="checked" id="check1" />
<button id="button" onclick="clone()">Clone</button>

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Eugene V.”

      Changed Assigned To from “Eugene V.” to “Sergey D.”

      Changed Assigned To from “Sergey D.” to “IPBS P.”

      Changed Status to “Not reproducible”

      Changed Assigned To from “IPBS P.” to “Eugene V.”

      Changed Status from “Not reproducible” to “Fixed”

    You need to sign in to your Microsoft account to add a comment.

    Sign in