https://issues.apache.org/bugzilla/show_bug.cgi?id=46618


Age Bosma <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
           Severity|normal                      |major




--- Comment #1 from Age Bosma <[email protected]>  2009-02-02 03:08:41 PST ---
With the latest nightly (batik-src-09-01-28.zip) I get the same result.

After some additional testing I came to the conclusion that I included the
wrong svg code in the bug report. The issue is caused because of the use of the
'use' element when placed in a 'g' element, referencing the group in the 'use'
element.

Revised code:
<g id="hlGroup">
<rect x="20" y="20" width="100" height="100"
style="stroke:#ffffff;stroke-width:1;" fill="blue" id="hlRect">
    <animate attributeType="CSS" attributeName="opacity" from="1" to="0"
begin="0s;blue_fade_in.end" dur="1s" id="blue_fade_out"/>
    <animate attributeType="CSS" attributeName="opacity" from="0" to="1"
begin="blue_fade_out.end" dur="1s" id="blue_fade_in"/>
</rect>
</g>
<use xlink:href="#hlGroup" transform="translate(0,120)" />

Placing the group in the a 'defs' element makes no difference.

When you refence the 'rect' element in the 'use' element directly instead of
the group, the error does not occur. Though this might just as well be because
of, what appears to be, a different bug. When changing the e.g. the stroke
colour when refencing the 'rect' element directly, the stroke colour of the
'use' element will not change in the first place.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to