blob: f21de2db3946da9c83209983dbd7fdfe13c255ea [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
</head>
<body>
<div id="container"></div>
<div id="subtreeToMove">
<input type="text" form="A">
<div id="A"></div>
</div>
<div id="A"></div>
<p>PASS, this test did not cause an assertion failure.</p>
<script>
var container = document.getElementById("container");
var subtreeToMove = document.getElementById("subtreeToMove");
container.appendChild(subtreeToMove);
</script>
</body>
</html>