12 Feb
2005
12 Feb
'05
4:27 p.m.
bulia byak wrote:
This would be useful to have in any case, since even the W3C SVG test suite does not test this attribute.
Well, they do have a test for preserveAspectRatio but it is not for <image>s which is kind of a special case anyways since it has an implied viewBox attribute when its referencing raster content. Anyways, here it is. It requires an image in the same folder called 'a.png'. Just pick any picture with fairly unique corners in it.
Have Fun, Edward Flick