Implement the feature described in bug 598976: Create a <g> with the common attributes of a run of elements if there are 3 or more elements in the run.

This commit is contained in:
Cynthia Gauthier 2010-07-02 05:35:31 -04:00
parent 2a6cfb6b2c
commit 404c013e5f
6 changed files with 162 additions and 7 deletions

View file

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg">
<rect fill="red" stroke="blue" x="0" y="0" width="4" height="4" />
<rect fill="red" stroke="blue" x="8" y="0" width="4" height="4" />
<rect fill="red" stroke="blue" x="16" y="0" width="4" height="4" />
</svg>

After

Width:  |  Height:  |  Size: 317 B

View file

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg">
<rect fill="green" stroke="blue" x="0" y="0" width="4" height="4" />
<rect fill="yellow" stroke="red" x="8" y="0" width="4" height="4" />
<rect fill="blue" stroke="red" x="16" y="0" width="4" height="4" />
</svg>

After

Width:  |  Height:  |  Size: 321 B