Here's the challenge: create a full window svg image with aspect distortion without using an SVG tag. Why avoid the SVG tag? Because I plan to replace the SVG later on (possibly frequently) and haven't found a simple way to do so.
Previous attempts:
<!-- My styles are in a css file, but for demonstration purposes,
they are inline style attributes -->
<!-- Works in Webkit but not in Firefox; Firefox blocks stretching
and centers the svg within the tag -->
<img src="my.svg" style="width:100%;height:100%;
position:fixed;top:0;left:0;bottom:0;right:0;" />
<!-- Both Webkit and Firefox prevent distortion, causing the svg
to be centered in the div instead of conforming to its dimensions -->
<div style="width:100%;height:100%;position:fixed;top:0;
left:0;bottom:0;right:0;background-size:cover;
background-image:url(my.svg);" />
I have also attempted:
background-size:contain;
background-size:cover;
background-size:100% 100%;
background-postion: center center;
but unfortunately, no success yet.