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

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

Issue 10860057: Merge 125869 - Source/WebCore: libwebp-0.2.0: handle alpha channel if present (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1229/
Patch Set: Created 8 years, 4 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' +
12 document.getElementsByTagName('img')[1].height + ' ' +
13 document.getElementsByTagName('img')[2].width + 'x' +
14 document.getElementsByTagName('img')[2].height;
11 } 15 }
12 </script> 16 </script>
13 <img src="resources/test.webp"> 17 <img src="resources/test.webp">
18 <img src="resources/test2.webp">
19 <img src="resources/test3.webp">
14 <div id="results"></div> 20 <div id="results"></div>
15 </body> 21 </body>
16 </html> 22 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/images/resources/test3.webp ('k') | LayoutTests/fast/images/webp-image-decoding-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698