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

Unified Diff: LayoutTests/fast/canvas/script-tests/canvas-imageSmoothingEnabled.js

Issue 804743002: Deprecate CanvasRenderingContext2D.webkitImageSmoothingEnabled (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: update expectations Created 6 years 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/script-tests/canvas-imageSmoothingEnabled.js
diff --git a/LayoutTests/fast/canvas/script-tests/canvas-imageSmoothingEnabled.js b/LayoutTests/fast/canvas/script-tests/canvas-imageSmoothingEnabled.js
index fa3c243ce65e26dc4ee3f80890c44b91abf781af..d74daa8e143092e819b7635d75ae41cb8291b209 100644
--- a/LayoutTests/fast/canvas/script-tests/canvas-imageSmoothingEnabled.js
+++ b/LayoutTests/fast/canvas/script-tests/canvas-imageSmoothingEnabled.js
@@ -3,10 +3,12 @@ var ctx = document.createElement('canvas').getContext('2d');
debug("Test that the default value is true.");
shouldBe("ctx.imageSmoothingEnabled", "true");
+shouldBe("ctx.webkitImageSmoothingEnabled", "true");
debug("Test that false is returned after a the attribute is set to false.");
ctx.imageSmoothingEnabled = false;
shouldBe("ctx.imageSmoothingEnabled", "false");
+shouldBe("ctx.webkitImageSmoothingEnabled", "false");
debug("Test that restore works. We save a false state; create, then save a true state; and then finally restore.");
ctx.save();

Powered by Google App Engine
This is Rietveld 408576698