The SVG files under the samples directory often contain declarations like this:
font-size: 12;
which EchoSVG interprets as a size declaration expressed in pixels. Google Chrome also accepts such declarations but this is not conformant and for example Firefox would reject the style as invalid. It is also an obstacle for the combined use of css4j, which also rejects those declarations.
The solution is to replace such declarations with valid ones:
The SVG files under the
samples
directory often contain declarations like this:which EchoSVG interprets as a size declaration expressed in pixels. Google Chrome also accepts such declarations but this is not conformant and for example Firefox would reject the style as invalid. It is also an obstacle for the combined use of css4j, which also rejects those declarations.
The solution is to replace such declarations with valid ones: