diff options
Diffstat (limited to 'dom/html/reftests/image-load-shortcircuit-1.html')
-rw-r--r-- | dom/html/reftests/image-load-shortcircuit-1.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dom/html/reftests/image-load-shortcircuit-1.html b/dom/html/reftests/image-load-shortcircuit-1.html new file mode 100644 index 000000000..28e16b746 --- /dev/null +++ b/dom/html/reftests/image-load-shortcircuit-1.html @@ -0,0 +1,8 @@ +<html> +<div></div> +<script> + var d = (new DOMParser()).parseFromString("<img src=pass.png>", "text/html"); + var n = d.adoptNode(d.querySelector('img')); + document.querySelector('div').appendChild(n); +</script> +</html> |