Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / image-disconnected-during-parse.html
blob78a594bf763a0a4a2dcead21710aee13d1687a3b
1 <!DOCTYPE html>
2 <form>
3 <div id="target">
4 <script>
5 var d = document.getElementById('target');
6 d.parentNode.removeChild(d);
7 </script>
8 <img name=myimage>
9 </div>
10 </form>
11 <script src="../../resources/js-test.js"></script>
12 <script>
13 description('Image elements should not be associated with forms in different trees');
14 shouldBeUndefined('document.forms[0].myimage');
15 </script>