chromium/third_party/blink/web_tests/external/wpt/svg/embedded/image-remove-href-1.svg

<svg xmlns="http://www.w3.org/2000/svg"
     xmlns:h="http://www.w3.org/1999/xhtml" viewBox="0 0 4 4" width="200" height="200" class="reftest-wait">
  <metadata>
    <title>removing href from an SVG image</title>
    <h:link rel="match" href="reference/green-rect-100x100.svg"/>
  </metadata>
  <script href="/common/reftest-wait.js"></script>
  <script href="/common/rendering-utils.js"></script>
  <rect width="2" height="2" fill="green"/>
  <image width="2" height="2" onload="test()"
         href="data:image/svg+xml,&lt;svg xmlns='http://www.w3.org/2000/svg' width='50' height='50' &gt;&lt;rect width='50' height='50' fill='red'/&gt;&lt;/svg&gt;"/>
  <script>
    async function test() {
      await waitForAtLeastOneFrame();
      document.querySelector('image').removeAttribute('href');
      await waitForAtLeastOneFrame();
      takeScreenshot();
    }
  </script>
</svg>