Fix Bug 603988: do not commonize attributes if element is referenced elsewhere

This commit is contained in:
Jeff Schiller 2010-07-11 08:52:18 -07:00
parent 3559499321
commit b661e479ea
4 changed files with 29 additions and 8 deletions

View file

@ -0,0 +1,9 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="g">
<rect width="200" height="100" fill="#0f0"/>
<rect width="200" height="100" fill="#0f0"/>
<rect width="200" height="100" fill="#0f0"/>
<circle id="e" r="20" fill="#0f0"/>
</g>
<use xlink:href="#e" />
</svg>

After

Width:  |  Height:  |  Size: 323 B