Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/canvas/canvas-imageSmoothingQuality-expected.txt

Issue 2157953002: Change filter quality when scaling-down in drawImage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update test expectation Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 CONSOLE WARNING: line 46: The provided value '3223' is not a valid enum value of type ImageSmoothingQuality. 1 CONSOLE WARNING: line 46: The provided value '3223' is not a valid enum value of type ImageSmoothingQuality.
2 CONSOLE WARNING: line 46: The provided value 'bad_input' is not a valid enum val ue of type ImageSmoothingQuality. 2 CONSOLE WARNING: line 46: The provided value 'bad_input' is not a valid enum val ue of type ImageSmoothingQuality.
3 CONSOLE WARNING: line 46: The provided value 'LOW' is not a valid enum value of type ImageSmoothingQuality. 3 CONSOLE WARNING: line 46: The provided value 'LOW' is not a valid enum value of type ImageSmoothingQuality.
4 CONSOLE WARNING: line 46: The provided value 'Medium' is not a valid enum value of type ImageSmoothingQuality. 4 CONSOLE WARNING: line 46: The provided value 'Medium' is not a valid enum value of type ImageSmoothingQuality.
5 Tests for the imageSmoothingQuality attribute. 5 Tests for the imageSmoothingQuality attribute.
6 6
7 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 7 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
8 8
9 9
10 On getting, must return the last value it was set to. 10 On getting, must return the last value it was set to.
11 PASS lowContext.imageSmoothingQuality is 'low' 11 PASS lowContext.imageSmoothingQuality is 'low'
12 PASS mediumContext.imageSmoothingQuality is 'medium' 12 PASS mediumContext.imageSmoothingQuality is 'medium'
13 PASS highContext.imageSmoothingQuality is 'high' 13 PASS highContext.imageSmoothingQuality is 'high'
14 14
15 PASS lowData is not mediumData 15 PASS lowData is not mediumData
16 PASS mediumData is highData 16 PASS mediumData is highData
17 PASS lowData is not highData 17 PASS lowData is not highData
18 18
19 PASS sampleAlpha(noFilterData) is > sampleAlpha(lowData) 19 PASS sampleAlpha(noFilterData) is sampleAlpha(lowData)
20 PASS sampleAlpha(lowData) is > sampleAlpha(mediumData) 20 PASS sampleAlpha(lowData) is > sampleAlpha(mediumData)
21 PASS sampleAlpha(mediumData) is sampleAlpha(highData) 21 PASS sampleAlpha(mediumData) is sampleAlpha(highData)
22 22
23 23
24 On setting, it must be set to the new value. 24 On setting, it must be set to the new value.
25 highContext.imageSmoothingQuality = 'medium'; 25 highContext.imageSmoothingQuality = 'medium';
26 PASS highContext.imageSmoothingQuality is 'medium' 26 PASS highContext.imageSmoothingQuality is 'medium'
27 PASS scaleImageData(highCanvas, highCanvas.imageSmoothingQuality); is mediumData 27 PASS scaleImageData(highCanvas, highCanvas.imageSmoothingQuality); is mediumData
28 highContext.imageSmoothingQuality = 'high'; 28 highContext.imageSmoothingQuality = 'high';
29 PASS highContext.imageSmoothingQuality is 'high' 29 PASS highContext.imageSmoothingQuality is 'high'
(...skipping 29 matching lines...) Expand all
59 highContext.save(); highContext.imageSmoothingQuality = 'medium'; 59 highContext.save(); highContext.imageSmoothingQuality = 'medium';
60 PASS highContext.imageSmoothingQuality is 'medium' 60 PASS highContext.imageSmoothingQuality is 'medium'
61 PASS scaleImageData(highCanvas, highCanvas.imageSmoothingQuality); is mediumData 61 PASS scaleImageData(highCanvas, highCanvas.imageSmoothingQuality); is mediumData
62 PASS highContext.restore(); highContext.imageSmoothingQuality is 'high' 62 PASS highContext.restore(); highContext.imageSmoothingQuality is 'high'
63 PASS scaleImageData(highCanvas, highCanvas.imageSmoothingQuality); is highData 63 PASS scaleImageData(highCanvas, highCanvas.imageSmoothingQuality); is highData
64 64
65 PASS successfullyParsed is true 65 PASS successfullyParsed is true
66 66
67 TEST COMPLETE 67 TEST COMPLETE
68 68
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698