1 Test the handling of non-integer source coordinates in getImageData().
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 getImageData(0, 0, 20, 10)
7 PASS imageData.width is 20
8 PASS imageData.height is 10
9 getImageData(0.1, 0.2, 20, 10)
10 PASS imageData.width is 21
11 PASS imageData.height is 11
12 getImageData(0.9, 0.8, 20, 10)
13 PASS imageData.width is 21
14 PASS imageData.height is 11
15 getImageData(0, 0, 19.9, 9.9)
16 PASS imageData.width is 20
17 PASS imageData.height is 10
18 getImageData(0, 0, 19.1, 9.1)
19 PASS imageData.width is 20
20 PASS imageData.height is 10
21 getImageData(0.9, 0, 0.2, 10)
22 PASS imageData.width is 2
23 PASS imageData.height is 10
24 getImageData(-1, -1, 20, 10)
25 PASS imageData.width is 20
26 PASS imageData.height is 10
27 getImageData(-1.1, 0, 20, 10)
28 PASS imageData.width is 21
29 PASS imageData.height is 10
30 getImageData(-1.9, 0, 20, 10)
31 PASS imageData.width is 21
32 PASS imageData.height is 10
33 PASS successfullyParsed is true