|
This test draws a few basic shapes and checks for correct values from getScreenCTM(). To pass, each returned CTM must be correct (indicated by printing the values in green), and the string 'passed' appears in the lower right.
Note, this test does not have 100% for the svg width and height on purpose as to have exact expected results for the screen CTM.