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

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

Issue 561363002: Add layout test for JPEG with different YUV formats (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Adding expected file Created 6 years, 2 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
(Empty)
1 <html>
2 <head>
3 <meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-sc ale=1.0, user-scalable=yes">
4 </head>
5 <body>
6 <script>
7 if (window.testRunner)
8 testRunner.dumpAsText();
9
10 window.onload = function() {
11 document.getElementById('results').innerHTML =
12 document.getElementsByTagName('img')[0].width + 'x' +
13 document.getElementsByTagName('img')[0].height + ' ' +
14 document.getElementsByTagName('img')[1].width + 'x' +
15 document.getElementsByTagName('img')[1].height + ' ' +
16 document.getElementsByTagName('img')[2].width + 'x' +
17 document.getElementsByTagName('img')[2].height + ' ' +
18 document.getElementsByTagName('img')[3].width + 'x' +
19 document.getElementsByTagName('img')[3].height + ' ' +
20 document.getElementsByTagName('img')[4].width + 'x' +
21 document.getElementsByTagName('img')[4].height + ' ' +
22 document.getElementsByTagName('img')[5].width + 'x' +
23 document.getElementsByTagName('img')[5].height + ' ' +
24 document.getElementsByTagName('img')[6].width + 'x' +
25 document.getElementsByTagName('img')[6].height + ' ' +
26 document.getElementsByTagName('img')[7].width + 'x' +
27 document.getElementsByTagName('img')[7].height + ' ' +
28 document.getElementsByTagName('img')[8].width + 'x' +
29 document.getElementsByTagName('img')[8].height + ' ' +
30 document.getElementsByTagName('img')[9].width + 'x' +
31 document.getElementsByTagName('img')[9].height + ' ' +
32 document.getElementsByTagName('img')[10].width + 'x' +
33 document.getElementsByTagName('img')[10].height + ' ' +
34 document.getElementsByTagName('img')[11].width + 'x' +
35 document.getElementsByTagName('img')[11].height;
36 }
37 </script>
38 <img src="resources/ycbcr-420-fast_int-progressive.jpg">
39 <img src="resources/ycbcr-420-float-progressive.jpg">
40 <img src="resources/ycbcr-420-float.jpg">
41 <img src="resources/ycbcr-420-progressive-smooth.jpg">
42 <img src="resources/ycbcr-420-progressive.jpg">
43 <img src="resources/ycbcr-420.jpg">
44 <img src="resources/ycbcr-422-float.jpg">
45 <img src="resources/ycbcr-422.jpg">
46 <img src="resources/ycbcr-440-float.jpg">
47 <img src="resources/ycbcr-440.jpg">
48 <img src="resources/ycbcr-444-float.jpg">
49 <img src="resources/ycbcr-444.jpg">
50 <div id="results"></div>
51 </body>
52 </html>
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/images/jpeg-ycbcr-image-decoding-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698