chromium/third_party/blink/web_tests/svg/custom/favicon-link.svg

<svg xmlns="http://www.w3.org/2000/svg"
     xmlns:html="http://www.w3.org/1999/xhtml">
  <defs>
    <html:link rel="shortcut icon" href="icon1.png"/>
    <html:link rel="shortcut icon" href="icon2.png"/>
    <html:link rel="shortcut icon" href="icon3.png"/>
  </defs>
  <text y="20"></text>
  <defs>
    <html:link rel="shortcut icon" href="icon4.png"/>
    <html:link rel="shortcut icon" href="icon5.png"/>
  </defs>
  <html:link rel="shortcut icon" href="icon6.png"/>
  <script>
    <![CDATA[
      if (window.testRunner)
        testRunner.dumpAsText();
      let icons = internals.shortcutIconURLs(document);
      let passed = icons.length === 6 &&
                   icons[0].endsWith('icon6.png') &&
                   icons[1].endsWith('icon5.png') &&
                   icons[2].endsWith('icon4.png') &&
                   icons[3].endsWith('icon3.png') &&
                   icons[4].endsWith('icon2.png') &&
                   icons[5].endsWith('icon1.png');
      let resultNode = document.querySelector('text');
      resultNode.textContent = passed ? "PASS" : "FAIL";
    ]]>
  </script>
</svg>