Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / formmove2.html
blobbdccf10030301180b50e871f4e5df95994708f5f
1 <html>
2 <body>
3 <form id="a"><input type=radio name="one"></form>
4 <form id="b"><input type=radio name="one"><input type=text></form>
5 <script>
6 var v = document.getElementById('b');
7 document.body.removeChild(v);
8 document.getElementById('a').appendChild(v.elements[0]);
9 document.write("There should be two elements in the first form and one in the second. The count in form one is " +
10 document.forms[0].elements.length + ", and the count in form two is " + v.elements.length + ".");
11 </script>
12 </body>
13 </html>