blob: f5eafc1d48b0d4e49dabaab574ac9c89012c02e3 [file] [log] [blame]
<!DOCTYPE html>
<form>
<div id="target">
<script>
var d = document.getElementById('target');
d.parentNode.removeChild(d);
</script>
<img name=myimage>
</div>
</form>
<script src="../../resources/js-test-pre.js"></script>
<script>
description('Image elements should not be associated with forms in different trees');
shouldBeUndefined('document.forms[0].myimage');
</script>
<script src="../../resources/js-test-post.js"></script>