| OLD | NEW |
| (Empty) |
| 1 Basic test for setLineDash, getLineDash and lineDashOffset | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 4 | |
| 5 | |
| 6 PASS ctx.lineDashOffset is 0 | |
| 7 PASS lineDash[0] is 15 | |
| 8 PASS lineDash[1] is 10 | |
| 9 PASS ctx.lineDashOffset is 5 | |
| 10 PASS lineDash[0] is 0 | |
| 11 PASS lineDash[1] is 0 | |
| 12 PASS lineDash[0] is 5 | |
| 13 PASS lineDash[1] is 10 | |
| 14 PASS lineDash[2] is 15 | |
| 15 PASS lineDash[3] is 5 | |
| 16 PASS lineDash[4] is 10 | |
| 17 PASS lineDash[5] is 15 | |
| 18 PASS lineDash[0] is 1 | |
| 19 PASS lineDash[1] is 2 | |
| 20 PASS ctx.lineDashOffset is 5 | |
| 21 PASS getPixel(25,10) is [0,255,0,255] | |
| 22 PASS getPixel(35,10) is [0,0,0,0] | |
| 23 PASS getPixel(40,25) is [0,255,0,255] | |
| 24 PASS getPixel(40,35) is [0,0,0,0] | |
| 25 PASS getPixel(25,40) is [0,255,0,255] | |
| 26 PASS getPixel(15,40) is [0,0,0,0] | |
| 27 PASS getPixel(10,25) is [0,255,0,255] | |
| 28 PASS getPixel(10,15) is [0,0,0,0] | |
| 29 PASS getPixel(55,10) is [0,0,0,0] | |
| 30 PASS getPixel(65,10) is [0,255,0,255] | |
| 31 PASS getPixel(80,15) is [0,0,0,0] | |
| 32 PASS getPixel(80,25) is [0,255,0,255] | |
| 33 PASS getPixel(75,40) is [0,0,0,0] | |
| 34 PASS getPixel(65,40) is [0,255,0,255] | |
| 35 PASS getPixel(50,35) is [0,0,0,0] | |
| 36 PASS getPixel(50,25) is [0,255,0,255] | |
| 37 PASS getPixel(95,10) is [0,0,0,0] | |
| 38 PASS getPixel(105,10) is [0,255,0,255] | |
| 39 PASS getPixel(120,15) is [0,0,0,0] | |
| 40 PASS getPixel(120,25) is [0,255,0,255] | |
| 41 PASS getPixel(115,40) is [0,0,0,0] | |
| 42 PASS getPixel(105,40) is [0,255,0,255] | |
| 43 PASS getPixel(90,35) is [0,0,0,0] | |
| 44 PASS getPixel(90,25) is [0,255,0,255] | |
| 45 PASS getPixel(130,10) is [0,255,0,255] | |
| 46 PASS getPixel(130,15) is [0,255,0,255] | |
| 47 PASS getPixel(130,25) is [0,255,0,255] | |
| 48 PASS getPixel(130,35) is [0,255,0,255] | |
| 49 PASS successfullyParsed is true | |
| 50 | |
| 51 TEST COMPLETE | |
| 52 | |
| OLD | NEW |