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

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

Issue 14298018: This CL implements the first draft of Canvas 2D Context Attributes, aka getContext('2d', { alpha: f… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixes from review comments; remove WebPreferences.h changes; fix comment. Created 7 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/alpha-expected.txt
diff --git a/LayoutTests/fast/canvas/alpha-expected.txt b/LayoutTests/fast/canvas/alpha-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..66c2353bd2e9c4b81ad8b095dc1ac3bd575e7703
--- /dev/null
+++ b/LayoutTests/fast/canvas/alpha-expected.txt
@@ -0,0 +1,24 @@
+Series of tests for canvas alpha
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS ctx1.getContextAttributes().alpha is true
+PASS imgData1.data[0] is 0
+PASS imgData1.data[1] is 0
+PASS imgData1.data[2] is 0
+PASS imgData1.data[3] is 0
+PASS ctx2.getContextAttributes().alpha is false
+PASS imgData2.data[0] is 0
+PASS imgData2.data[1] is 0
+PASS imgData2.data[2] is 0
+PASS imgData2.data[3] is 255
+PASS ctx3.getContextAttributes().alpha is true
+PASS imgData3.data[0] is 0
+PASS imgData3.data[1] is 0
+PASS imgData3.data[2] is 0
+PASS imgData3.data[3] is 0
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698