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

Side by Side Diff: content/test/data/gpu/pixel_canvas2d.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>Canvas 2D Test: Red Box over Black Background</title> 11 <title>Canvas 2D Test: Red Box 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 <script> 17 <script>
11 var g_swapsBeforeAck = 15; 18 var g_swapsBeforeAck = 15;
(...skipping 27 matching lines...) Expand all
39 </script> 46 </script>
40 </head> 47 </head>
41 <body onload="main()"> 48 <body onload="main()">
42 <div style="position:relative; width:200px; height:200px; background-color:black "> 49 <div style="position:relative; width:200px; height:200px; background-color:black ">
43 </div> 50 </div>
44 <div id="container" style="position:absolute; top:0px; left:0px"> 51 <div id="container" style="position:absolute; top:0px; left:0px">
45 <canvas id="c" width="200" height="200" class="nomargin"></canvas> 52 <canvas id="c" width="200" height="200" class="nomargin"></canvas>
46 </div> 53 </div>
47 </body> 54 </body>
48 </html> 55 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698