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

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: Rebased to ToT; test cleanup 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
« no previous file with comments | « LayoutTests/fast/canvas/alpha.js ('k') | Source/WebKit/chromium/public/WebRuntimeFeatures.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..773548e15343322e0d429a5134dd7d25169e6ef0
--- /dev/null
+++ b/LayoutTests/fast/canvas/alpha-expected.txt
@@ -0,0 +1,35 @@
+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 true
+PASS imgData2.data[0] is 0
+PASS imgData2.data[1] is 0
+PASS imgData2.data[2] is 0
+PASS imgData2.data[3] is 0
+PASS ctx3.getContextAttributes().alpha is false
+PASS imgData3.data[0] is 0
+PASS imgData3.data[1] is 0
+PASS imgData3.data[2] is 0
+PASS imgData3.data[3] is 255
+PASS ctx4.getContextAttributes().alpha is true
+PASS imgData4.data[0] is 0
+PASS imgData4.data[1] is 0
+PASS imgData4.data[2] is 0
+PASS imgData4.data[3] is 0
+PASS attrs.alpha is true
+PASS ctx4.getContextAttributes().alpha is true
+PASS imgData4.data[0] is 0
+PASS imgData4.data[1] is 0
+PASS imgData4.data[2] is 0
+PASS imgData4.data[3] is 0
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/fast/canvas/alpha.js ('k') | Source/WebKit/chromium/public/WebRuntimeFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698