| OLD | NEW |
| (Empty) |
| 1 This test checks resetTransform in canvas v5 | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 4 | |
| 5 | |
| 6 resetTransform should reset other transforms. | |
| 7 PASS imgdata[0] is 0 | |
| 8 PASS imgdata[1] is 128 | |
| 9 PASS imgdata[2] is 0 | |
| 10 resetTransform should not affect CTM outside of save() and restore(). | |
| 11 PASS imgdata[0] is 0 | |
| 12 PASS imgdata[1] is 128 | |
| 13 PASS imgdata[2] is 0 | |
| 14 PASS imgdata[0] is 255 | |
| 15 PASS imgdata[1] is 0 | |
| 16 PASS imgdata[2] is 0 | |
| 17 resetTransform should restore the path transform to identity. | |
| 18 PASS imgdata[0] is 0 | |
| 19 PASS imgdata[1] is 128 | |
| 20 PASS imgdata[2] is 0 | |
| 21 resetTransform should resolve the non-invertible CTM state. | |
| 22 PASS imgdata[0] is 0 | |
| 23 PASS imgdata[1] is 128 | |
| 24 PASS imgdata[2] is 0 | |
| 25 The path object should not be updated on the non-invertible CTM state. | |
| 26 resetTransform should restore the path object just before CTM became non-inverti
ble. | |
| 27 PASS imgdata[0] is 255 | |
| 28 PASS imgdata[1] is 0 | |
| 29 PASS imgdata[2] is 0 | |
| 30 PASS imgdata[0] is 0 | |
| 31 PASS imgdata[1] is 128 | |
| 32 PASS imgdata[2] is 0 | |
| 33 PASS successfullyParsed is true | |
| 34 | |
| 35 TEST COMPLETE | |
| 36 | |
| OLD | NEW |