SVG in SVG.

Hi,

At https://commons.wikimedia.org/wiki/File:Aiga_bus_trans.svg 
is SVG defining an icon for a bus.

According to 
https://www.w3.org/TR/SVG/coords.html#PreserveAspectRatioAttribute
PreserveAspectRatio can be used to scale an image into a larger or smaller 
viewport.  Several examples are presented there.

I've added a PreserveAspectRatio attribute to 
the bus icon SVG element and wrapped it in an SVG element 
specifying the common paper size, 8.5in x 11in.
The result visible at http://easthope.ca/AIGAbusIconScaled.svg .

Firefox produces the same image for the original SVG and the 
wrapped SVG.  An error in my use of SVG is more likely than a 
bug in Firefox.  Ideas?

Thanks,                                ... Peter E.

-- 
Message composed and transmitted by software designed to avoid the 
need, overhead and vulnerability of antivirus software.

123456789 123456789 123456789 123456789 123456789 123456789 123456789
Tel: +1 360 639 0202                                                 
http://easthope.ca/Peter.html              Bcc: peter at easthope. ca

Received on Saturday, 29 September 2018 01:40:54 UTC