1 This test checks resetTransform in canvas v5
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 resetTransform should reset other transforms.
10 resetTransform should not affect CTM outside of save() and restore().
12 PASS imgdata[1] is 128
14 PASS imgdata[0] is 255
17 resetTransform should restore the path transform to identity.
19 PASS imgdata[1] is 128
21 resetTransform should resolve the non-invertible CTM state.
23 PASS imgdata[1] is 128
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-invertible.
27 PASS imgdata[0] is 255
31 PASS imgdata[1] is 128
33 PASS successfullyParsed is true