<!DOCTYPE html>
<html>
  <!-- Test for https://bugs.webkit.org/show_bug.cgi?id=99489 -->
  <body style="margin: 0px; padding: 0px;">
    <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="600" height="600">
      <g transform="scale(5)">
        <image id="img" width="100px" height="100px" xlink:href="data:image/svg+xml,
          <svg xmlns='http://www.w3.org/2000/svg'>
            <rect width='100' height='100' fill='green'/>
          </svg>
          "/>
      </g>
    </svg>
  </body>
</html>
