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