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(); |