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

Unified Diff: LayoutTests/fast/canvas/canvas-webkitImageSmoothingEnabled-expected.txt

Issue 238263005: Unprefix webkitImageSmoothingEnabled -> imageSmoothingEnabled. As webkitImageSmoothingEnabled is re… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixing some errors Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/canvas/canvas-webkitImageSmoothingEnabled-expected.txt
diff --git a/LayoutTests/fast/canvas/canvas-webkitImageSmoothingEnabled-expected.txt b/LayoutTests/fast/canvas/canvas-webkitImageSmoothingEnabled-expected.txt
deleted file mode 100644
index 3980b568c1a72c5af9fdecc5693457e233325e42..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/canvas/canvas-webkitImageSmoothingEnabled-expected.txt
+++ /dev/null
@@ -1,32 +0,0 @@
-Tests for the imageSmoothingEnabled attribute.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-Test that the default value is true.
-PASS ctx.webkitImageSmoothingEnabled is true
-Test that false is returned after a the attribute is set to false.
-PASS ctx.webkitImageSmoothingEnabled is false
-Test that restore works. We save a false state; create, then save a true state; and then finally restore.
-PASS ctx.webkitImageSmoothingEnabled is false
-New canvas element created.
-Test that the image is smoothed by default. We check by making sure the pixel just to the left of the middle line is not completely black.
-PASS left_of_center_pixel.data[0] !== 0 is true
-PASS left_of_center_pixel.data[1] !== 0 is true
-PASS left_of_center_pixel.data[2] !== 0 is true
-Test that nearest neighbour is used when imageSmoothingEnabled is set to false. We check this by making sure the pixel just to the left of the middle line is completely black.
-PASS left_of_center_pixel.data[0] is 0
-PASS left_of_center_pixel.data[1] is 0
-PASS left_of_center_pixel.data[2] is 0
-Test that the image is smoothed when imageSmoothingEnabled is set to true.
-PASS left_of_center_pixel.data[0] !== 0 is true
-PASS left_of_center_pixel.data[1] !== 0 is true
-PASS left_of_center_pixel.data[2] !== 0 is true
-Test that restoring actually changes smoothing and not just the attribute value. We are restoring to a point where imageSmoothingEnabled is set to false.
-PASS left_of_center_pixel.data[0] is 0
-PASS left_of_center_pixel.data[1] is 0
-PASS left_of_center_pixel.data[2] is 0
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Powered by Google App Engine
This is Rietveld 408576698