OLD | NEW |
(Empty) | |
| 1 Series of tests for canvas alpha |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 PASS ctx1.getContextAttributes().alpha is true |
| 7 PASS imgData1.data[0] is 0 |
| 8 PASS imgData1.data[1] is 0 |
| 9 PASS imgData1.data[2] is 0 |
| 10 PASS imgData1.data[3] is 0 |
| 11 PASS ctx2.getContextAttributes().alpha is false |
| 12 PASS imgData2.data[0] is 0 |
| 13 PASS imgData2.data[1] is 0 |
| 14 PASS imgData2.data[2] is 0 |
| 15 PASS imgData2.data[3] is 255 |
| 16 PASS ctx3.getContextAttributes().alpha is true |
| 17 PASS imgData3.data[0] is 0 |
| 18 PASS imgData3.data[1] is 0 |
| 19 PASS imgData3.data[2] is 0 |
| 20 PASS imgData3.data[3] is 0 |
| 21 PASS successfullyParsed is true |
| 22 |
| 23 TEST COMPLETE |
| 24 |
OLD | NEW |