summaryrefslogtreecommitdiffstats
path: root/dom/html/reftests/image-load-shortcircuit-1.html
blob: 28e16b7464d32be00e0db4bfb7c5db9cef255906 (plain)
1
2
3
4
5
6
7
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>