summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/canvas/canvas-blending-transforms-expected.txt
blob: 41f7d2076127015af2fe6f52714b637457bca755 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
Series of tests to ensure correct results on applying different blend modes when drawing in a transformed context.

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".


Testing blend mode source-over
PASS actualColor(0, 1)[0] is within 5 of 255
PASS actualColor(0, 1)[1] is within 5 of 129
PASS actualColor(0, 1)[2] is within 5 of 129
PASS actualColor(0, 1)[3] is within 5 of 255
PASS actualColor(9, 9)[0] is within 5 of 0
PASS actualColor(9, 9)[1] is within 5 of 0
PASS actualColor(9, 9)[2] is within 5 of 0
PASS actualColor(9, 9)[3] is within 5 of 0

Testing blend mode multiply
PASS actualColor(0, 1)[0] is within 5 of 129
PASS actualColor(0, 1)[1] is within 5 of 129
PASS actualColor(0, 1)[2] is within 5 of 65.25882352941176
PASS actualColor(0, 1)[3] is within 5 of 255
PASS actualColor(9, 9)[0] is within 5 of 0
PASS actualColor(9, 9)[1] is within 5 of 0
PASS actualColor(9, 9)[2] is within 5 of 0
PASS actualColor(9, 9)[3] is within 5 of 0

Testing blend mode screen
PASS actualColor(0, 1)[0] is within 5 of 255
PASS actualColor(0, 1)[1] is within 5 of 255
PASS actualColor(0, 1)[2] is within 5 of 192.74117647058821
PASS actualColor(0, 1)[3] is within 5 of 255
PASS actualColor(9, 9)[0] is within 5 of 0
PASS actualColor(9, 9)[1] is within 5 of 0
PASS actualColor(9, 9)[2] is within 5 of 0
PASS actualColor(9, 9)[3] is within 5 of 0

Testing blend mode overlay
PASS actualColor(0, 1)[0] is within 5 of 255
PASS actualColor(0, 1)[1] is within 5 of 255
PASS actualColor(0, 1)[2] is within 5 of 130.48235294117646
PASS actualColor(0, 1)[3] is within 5 of 255
PASS actualColor(9, 9)[0] is within 5 of 0
PASS actualColor(9, 9)[1] is within 5 of 0
PASS actualColor(9, 9)[2] is within 5 of 0
PASS actualColor(9, 9)[3] is within 5 of 0

Testing blend mode darken
PASS actualColor(0, 1)[0] is within 5 of 129
PASS actualColor(0, 1)[1] is within 5 of 129
PASS actualColor(0, 1)[2] is within 5 of 129
PASS actualColor(0, 1)[3] is within 5 of 255
PASS actualColor(9, 9)[0] is within 5 of 0
PASS actualColor(9, 9)[1] is within 5 of 0
PASS actualColor(9, 9)[2] is within 5 of 0
PASS actualColor(9, 9)[3] is within 5 of 0

Testing blend mode lighten
PASS actualColor(0, 1)[0] is within 5 of 255
PASS actualColor(0, 1)[1] is within 5 of 255
PASS actualColor(0, 1)[2] is within 5 of 129
PASS actualColor(0, 1)[3] is within 5 of 255
PASS actualColor(9, 9)[0] is within 5 of 0
PASS actualColor(9, 9)[1] is within 5 of 0
PASS actualColor(9, 9)[2] is within 5 of 0
PASS actualColor(9, 9)[3] is within 5 of 0

Testing blend mode color-dodge
PASS actualColor(0, 1)[0] is within 5 of 255
PASS actualColor(0, 1)[1] is within 5 of 255
PASS actualColor(0, 1)[2] is within 5 of 255
PASS actualColor(0, 1)[3] is within 5 of 255
PASS actualColor(9, 9)[0] is within 5 of 0
PASS actualColor(9, 9)[1] is within 5 of 0
PASS actualColor(9, 9)[2] is within 5 of 0
PASS actualColor(9, 9)[3] is within 5 of 0

Testing blend mode color-burn
PASS actualColor(0, 1)[0] is within 5 of 129
PASS actualColor(0, 1)[1] is within 5 of 255
PASS actualColor(0, 1)[2] is within 5 of 5.930232558139517
PASS actualColor(0, 1)[3] is within 5 of 255
PASS actualColor(9, 9)[0] is within 5 of 0
PASS actualColor(9, 9)[1] is within 5 of 0
PASS actualColor(9, 9)[2] is within 5 of 0
PASS actualColor(9, 9)[3] is within 5 of 0

