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

Side by Side Diff: content/test/data/gpu/pixel_webgl.html

Issue 23478021: Made Pixel tests functional. Captures tab content and compares to ref image (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Brought functionality closer inline with original browsertests Created 7 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2
3 <!-- READ BEFORE UPDATING:
4 If this test is updated make sure to increment the "revision" value of the
5 associated test in content/test/gpu/page_sets/pixel_tests.json. This will ensure
6 that the baseline images are regenerated on the next run.
7 -->
8
2 <html> 9 <html>
3 <head> 10 <head>
4 <title>WebGL Test: Green Triangle over Black Background</title> 11 <title>WebGL Test: Green Triangle over Black Background</title>
5 <style type="text/css"> 12 <style type="text/css">
6 .nomargin { 13 .nomargin {
7 margin: 0px auto; 14 margin: 0px auto;
8 } 15 }
9 </style> 16 </style>
10 17
11 <script id="shader-vs" type="x-shader/x-vertex"> 18 <script id="shader-vs" type="x-shader/x-vertex">
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 } 135 }
129 </script> 136 </script>
130 </head> 137 </head>
131 <body onload="main()"> 138 <body onload="main()">
132 <div style="position:relative; width:200px; height:200px; background-color:black "></div> 139 <div style="position:relative; width:200px; height:200px; background-color:black "></div>
133 <div style="position:absolute; top:0px; left:0px"> 140 <div style="position:absolute; top:0px; left:0px">
134 <canvas id="c" width="200" height="200" class="nomargin"></canvas> 141 <canvas id="c" width="200" height="200" class="nomargin"></canvas>
135 </div> 142 </div>
136 </body> 143 </body>
137 </html> 144 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698