Uploaded image for project: 'Batik'
  1. Batik
  2. BATIK-1000

animation of <g> tag does not work when use attributeName="class"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Resolution: Unresolved
    • 1.7
    • None
    • Animation engine
    • None
    • Operating System: All
      Platform: PC

    Description

      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>

      Attachments

        1. 1.svg
          0.6 kB
          Alexander Pelepeychenko

        Activity

          People

            batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
            chabapok2011@gmail.com Alexander Pelepeychenko
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: