1 Series of tests to ensure correct behaviour of canvas.setTransform()
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 Reset the CTM to the initial matrix
10 setTransform should not affect the current path
12 PASS imgdata[5] is 128
14 setTransform should not affect the CTM outside of save() and restore()
16 PASS imgdata[5] is 128
18 stop drawing on not-invertible CTM
20 PASS imgdata[5] is 128
22 setTransform with a not-invertible matrix should only stop the drawing up to the next restore()
25 PASS imgdata[6] is 255
26 setTransform should set transform although CTM is not-invertible
29 PASS imgdata[6] is 255
30 PASS successfullyParsed is true