summaryrefslogtreecommitdiffstats
path: root/dom/html/reftests/bug1512297.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dom/html/reftests/bug1512297.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/dom/html/reftests/bug1512297.html b/dom/html/reftests/bug1512297.html
new file mode 100644
index 0000000000..55d8d4564f
--- /dev/null
+++ b/dom/html/reftests/bug1512297.html
@@ -0,0 +1,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>