3 testRunner
.waitUntilDone();
5 var img
= document
.getElementsByTagName('img')[0];
6 img
.onload = function() {
8 testRunner
.notifyDone();
10 img
.src
= 'resources/greenSquare.svg';
13 <p>Tests sizing of svg when IMG's src changes from one svg to another. Passes if the second svg is sized as if it were loaded at first.
</p>
14 <img style=
"width: 10%; height: 10%" src=
"resources/rect-1x1.svg">