blob: 154abda80ab0489e74d0fe6c67bfb83921b5b2f5 [file] [log] [blame]
<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>