summaryrefslogtreecommitdiffstats
path: root/dom/html/reftests/bug1512297.html
blob: 55d8d4564f701d31bd44f1b34c1e87f49688d2ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<html>
<head class="reftest-wait"></head>
<body>
<div><img src="" alt="ALT"></div>
<script>
var img = document.querySelector('img');
img.remove();

var div = document.querySelector('div');
div.appendChild(img);
</script>
</body>
</html>