| OLD | NEW |
| (Empty) |
| 1 Series of tests to ensure correct behaviour of canvas.strokeRect() | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 4 | |
| 5 | |
| 6 Test canvas.strokeRect() with solid green. | |
| 7 PASS imgdata[4] is 0 | |
| 8 PASS imgdata[5] is 128 | |
| 9 PASS imgdata[6] is 0 | |
| 10 Test canvas.strokeRect() with a pattern. | |
| 11 PASS imgdata[4] is 0 | |
| 12 PASS imgdata[5] is 128 | |
| 13 PASS imgdata[6] is 0 | |
| 14 Test canvas.strokeRect() with a gradient. | |
| 15 PASS imgdata[4] is 0 | |
| 16 PASS imgdata[5] is 128 | |
| 17 PASS imgdata[6] is 0 | |
| 18 Test canvas.strokeRect() with height = width = 0 and lineWidth = 2. | |
| 19 PASS imgdata[0] is 0 | |
| 20 PASS imgdata[1] is 0 | |
| 21 PASS imgdata[2] is 0 | |
| 22 Test canvas.strokeRect() with height = width = 0, lineWidth = 2, and shadow. | |
| 23 PASS imgdata[0] is 0 | |
| 24 PASS imgdata[1] is 0 | |
| 25 PASS imgdata[2] is 0 | |
| 26 PASS successfullyParsed is true | |
| 27 | |
| 28 TEST COMPLETE | |
| 29 | |
| OLD | NEW |