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

Unified Diff: third_party/WebKit/LayoutTests/fast/canvas/script-tests/text-globalAlpha.js

Issue 2343793002: Convert fast/canvas Layouttests to testharness (Closed)
Patch Set: Convert fast/canvas Layouttests to testharness Created 4 years, 3 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: third_party/WebKit/LayoutTests/fast/canvas/script-tests/text-globalAlpha.js
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/script-tests/text-globalAlpha.js b/third_party/WebKit/LayoutTests/fast/canvas/script-tests/text-globalAlpha.js
deleted file mode 100644
index fb78d67bb1dcdca86b3930af72c962d07b10c009..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/canvas/script-tests/text-globalAlpha.js
+++ /dev/null
@@ -1,10 +0,0 @@
-description("Ensure that globalAlpha is applied correctly to text.");
-var canvas = document.createElement('canvas');
-var ctx = canvas.getContext('2d');
-ctx.fillStyle = "black";
-ctx.globalAlpha = 0.5;
-ctx.font = "50px Arial";
-ctx.fillText("A",50,50);
-var imageData = ctx.getImageData(63, 22, 1, 1);
-var imgdata = imageData.data;
-shouldBeTrue("imgdata[3] == 127 || imgdata[3] == 128");

Powered by Google App Engine
This is Rietveld 408576698