| OLD | NEW |
| (Empty) |
| 1 Test different constructors of Path. | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 4 | |
| 5 | |
| 6 Test constructor Path(). | |
| 7 PASS imgdata[4] is 255 | |
| 8 PASS imgdata[5] is 255 | |
| 9 PASS imgdata[6] is 0 | |
| 10 PASS imgdata[7] is 255 | |
| 11 | |
| 12 Test constructor Path(DOMString) which takes a SVG data string. | |
| 13 PASS imgdata[4] is 0 | |
| 14 PASS imgdata[5] is 0 | |
| 15 PASS imgdata[6] is 255 | |
| 16 PASS imgdata[7] is 255 | |
| 17 | |
| 18 Test constructor Path(Path) which takes another Path object. | |
| 19 PASS imgdata[4] is 0 | |
| 20 PASS imgdata[5] is 128 | |
| 21 PASS imgdata[6] is 0 | |
| 22 PASS imgdata[7] is 255 | |
| 23 | |
| 24 PASS successfullyParsed is true | |
| 25 | |
| 26 TEST COMPLETE | |
| 27 | |
| OLD | NEW |