OLD | NEW |
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 Loading... |
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> |
OLD | NEW |