Fix Bug 603988: do not commonize attributes if element is referenced elsewhere
This commit is contained in:
parent
3559499321
commit
b661e479ea
4 changed files with 29 additions and 8 deletions
9
unittests/commonized-referenced-elements.svg
Normal file
9
unittests/commonized-referenced-elements.svg
Normal 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 |
Loading…
Add table
Add a link
Reference in a new issue