OLD | NEW |
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../js/resources/js-test-pre.js"></script> | 4 <script src="../js/resources/js-test-pre.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 <script> | 7 <script> |
8 | 8 |
9 description("Ensure correct behavior of drawImage with ImageBitmaps."); | 9 description("Ensure correct behavior of drawImage with ImageBitmaps."); |
10 window.jsTestIsAsync = true; | 10 window.jsTestIsAsync = true; |
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
401 | 401 |
402 // nothing should be drawn | 402 // nothing should be drawn |
403 clearContext(ctx); | 403 clearContext(ctx); |
404 ctx.drawImage(imageBitmap, 0, 0); | 404 ctx.drawImage(imageBitmap, 0, 0); |
405 shouldBeClear(1, 1); | 405 shouldBeClear(1, 1); |
406 shouldBeClear(9, 9); | 406 shouldBeClear(9, 9); |
407 shouldBeClear(11, 11); | 407 shouldBeClear(11, 11); |
408 shouldBeClear(22, 22); | 408 shouldBeClear(22, 22); |
409 } | 409 } |
410 </script> | 410 </script> |
411 <script src="../js/resources/js-test-post.js"></script> | |
412 </body> | 411 </body> |
413 </html> | 412 </html> |
OLD | NEW |