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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 Series of tests for canvas alpha
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS ctx1.getContextAttributes().alpha is true
7 PASS imgData1.data[0] is 0
8 PASS imgData1.data[1] is 0
9 PASS imgData1.data[2] is 0
10 PASS imgData1.data[3] is 0
11 PASS ctx2.getContextAttributes().alpha is false
12 PASS imgData2.data[0] is 0
13 PASS imgData2.data[1] is 0
14 PASS imgData2.data[2] is 0
15 PASS imgData2.data[3] is 255
16 PASS ctx3.getContextAttributes().alpha is true
17 PASS imgData3.data[0] is 0
18 PASS imgData3.data[1] is 0
19 PASS imgData3.data[2] is 0
20 PASS imgData3.data[3] is 0
21 PASS successfullyParsed is true
22
23 TEST COMPLETE
24
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698