summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/canvas/canvas-blending-image-over-pattern-expected.txt
blob: 8d6e64e1d58f62cf79d9e43ce12d29f9b11f00cb (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
Series of tests to ensure correct results on applying different blend modes when drawing an image on top of a pattern.

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


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

PASS successfullyParsed is true

TEST COMPLETE