| OLD | NEW |
| (Empty) |
| 1 Series of tests to ensure correct results on applying different blend modes when
drawing in a transformed context. | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 4 | |
| 5 | |
| 6 Testing blend mode source-over | |
| 7 PASS actualColor(0, 1)[0] is within 5 of 255 | |
| 8 PASS actualColor(0, 1)[1] is within 5 of 129 | |
| 9 PASS actualColor(0, 1)[2] is within 5 of 129 | |
| 10 PASS actualColor(0, 1)[3] is within 5 of 255 | |
| 11 PASS actualColor(9, 9)[0] is within 5 of 0 | |
| 12 PASS actualColor(9, 9)[1] is within 5 of 0 | |
| 13 PASS actualColor(9, 9)[2] is within 5 of 0 | |
| 14 PASS actualColor(9, 9)[3] is within 5 of 0 | |
| 15 | |
| 16 Testing blend mode multiply | |
| 17 PASS actualColor(0, 1)[0] is within 5 of 129 | |
| 18 PASS actualColor(0, 1)[1] is within 5 of 129 | |
| 19 PASS actualColor(0, 1)[2] is within 5 of 65.25882352941176 | |
| 20 PASS actualColor(0, 1)[3] is within 5 of 255 | |
| 21 PASS actualColor(9, 9)[0] is within 5 of 0 | |
| 22 PASS actualColor(9, 9)[1] is within 5 of 0 | |
| 23 PASS actualColor(9, 9)[2] is within 5 of 0 | |
| 24 PASS actualColor(9, 9)[3] is within 5 of 0 | |
| 25 | |
| 26 Testing blend mode screen | |
| 27 PASS actualColor(0, 1)[0] is within 5 of 255 | |
| 28 PASS actualColor(0, 1)[1] is within 5 of 255 | |
| 29 PASS actualColor(0, 1)[2] is within 5 of 192.74117647058821 | |
| 30 PASS actualColor(0, 1)[3] is within 5 of 255 | |
| 31 PASS actualColor(9, 9)[0] is within 5 of 0 | |
| 32 PASS actualColor(9, 9)[1] is within 5 of 0 | |
| 33 PASS actualColor(9, 9)[2] is within 5 of 0 | |
| 34 PASS actualColor(9, 9)[3] is within 5 of 0 | |
| 35 | |
| 36 Testing blend mode overlay | |
| 37 PASS actualColor(0, 1)[0] is within 5 of 255 | |
| 38 PASS actualColor(0, 1)[1] is within 5 of 255 | |
| 39 PASS actualColor(0, 1)[2] is within 5 of 130.48235294117646 | |
| 40 PASS actualColor(0, 1)[3] is within 5 of 255 | |
| 41 PASS actualColor(9, 9)[0] is within 5 of 0 | |
| 42 PASS actualColor(9, 9)[1] is within 5 of 0 | |
| 43 PASS actualColor(9, 9)[2] is within 5 of 0 | |
| 44 PASS actualColor(9, 9)[3] is within 5 of 0 | |
| 45 | |
| 46 Testing blend mode darken | |
| 47 PASS actualColor(0, 1)[0] is within 5 of 129 | |
| 48 PASS actualColor(0, 1)[1] is within 5 of 129 | |
| 49 PASS actualColor(0, 1)[2] is within 5 of 129 | |
| 50 PASS actualColor(0, 1)[3] is within 5 of 255 | |
| 51 PASS actualColor(9, 9)[0] is within 5 of 0 | |
| 52 PASS actualColor(9, 9)[1] is within 5 of 0 | |
| 53 PASS actualColor(9, 9)[2] is within 5 of 0 | |
| 54 PASS actualColor(9, 9)[3] is within 5 of 0 | |
| 55 | |
| 56 Testing blend mode lighten | |
| 57 PASS actualColor(0, 1)[0] is within 5 of 255 | |
| 58 PASS actualColor(0, 1)[1] is within 5 of 255 | |
| 59 PASS actualColor(0, 1)[2] is within 5 of 129 | |
| 60 PASS actualColor(0, 1)[3] is within 5 of 255 | |
| 61 PASS actualColor(9, 9)[0] is within 5 of 0 | |
| 62 PASS actualColor(9, 9)[1] is within 5 of 0 | |
| 63 PASS actualColor(9, 9)[2] is within 5 of 0 | |
| 64 PASS actualColor(9, 9)[3] is within 5 of 0 | |
| 65 | |
| 66 Testing blend mode color-dodge | |
| 67 PASS actualColor(0, 1)[0] is within 5 of 255 | |
| 68 PASS actualColor(0, 1)[1] is within 5 of 255 | |
| 69 PASS actualColor(0, 1)[2] is within 5 of 255 | |
| 70 PASS actualColor(0, 1)[3] is within 5 of 255 | |
| 71 PASS actualColor(9, 9)[0] is within 5 of 0 | |
| 72 PASS actualColor(9, 9)[1] is within 5 of 0 | |
| 73 PASS actualColor(9, 9)[2] is within 5 of 0 | |
| 74 PASS actualColor(9, 9)[3] is within 5 of 0 | |
| 75 | |
| 76 Testing blend mode color-burn | |
| 77 PASS actualColor(0, 1)[0] is within 5 of 129 | |
| 78 PASS actualColor(0, 1)[1] is within 5 of 255 | |
| 79 PASS actualColor(0, 1)[2] is within 5 of 5.930232558139517 | |
| 80 PASS actualColor(0, 1)[3] is within 5 of 255 | |
| 81 PASS actualColor(9, 9)[0] is within 5 of 0 | |
| 82 PASS actualColor(9, 9)[1] is within 5 of 0 | |
| 83 PASS actualColor(9, 9)[2] is within 5 of 0 | |
| 84 PASS actualColor(9, 9)[3] is within 5 of 0 | |
| 85 | |
| 86 Testing blend mode hard-light | |
| 87 PASS actualColor(0, 1)[0] is within 5 of 255 | |
| 88 PASS actualColor(0, 1)[1] is within 5 of 255 | |
| 89 PASS actualColor(0, 1)[2] is within 5 of 130.48235294117646 | |
| 90 PASS actualColor(0, 1)[3] is within 5 of 255 | |
| 91 PASS actualColor(9, 9)[0] is within 5 of 0 | |
| 92 PASS actualColor(9, 9)[1] is within 5 of 0 | |
| 93 PASS actualColor(9, 9)[2] is within 5 of 0 | |
| 94 PASS actualColor(9, 9)[3] is within 5 of 0 | |
| 95 | |
| 96 Testing blend mode soft-light | |
| 97 PASS actualColor(0, 1)[0] is within 5 of 181.3697880023021 | |
| 98 PASS actualColor(0, 1)[1] is within 5 of 255 | |
| 99 PASS actualColor(0, 1)[2] is within 5 of 129.61611515296823 | |
| 100 PASS actualColor(0, 1)[3] is within 5 of 255 | |
| 101 PASS actualColor(9, 9)[0] is within 5 of 0 | |
| 102 PASS actualColor(9, 9)[1] is within 5 of 0 | |
| 103 PASS actualColor(9, 9)[2] is within 5 of 0 | |
| 104 PASS actualColor(9, 9)[3] is within 5 of 0 | |
| 105 | |
| 106 Testing blend mode difference | |
| 107 PASS actualColor(0, 1)[0] is within 5 of 126 | |
| 108 PASS actualColor(0, 1)[1] is within 5 of 126 | |
| 109 PASS actualColor(0, 1)[2] is within 5 of 0 | |
| 110 PASS actualColor(0, 1)[3] is within 5 of 255 | |
| 111 PASS actualColor(9, 9)[0] is within 5 of 0 | |
| 112 PASS actualColor(9, 9)[1] is within 5 of 0 | |
| 113 PASS actualColor(9, 9)[2] is within 5 of 0 | |
| 114 PASS actualColor(9, 9)[3] is within 5 of 0 | |
| 115 | |
| 116 Testing blend mode exclusion | |
| 117 PASS actualColor(0, 1)[0] is within 5 of 126 | |
| 118 PASS actualColor(0, 1)[1] is within 5 of 126 | |
| 119 PASS actualColor(0, 1)[2] is within 5 of 127.48235294117649 | |
| 120 PASS actualColor(0, 1)[3] is within 5 of 255 | |
| 121 PASS actualColor(9, 9)[0] is within 5 of 0 | |
| 122 PASS actualColor(9, 9)[1] is within 5 of 0 | |
| 123 PASS actualColor(9, 9)[2] is within 5 of 0 | |
| 124 PASS actualColor(9, 9)[3] is within 5 of 0 | |
| 125 | |
| 126 Testing blend mode hue | |
| 127 PASS actualColor(0, 1)[0] is within 5 of 255 | |
| 128 PASS actualColor(0, 1)[1] is within 5 of 181 | |
| 129 PASS actualColor(0, 1)[2] is within 5 of 181 | |
| 130 PASS actualColor(0, 1)[3] is within 5 of 255 | |
| 131 PASS actualColor(9, 9)[0] is within 5 of 0 | |
| 132 PASS actualColor(9, 9)[1] is within 5 of 0 | |
| 133 PASS actualColor(9, 9)[2] is within 5 of 0 | |
| 134 PASS actualColor(9, 9)[3] is within 5 of 0 | |
| 135 | |
| 136 Testing blend mode saturation | |
| 137 PASS actualColor(0, 1)[0] is within 5 of 129 | |
| 138 PASS actualColor(0, 1)[1] is within 5 of 255 | |
| 139 PASS actualColor(0, 1)[2] is within 5 of 129 | |
| 140 PASS actualColor(0, 1)[3] is within 5 of 255 | |
| 141 PASS actualColor(9, 9)[0] is within 5 of 0 | |
| 142 PASS actualColor(9, 9)[1] is within 5 of 0 | |
| 143 PASS actualColor(9, 9)[2] is within 5 of 0 | |
| 144 PASS actualColor(9, 9)[3] is within 5 of 0 | |
| 145 | |
| 146 Testing blend mode color | |
| 147 PASS actualColor(0, 1)[0] is within 5 of 255 | |
| 148 PASS actualColor(0, 1)[1] is within 5 of 181 | |
| 149 PASS actualColor(0, 1)[2] is within 5 of 181 | |
| 150 PASS actualColor(0, 1)[3] is within 5 of 255 | |
| 151 PASS actualColor(9, 9)[0] is within 5 of 0 | |
| 152 PASS actualColor(9, 9)[1] is within 5 of 0 | |
| 153 PASS actualColor(9, 9)[2] is within 5 of 0 | |
| 154 PASS actualColor(9, 9)[3] is within 5 of 0 | |
| 155 | |
| 156 Testing blend mode luminosity | |
| 157 PASS actualColor(0, 1)[0] is within 5 of 92 | |
| 158 PASS actualColor(0, 1)[1] is within 5 of 218 | |
| 159 PASS actualColor(0, 1)[2] is within 5 of 92 | |
| 160 PASS actualColor(0, 1)[3] is within 5 of 255 | |
| 161 PASS actualColor(9, 9)[0] is within 5 of 0 | |
| 162 PASS actualColor(9, 9)[1] is within 5 of 0 | |
| 163 PASS actualColor(9, 9)[2] is within 5 of 0 | |
| 164 PASS actualColor(9, 9)[3] is within 5 of 0 | |
| 165 | |
| 166 PASS successfullyParsed is true | |
| 167 | |
| 168 TEST COMPLETE | |
| 169 | |
| OLD | NEW |