summaryrefslogtreecommitdiffstats
path: root/dom/html/reftests/image-load-shortcircuit-2.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/html/reftests/image-load-shortcircuit-2.html')
-rw-r--r--dom/html/reftests/image-load-shortcircuit-2.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/dom/html/reftests/image-load-shortcircuit-2.html b/dom/html/reftests/image-load-shortcircuit-2.html
new file mode 100644
index 000000000..3c4baa43b
--- /dev/null
+++ b/dom/html/reftests/image-load-shortcircuit-2.html
@@ -0,0 +1,10 @@
+<html>
+<body>
+<template id="template">
+<img src="pass.png" alt="Alt Text" />
+</template>
+<script>
+ document.body.appendChild(document.getElementById('template').content.children[0].cloneNode(1));
+</script>
+</body>
+</html>