Animation and inherit

Section 19.2.9 of the spec states that animated attributes and properties
can be inherited by descendent elements.  What happens when an inherited
attribute is animated on a descendent?  What if 'inherit' is used as a
value?


    <g style="stroke-width:5; stroke:black; fill:none" >  

        <ellipse cx="300" cy="200" rx="100" ry="20" >
            <animate attributeName="stroke-width" to="10" dur="10s"
repeatCount="100"/>
        </ellipse>

        <ellipse cx="300" cy="400" rx="100" ry="20" >
            <animate attributeName="stroke-width" values="10; inherit; 20"
dur="10s" repeatCount="100"/>
        </ellipse>

    </g>



What if the attribute is also animated on the parent group?

    <g style="stroke-width:5; stroke:black; fill:none" >  
        <animate attributeName="stroke-width" values="5; 20; 5;" begin="5s"
dur="10s" repeatCount="100" additive="sum"/>

        <ellipse cx="300" cy="200" rx="100" ry="20" >
            <animate attributeName="stroke-width" to="10" dur="10s"
repeatCount="100"/>
        </ellipse>

        <ellipse cx="300" cy="400" rx="100" ry="20" >
            <animate attributeName="stroke-width" values="10; inherit; 20"
dur="10s" repeatCount="100"/>
        </ellipse>

    </g>


Thanks.

Russ Shotts
Senior Software Engineer
Jasc Software, Inc

Received on Wednesday, 12 July 2000 13:29:04 UTC