| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <title>drawing <video> to <canvas></title> | 3 <title>drawing <video> to <canvas></title> |
| 4 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 | 4 <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956 |
| 5 (Please avoid writing new tests using video-test.js) --> | 5 (Please avoid writing new tests using video-test.js) --> |
| 6 <script src=../http/tests/media/video-test.js></script> | 6 <script src=../http/tests/media/video-test.js></script> |
| 7 | 7 |
| 8 <script> | 8 <script> |
| 9 var ctx; | 9 var ctx; |
| 10 var results = { | 10 var results = { |
| 11 current: 0, | 11 current: 0, |
| 12 values: [ | 12 values: [ |
| 13 { time:0, r:255, g:255, b:0 }, | 13 { time:0, r:255, g:255, b:0 }, |
| 14 { time:2, r:8, g:0, b:226 }, | 14 { time:2, r:8, g:0, b:226 }, |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 | 78 |
| 79 <div> | 79 <div> |
| 80 <video controls></video> | 80 <video controls></video> |
| 81 <canvas width="160" height="120" ></canvas> | 81 <canvas width="160" height="120" ></canvas> |
| 82 </div> | 82 </div> |
| 83 | 83 |
| 84 <p>Test <video> as a source for <canvas>.</p> | 84 <p>Test <video> as a source for <canvas>.</p> |
| 85 | 85 |
| 86 </body> | 86 </body> |
| 87 </html> | 87 </html> |
| OLD | NEW |