chromium/third_party/blink/web_tests/svg/custom/new-image-is-html-element.svg

<svg xmlns="http://www.w3.org/2000/svg">
  <text id="result" y="100"/>
  <script>
    if (window.testRunner)
      testRunner.dumpAsText();

    // Ensure that "new Image()" is creating an HTML image element regardless
    // of the current doctype.

    var pass = "[object HTMLImageElement]" == new Image();
    document.getElementById("result").appendChild(document.createTextNode(pass ? "PASS" : "FAIL"));
  </script>
</svg>