chromium/third_party/blink/web_tests/svg/custom/dynamic-empty-path.svg

<svg width="4cm" height="4cm" viewBox="0 0 400 400"
     xmlns="http://www.w3.org/2000/svg" version="1.1">
  <path id="y" d="M 100 100 L 300 100 L 200 300"
        fill="green" />
  <path id="x" d="M 100 100 L 300 100 L 200 300"
        fill="red" />
  <script type="text/javascript">
    document.getElementById('x').attributes['d'].value='';
  </script>
</svg>