Testing blend mode hard-light
PASS actualColor(0, 1)[0] is within 5 of 255
PASS actualColor(0, 1)[1] is within 5 of 255
PASS actualColor(0, 1)[2] is within 5 of 130.48235294117646
PASS actualColor(0, 1)[3] is within 5 of 255
PASS actualColor(9, 9)[0] is within 5 of 0
PASS actualColor(9, 9)[1] is within 5 of 0
PASS actualColor(9, 9)[2] is within 5 of 0
PASS actualColor(9, 9)[3] is within 5 of 0

Testing blend mode soft-light
PASS actualColor(0, 1)[0] is within 5 of 181.3697880023021
PASS actualColor(0, 1)[1] is within 5 of 255
PASS actualColor(0, 1)[2] is within 5 of 129.61611515296823
PASS actualColor(0, 1)[3] is within 5 of 255
PASS actualColor(9, 9)[0] is within 5 of 0
PASS actualColor(9, 9)[1] is within 5 of 0
PASS actualColor(9, 9)[2] is within 5 of 0
PASS actualColor(9, 9)[3] is within 5 of 0

Testing blend mode difference
PASS actualColor(0, 1)[0] is within 5 of 126
PASS actualColor(0, 1)[1] is within 5 of 126
PASS actualColor(0, 1)[2] is within 5 of 0
PASS actualColor(0, 1)[3] is within 5 of 255
PASS actualColor(9, 9)[0] is within 5 of 0
PASS actualColor(9, 9)[1] is within 5 of 0
PASS actualColor(9, 9)[2] is within 5 of 0
PASS actualColor(9, 9)[3] is within 5 of 0

Testing blend mode exclusion
PASS actualColor(0, 1)[0] is within 5 of 126
PASS actualColor(0, 1)[1] is within 5 of 126
PASS actualColor(0, 1)[2] is within 5 of 127.48235294117649
PASS actualColor(0, 1)[3] is within 5 of 255
PASS actualColor(9, 9)[0] is within 5 of 0
PASS actualColor(9, 9)[1] is within 5 of 0
PASS actualColor(9, 9)[2] is within 5 of 0
PASS actualColor(9, 9)[3] is within 5 of 0

Testing blend mode hue
PASS actualColor(0, 1)[0] is within 5 of 255
PASS actualColor(0, 1)[1] is within 5 of 181
PASS actualColor(0, 1)[2] is within 5 of 181
PASS actualColor(0, 1)[3] is within 5 of 255
PASS actualColor(9, 9)[0] is within 5 of 0
PASS actualColor(9, 9)[1] is within 5 of 0
PASS actualColor(9, 9)[2] is within 5 of 0
PASS actualColor(9, 9)[3] is within 5 of 0

Testing blend mode saturation
PASS actualColor(0, 1)[0] is within 5 of 129
PASS actualColor(0, 1)[1] is within 5 of 255
PASS actualColor(0, 1)[2] is within 5 of 129
PASS actualColor(0, 1)[3] is within 5 of 255
PASS actualColor(9, 9)[0] is within 5 of 0
PASS actualColor(9, 9)[1] is within 5 of 0
PASS actualColor(9, 9)[2] is within 5 of 0
PASS actualColor(9, 9)[3] is within 5 of 0

Testing blend mode color
PASS actualColor(0, 1)[0] is within 5 of 255
PASS actualColor(0, 1)[1] is within 5 of 181
PASS actualColor(0, 1)[2] is within 5 of 181
PASS actualColor(0, 1)[3] is within 5 of 255
PASS actualColor(9, 9)[0] is within 5 of 0
PASS actualColor(9, 9)[1] is within 5 of 0
PASS actualColor(9, 9)[2] is within 5 of 0
PASS actualColor(9, 9)[3] is within 5 of 0

Testing blend mode luminosity
PASS actualColor(0, 1)[0] is within 5 of 92
PASS actualColor(0, 1)[1] is within 5 of 218
PASS actualColor(0, 1)[2] is within 5 of 92
PASS actualColor(0, 1)[3] is within 5 of 255
PASS actualColor(9, 9)[0] is within 5 of 0
PASS actualColor(9, 9)[1] is within 5 of 0
PASS actualColor(9, 9)[2] is within 5 of 0
PASS actualColor(9, 9)[3] is within 5 of 0

PASS successfullyParsed is true

TEST COMPLETE