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

             Bug #: 52166
           Summary: animation of <g> tag does not work when use
                    attributeName="class"
           Product: Batik
           Version: 1.7
          Platform: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Animation engine
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


Created attachment 27917
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=27917
mouseover event does not accepted by child(s) of group

When i try to change property named "class" on mouseover event, childs elements
of <g> tag does not accept new css rules.

See attachment. In firefox browser is work correct, but in squiggle its not
work...

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd";>
<svg width="200" height="100" xmlns="http://www.w3.org/2000/svg"; version="1.1">
    <defs>
        <style type="text/css"><![CDATA[
        .myFirstStyle{
            fill: green;
            stroke: red;
            stroke-width: 2
        }
        .mySecondStyle{
            fill: red;
            stroke: blue;
            stroke-width: 20
        }
        ]]></style>
    </defs>

    <g class="myFirstStyle">

    <rect x="5" y="5" width="190" height="90" />

    <set attributeName="class" to="mySecondStyle" begin="mouseover"
end="mouseout"/>

    </g>
</svg>

-- 
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