Re: Possible? External SVG, styled from parent document

Hello,

to change at least some simple things, one can
start a declarative animation with a hyperlink. With this it is 
possible to change class names, fill, stroke, in general animatable 
attributes and properties. For this the related animation element needs
a fragment identifier and one has to add the fragment identifier behind the
URI and the symbol # (this is not only available for different SVG views, it 
is available as well to start declarative animations).
Problem here: Not all viewers have this implemented (correctly/completely).
My test cases work for example in Gecko 24.

This can be extended as well to a construction using unstyled structures
in the defs element referenced by use elements inside a g element with
an animated class or in general animated attributes or classes.

If one changes class names in this way, obviously one can switch between
different collections of property values combinations within a style element
or an external style sheet referenced by the SVG document im an XML 
processing instruction.

Obviously this will have no effect in viewers having such an implementation 
gap or bug.

Olaf

Received on Tuesday, 19 August 2014 13:28:41 UTC