OLD | NEW |
1 <html> | 1 <html> |
2 <body> | 2 <body> |
3 <script> | 3 <script> |
4 if (window.testRunner) | 4 if (window.testRunner) |
5 testRunner.dumpAsText(); | 5 testRunner.dumpAsText(); |
6 | 6 |
7 window.onload = function() { | 7 window.onload = function() { |
8 document.getElementById('results').innerHTML = | 8 document.getElementById('results').innerHTML = |
9 document.getElementsByTagName('img')[0].width + 'x' + | 9 document.getElementsByTagName('img')[0].width + 'x' + |
10 document.getElementsByTagName('img')[0].height + ' ' + | 10 document.getElementsByTagName('img')[0].height + ' ' + |
11 document.getElementsByTagName('img')[1].width + 'x' + | 11 document.getElementsByTagName('img')[1].width + 'x' + |
12 document.getElementsByTagName('img')[1].height + ' ' + | 12 document.getElementsByTagName('img')[1].height + ' ' + |
13 document.getElementsByTagName('img')[2].width + 'x' + | 13 document.getElementsByTagName('img')[2].width + 'x' + |
14 document.getElementsByTagName('img')[2].height; | 14 document.getElementsByTagName('img')[2].height; |
15 } | 15 } |
16 </script> | 16 </script> |
17 <img src="resources/test.webp"> | 17 <img src="resources/webp-animated.webp"> |
18 <img src="resources/test2.webp"> | 18 <img src="resources/webp-animated-large.webp"> |
19 <img src="resources/test3.webp"> | 19 <img src="resources/webp-animated-icc-xmp.webp"> |
20 <div id="results"></div> | 20 <div id="results"></div> |
21 </body> | 21 </body> |
22 </html> | 22 </html> |
OLD | NEW |