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

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

Issue 2496663002: Merge css3/image/ and fast/images/ to images/ (Closed)
Patch Set: Address failing tests (3 of them) Created 4 years, 1 month 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/test.webp">
18 <img src="resources/test2.webp"> 18 <img src="resources/test2.webp">
19 <img src="resources/test3.webp"> 19 <img src="resources/test3.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