Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Side by Side Diff: LayoutTests/fast/images/webp-animation.html

Issue 13980003: Add animation support for WebP images (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Adapt to recent animation code changes Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698