OLD | NEW |
1 CONSOLE WARNING: 'CanvasRenderingContext2D.webkitImageSmoothingEnabled' is depre
cated. Please use 'CanvasRenderingContext2D.imageSmoothingEnabled' instead. | 1 CONSOLE WARNING: line 1: 'CanvasRenderingContext2D.webkitImageSmoothingEnabled'
is deprecated. Please use 'CanvasRenderingContext2D.imageSmoothingEnabled' inste
ad. |
2 Tests for the imageSmoothingEnabled attribute. | 2 Tests for the imageSmoothingEnabled attribute. |
3 | 3 |
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
5 | 5 |
6 | 6 |
7 Test that the default value is true. | 7 Test that the default value is true. |
8 PASS ctx.imageSmoothingEnabled is true | 8 PASS ctx.imageSmoothingEnabled is true |
9 PASS ctx.webkitImageSmoothingEnabled is true | 9 PASS ctx.webkitImageSmoothingEnabled is true |
10 Test that false is returned after a the attribute is set to false. | 10 Test that false is returned after a the attribute is set to false. |
11 PASS ctx.imageSmoothingEnabled is false | 11 PASS ctx.imageSmoothingEnabled is false |
(...skipping 14 matching lines...) Expand all Loading... |
26 PASS left_of_center_pixel.data[1] !== 0 is true | 26 PASS left_of_center_pixel.data[1] !== 0 is true |
27 PASS left_of_center_pixel.data[2] !== 0 is true | 27 PASS left_of_center_pixel.data[2] !== 0 is true |
28 Test that restoring actually changes smoothing and not just the attribute value.
We are restoring to a point where imageSmoothingEnabled is set to false. | 28 Test that restoring actually changes smoothing and not just the attribute value.
We are restoring to a point where imageSmoothingEnabled is set to false. |
29 PASS left_of_center_pixel.data[0] is 0 | 29 PASS left_of_center_pixel.data[0] is 0 |
30 PASS left_of_center_pixel.data[1] is 0 | 30 PASS left_of_center_pixel.data[1] is 0 |
31 PASS left_of_center_pixel.data[2] is 0 | 31 PASS left_of_center_pixel.data[2] is 0 |
32 PASS successfullyParsed is true | 32 PASS successfullyParsed is true |
33 | 33 |
34 TEST COMPLETE | 34 TEST COMPLETE |
35 | 35 |
OLD | NEW |