5 testRunner
.dumpAsText();
7 window
.onload = function() {
8 document
.getElementById('results').innerHTML
=
9 document
.getElementsByTagName('img')[0].width
+ 'x' +
10 document
.getElementsByTagName('img')[0].height
+ ' ' +
11 document
.getElementsByTagName('img')[1].width
+ 'x' +
12 document
.getElementsByTagName('img')[1].height
+ ' ' +
13 document
.getElementsByTagName('img')[2].width
+ 'x' +
14 document
.getElementsByTagName('img')[2].height
;
17 <img src=
"resources/test.webp">
18 <img src=
"resources/test2.webp">
19 <img src=
"resources/test3.webp">
20 <div id=
"results"></div>