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

Side by Side Diff: LayoutTests/fast/canvas/webgl/texture-color-profile.html

Issue 49063011: Delete js-test-style.css. js-test-pre.js injects the CSS it needs now. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>Texture upload with color profile</title> 4 <title>Texture upload with color profile</title>
5 <link rel="stylesheet" href="../../js/resources/js-test-style.css"/>
6 <script src="../../js/resources/js-test-pre.js"></script> 5 <script src="../../js/resources/js-test-pre.js"></script>
7 <script src="resources/webgl-test.js"></script> 6 <script src="resources/webgl-test.js"></script>
8 <script src="resources/webgl-test-utils.js"></script> 7 <script src="resources/webgl-test-utils.js"></script>
9 </head> 8 </head>
10 <body> 9 <body>
11 <canvas id="example" width="16" height="16" style="width: 16px; height: 16px;">< /canvas> 10 <canvas id="example" width="16" height="16" style="width: 16px; height: 16px;">< /canvas>
12 <div id="description"></div> 11 <div id="description"></div>
13 <div id="console"></div> 12 <div id="console"></div>
14 <script> 13 <script>
15 description("Test that applying a color profile to a texture with separate alpha doesn't destroy the texture."); 14 description("Test that applying a color profile to a texture with separate alpha doesn't destroy the texture.");
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 gl.readPixels(0, 0, width, height, gl.RGBA, gl.UNSIGNED_BYTE, buf); 80 gl.readPixels(0, 0, width, height, gl.RGBA, gl.UNSIGNED_BYTE, buf);
82 // This generous range is still enough to catch the regression. 81 // This generous range is still enough to catch the regression.
83 checkPixelRange(buf, 0, 0, [163, 126, 94, 129], 20); 82 checkPixelRange(buf, 0, 0, [163, 126, 94, 129], 20);
84 83
85 debug(""); 84 debug("");
86 isSuccessfullyParsed(); 85 isSuccessfullyParsed();
87 } 86 }
88 </script> 87 </script>
89 </body> 88 </body>
90 </html> 89 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698