--- /home/igalia/clopez/webkit/webkit/layout-test-results/fast/canvas/canvas-blending-clipping-expected.txt +++ /home/igalia/clopez/webkit/webkit/layout-test-results/fast/canvas/canvas-blending-clipping-actual.txt @@ -10,68 +10,180 @@ PASS actualColor(0, 0)[1] is within 5 of 0 PASS actualColor(0, 0)[2] is within 5 of 0 PASS actualColor(0, 0)[3] is within 5 of 0 +FAIL actualColor(5, 5)[0] should be within 5 of 255. Was 129. +PASS actualColor(5, 5)[1] is within 5 of 129 +FAIL actualColor(5, 5)[2] should be within 5 of 129. Was 255. +PASS actualColor(5, 5)[3] is within 5 of 255 + +Testing blend mode multiply +PASS actualColor(0, 0)[0] is within 5 of 0 +PASS actualColor(0, 0)[1] is within 5 of 0 +PASS actualColor(0, 0)[2] is within 5 of 0 +PASS actualColor(0, 0)[3] is within 5 of 0 +FAIL actualColor(5, 5)[0] should be within 5 of 129. Was 65. +PASS actualColor(5, 5)[1] is within 5 of 129 +FAIL actualColor(5, 5)[2] should be within 5 of 65.25882352941176. Was 129. +PASS actualColor(5, 5)[3] is within 5 of 255 + +Testing blend mode screen +PASS actualColor(0, 0)[0] is within 5 of 0 +PASS actualColor(0, 0)[1] is within 5 of 0 +PASS actualColor(0, 0)[2] is within 5 of 0 +PASS actualColor(0, 0)[3] is within 5 of 0 +FAIL actualColor(5, 5)[0] should be within 5 of 255. Was 193. +PASS actualColor(5, 5)[1] is within 5 of 255 +FAIL actualColor(5, 5)[2] should be within 5 of 192.74117647058821. Was 255. +PASS actualColor(5, 5)[3] is within 5 of 255 + +Testing blend mode overlay +PASS actualColor(0, 0)[0] is within 5 of 0 +PASS actualColor(0, 0)[1] is within 5 of 0 +PASS actualColor(0, 0)[2] is within 5 of 0 +PASS actualColor(0, 0)[3] is within 5 of 0 +FAIL actualColor(5, 5)[0] should be within 5 of 255. Was 130. +PASS actualColor(5, 5)[1] is within 5 of 255 +FAIL actualColor(5, 5)[2] should be within 5 of 130.48235294117646. Was 255. +PASS actualColor(5, 5)[3] is within 5 of 255 + +Testing blend mode darken +PASS actualColor(0, 0)[0] is within 5 of 0 +PASS actualColor(0, 0)[1] is within 5 of 0 +PASS actualColor(0, 0)[2] is within 5 of 0 +PASS actualColor(0, 0)[3] is within 5 of 0 +PASS actualColor(5, 5)[0] is within 5 of 129 +PASS actualColor(5, 5)[1] is within 5 of 129 +PASS actualColor(5, 5)[2] is within 5 of 129 +PASS actualColor(5, 5)[3] is within 5 of 255 + +Testing blend mode lighten +PASS actualColor(0, 0)[0] is within 5 of 0 +PASS actualColor(0, 0)[1] is within 5 of 0 +PASS actualColor(0, 0)[2] is within 5 of 0 +PASS actualColor(0, 0)[3] is within 5 of 0 +FAIL actualColor(5, 5)[0] should be within 5 of 255. Was 129. +PASS actualColor(5, 5)[1] is within 5 of 255 +FAIL actualColor(5, 5)[2] should be within 5 of 129. Was 255. +PASS actualColor(5, 5)[3] is within 5 of 255 + +Testing blend mode color-dodge +PASS actualColor(0, 0)[0] is within 5 of 0 +PASS actualColor(0, 0)[1] is within 5 of 0 +PASS actualColor(0, 0)[2] is within 5 of 0 +PASS actualColor(0, 0)[3] is within 5 of 0 PASS actualColor(5, 5)[0] is within 5 of 255 +PASS actualColor(5, 5)[1] is within 5 of 255 +PASS actualColor(5, 5)[2] is within 5 of 255 +PASS actualColor(5, 5)[3] is within 5 of 255 + +Testing blend mode color-burn +PASS actualColor(0, 0)[0] is within 5 of 0 +PASS actualColor(0, 0)[1] is within 5 of 0 +PASS actualColor(0, 0)[2] is within 5 of 0 +PASS actualColor(0, 0)[3] is within 5 of 0 +FAIL actualColor(5, 5)[0] should be within 5 of 129. Was 5. +PASS actualColor(5, 5)[1] is within 5 of 255 +FAIL actualColor(5, 5)[2] should be within 5 of 5.930232558139517. Was 129. +PASS actualColor(5, 5)[3] is within 5 of 255 + +Testing blend mode hard-light +PASS actualColor(0, 0)[0] is within 5 of 0 +PASS actualColor(0, 0)[1] is within 5 of 0 +PASS actualColor(0, 0)[2] is within 5 of 0 +PASS actualColor(0, 0)[3] is within 5 of 0 +FAIL actualColor(5, 5)[0] should be within 5 of 255. Was 130. +PASS actualColor(5, 5)[1] is within 5 of 255 +FAIL actualColor(5, 5)[2] should be within 5 of 130.48235294117646. Was 255. +PASS actualColor(5, 5)[3] is within 5 of 255 + +Testing blend mode difference +PASS actualColor(0, 0)[0] is within 5 of 0 +PASS actualColor(0, 0)[1] is within 5 of 0 +PASS actualColor(0, 0)[2] is within 5 of 0 +PASS actualColor(0, 0)[3] is within 5 of 0 +FAIL actualColor(5, 5)[0] should be within 5 of 126. Was 0. +PASS actualColor(5, 5)[1] is within 5 of 126 +FAIL actualColor(5, 5)[2] should be within 5 of 0. Was 126. +PASS actualColor(5, 5)[3] is within 5 of 255 + +Testing blend mode exclusion +PASS actualColor(0, 0)[0] is within 5 of 0 +PASS actualColor(0, 0)[1] is within 5 of 0 +PASS actualColor(0, 0)[2] is within 5 of 0 +PASS actualColor(0, 0)[3] is within 5 of 0 +PASS actualColor(5, 5)[0] is within 5 of 126 +PASS actualColor(5, 5)[1] is within 5 of 126 +PASS actualColor(5, 5)[2] is within 5 of 127.48235294117649 +PASS actualColor(5, 5)[3] is within 5 of 255 + +Running test in hardware accelerated mode + +Testing blend mode source-over +PASS actualColor(0, 0)[0] is within 5 of 0 +PASS actualColor(0, 0)[1] is within 5 of 0 +PASS actualColor(0, 0)[2] is within 5 of 0 +PASS actualColor(0, 0)[3] is within 5 of 0 +FAIL actualColor(5, 5)[0] should be within 5 of 255. Was 129. +PASS actualColor(5, 5)[1] is within 5 of 129 +FAIL actualColor(5, 5)[2] should be within 5 of 129. Was 255. +PASS actualColor(5, 5)[3] is within 5 of 255 + +Testing blend mode multiply +PASS actualColor(0, 0)[0] is within 5 of 0 +PASS actualColor(0, 0)[1] is within 5 of 0 +PASS actualColor(0, 0)[2] is within 5 of 0 +PASS actualColor(0, 0)[3] is within 5 of 0 +FAIL actualColor(5, 5)[0] should be within 5 of 129. Was 65. +PASS actualColor(5, 5)[1] is within 5 of 129 +FAIL actualColor(5, 5)[2] should be within 5 of 65.25882352941176. Was 129. +PASS actualColor(5, 5)[3] is within 5 of 255 + +Testing blend mode screen +PASS actualColor(0, 0)[0] is within 5 of 0 +PASS actualColor(0, 0)[1] is within 5 of 0 +PASS actualColor(0, 0)[2] is within 5 of 0 +PASS actualColor(0, 0)[3] is within 5 of 0 +FAIL actualColor(5, 5)[0] should be within 5 of 255. Was 193. +PASS actualColor(5, 5)[1] is within 5 of 255 +FAIL actualColor(5, 5)[2] should be within 5 of 192.74117647058821. Was 255. +PASS actualColor(5, 5)[3] is within 5 of 255 + +Testing blend mode overlay +PASS actualColor(0, 0)[0] is within 5 of 0 +PASS actualColor(0, 0)[1] is within 5 of 0 +PASS actualColor(0, 0)[2] is within 5 of 0 +PASS actualColor(0, 0)[3] is within 5 of 0 +FAIL actualColor(5, 5)[0] should be within 5 of 255. Was 130. +PASS actualColor(5, 5)[1] is within 5 of 255 +FAIL actualColor(5, 5)[2] should be within 5 of 130.48235294117646. Was 255. +PASS actualColor(5, 5)[3] is within 5 of 255 + +Testing blend mode darken +PASS actualColor(0, 0)[0] is within 5 of 0 +PASS actualColor(0, 0)[1] is within 5 of 0 +PASS actualColor(0, 0)[2] is within 5 of 0 +PASS actualColor(0, 0)[3] is within 5 of 0 +PASS actualColor(5, 5)[0] is within 5 of 129 PASS actualColor(5, 5)[1] is within 5 of 129 PASS actualColor(5, 5)[2] is within 5 of 129 PASS actualColor(5, 5)[3] is within 5 of 255 -Testing blend mode multiply -PASS actualColor(0, 0)[0] is within 5 of 0 -PASS actualColor(0, 0)[1] is within 5 of 0 -PASS actualColor(0, 0)[2] is within 5 of 0 -PASS actualColor(0, 0)[3] is within 5 of 0 -PASS actualColor(5, 5)[0] is within 5 of 129 -PASS actualColor(5, 5)[1] is within 5 of 129 -PASS actualColor(5, 5)[2] is within 5 of 65.25882352941176 -PASS actualColor(5, 5)[3] is within 5 of 255 - -Testing blend mode screen +Testing blend mode lighten +PASS actualColor(0, 0)[0] is within 5 of 0 +PASS actualColor(0, 0)[1] is within 5 of 0 +PASS actualColor(0, 0)[2] is within 5 of 0 +PASS actualColor(0, 0)[3] is within 5 of 0 +FAIL actualColor(5, 5)[0] should be within 5 of 255. Was 129. +PASS actualColor(5, 5)[1] is within 5 of 255 +FAIL actualColor(5, 5)[2] should be within 5 of 129. Was 255. +PASS actualColor(5, 5)[3] is within 5 of 255 + +Testing blend mode color-dodge PASS actualColor(0, 0)[0] is within 5 of 0 PASS actualColor(0, 0)[1] is within 5 of 0 PASS actualColor(0, 0)[2] is within 5 of 0 PASS actualColor(0, 0)[3] is within 5 of 0 PASS actualColor(5, 5)[0] is within 5 of 255 PASS actualColor(5, 5)[1] is within 5 of 255 -PASS actualColor(5, 5)[2] is within 5 of 192.74117647058821 -PASS actualColor(5, 5)[3] is within 5 of 255 - -Testing blend mode overlay -PASS actualColor(0, 0)[0] is within 5 of 0 -PASS actualColor(0, 0)[1] is within 5 of 0 -PASS actualColor(0, 0)[2] is within 5 of 0 -PASS actualColor(0, 0)[3] is within 5 of 0 -PASS actualColor(5, 5)[0] is within 5 of 255 -PASS actualColor(5, 5)[1] is within 5 of 255 -PASS actualColor(5, 5)[2] is within 5 of 130.48235294117646 -PASS actualColor(5, 5)[3] is within 5 of 255 - -Testing blend mode darken -PASS actualColor(0, 0)[0] is within 5 of 0 -PASS actualColor(0, 0)[1] is within 5 of 0 -PASS actualColor(0, 0)[2] is within 5 of 0 -PASS actualColor(0, 0)[3] is within 5 of 0 -PASS actualColor(5, 5)[0] is within 5 of 129 -PASS actualColor(5, 5)[1] is within 5 of 129 -PASS actualColor(5, 5)[2] is within 5 of 129 -PASS actualColor(5, 5)[3] is within 5 of 255 - -Testing blend mode lighten -PASS actualColor(0, 0)[0] is within 5 of 0 -PASS actualColor(0, 0)[1] is within 5 of 0 -PASS actualColor(0, 0)[2] is within 5 of 0 -PASS actualColor(0, 0)[3] is within 5 of 0 -PASS actualColor(5, 5)[0] is within 5 of 255 -PASS actualColor(5, 5)[1] is within 5 of 255 -PASS actualColor(5, 5)[2] is within 5 of 129 -PASS actualColor(5, 5)[3] is within 5 of 255 - -Testing blend mode color-dodge -PASS actualColor(0, 0)[0] is within 5 of 0 -PASS actualColor(0, 0)[1] is within 5 of 0 -PASS actualColor(0, 0)[2] is within 5 of 0 -PASS actualColor(0, 0)[3] is within 5 of 0 -PASS actualColor(5, 5)[0] is within 5 of 255 -PASS actualColor(5, 5)[1] is within 5 of 255 PASS actualColor(5, 5)[2] is within 5 of 255 PASS actualColor(5, 5)[3] is within 5 of 255 @@ -80,9 +192,9 @@ PASS actualColor(0, 0)[1] is within 5 of 0 PASS actualColor(0, 0)[2] is within 5 of 0 PASS actualColor(0, 0)[3] is within 5 of 0 -PASS actualColor(5, 5)[0] is within 5 of 129 -PASS actualColor(5, 5)[1] is within 5 of 255 -PASS actualColor(5, 5)[2] is within 5 of 5.930232558139517 +FAIL actualColor(5, 5)[0] should be within 5 of 129. Was 5. +PASS actualColor(5, 5)[1] is within 5 of 255 +FAIL actualColor(5, 5)[2] should be within 5 of 5.930232558139517. Was 129. PASS actualColor(5, 5)[3] is within 5 of 255 Testing blend mode hard-light @@ -90,9 +202,9 @@ PASS actualColor(0, 0)[1] is within 5 of 0 PASS actualColor(0, 0)[2] is within 5 of 0 PASS actualColor(0, 0)[3] is within 5 of 0 -PASS actualColor(5, 5)[0] is within 5 of 255 -PASS actualColor(5, 5)[1] is within 5 of 255 -PASS actualColor(5, 5)[2] is within 5 of 130.48235294117646 +FAIL actualColor(5, 5)[0] should be within 5 of 255. Was 130. +PASS actualColor(5, 5)[1] is within 5 of 255 +FAIL actualColor(5, 5)[2] should be within 5 of 130.48235294117646. Was 255. PASS actualColor(5, 5)[3] is within 5 of 255 Testing blend mode difference @@ -100,133 +212,21 @@ PASS actualColor(0, 0)[1] is within 5 of 0 PASS actualColor(0, 0)[2] is within 5 of 0 PASS actualColor(0, 0)[3] is within 5 of 0 +FAIL actualColor(5, 5)[0] should be within 5 of 126. Was 0. +PASS actualColor(5, 5)[1] is within 5 of 126 +FAIL actualColor(5, 5)[2] should be within 5 of 0. Was 126. +PASS actualColor(5, 5)[3] is within 5 of 255 + +Testing blend mode exclusion +PASS actualColor(0, 0)[0] is within 5 of 0 +PASS actualColor(0, 0)[1] is within 5 of 0 +PASS actualColor(0, 0)[2] is within 5 of 0 +PASS actualColor(0, 0)[3] is within 5 of 0 PASS actualColor(5, 5)[0] is within 5 of 126 PASS actualColor(5, 5)[1] is within 5 of 126 -PASS actualColor(5, 5)[2] is within 5 of 0 -PASS actualColor(5, 5)[3] is within 5 of 255 - -Testing blend mode exclusion -PASS actualColor(0, 0)[0] is within 5 of 0 -PASS actualColor(0, 0)[1] is within 5 of 0 -PASS actualColor(0, 0)[2] is within 5 of 0 -PASS actualColor(0, 0)[3] is within 5 of 0 -PASS actualColor(5, 5)[0] is within 5 of 126 -PASS actualColor(5, 5)[1] is within 5 of 126 PASS actualColor(5, 5)[2] is within 5 of 127.48235294117649 PASS actualColor(5, 5)[3] is within 5 of 255 -Running test in hardware accelerated mode - -Testing blend mode source-over -PASS actualColor(0, 0)[0] is within 5 of 0 -PASS actualColor(0, 0)[1] is within 5 of 0 -PASS actualColor(0, 0)[2] is within 5 of 0 -PASS actualColor(0, 0)[3] is within 5 of 0 -PASS actualColor(5, 5)[0] is within 5 of 255 -PASS actualColor(5, 5)[1] is within 5 of 129 -PASS actualColor(5, 5)[2] is within 5 of 129 -PASS actualColor(5, 5)[3] is within 5 of 255 - -Testing blend mode multiply -PASS actualColor(0, 0)[0] is within 5 of 0 -PASS actualColor(0, 0)[1] is within 5 of 0 -PASS actualColor(0, 0)[2] is within 5 of 0 -PASS actualColor(0, 0)[3] is within 5 of 0 -PASS actualColor(5, 5)[0] is within 5 of 129 -PASS actualColor(5, 5)[1] is within 5 of 129 -PASS actualColor(5, 5)[2] is within 5 of 65.25882352941176 -PASS actualColor(5, 5)[3] is within 5 of 255 - -Testing blend mode screen -PASS actualColor(0, 0)[0] is within 5 of 0 -PASS actualColor(0, 0)[1] is within 5 of 0 -PASS actualColor(0, 0)[2] is within 5 of 0 -PASS actualColor(0, 0)[3] is within 5 of 0 -PASS actualColor(5, 5)[0] is within 5 of 255 -PASS actualColor(5, 5)[1] is within 5 of 255 -PASS actualColor(5, 5)[2] is within 5 of 192.74117647058821 -PASS actualColor(5, 5)[3] is within 5 of 255 - -Testing blend mode overlay -PASS actualColor(0, 0)[0] is within 5 of 0 -PASS actualColor(0, 0)[1] is within 5 of 0 -PASS actualColor(0, 0)[2] is within 5 of 0 -PASS actualColor(0, 0)[3] is within 5 of 0 -PASS actualColor(5, 5)[0] is within 5 of 255 -PASS actualColor(5, 5)[1] is within 5 of 255 -PASS actualColor(5, 5)[2] is within 5 of 130.48235294117646 -PASS actualColor(5, 5)[3] is within 5 of 255 - -Testing blend mode darken -PASS actualColor(0, 0)[0] is within 5 of 0 -PASS actualColor(0, 0)[1] is within 5 of 0 -PASS actualColor(0, 0)[2] is within 5 of 0 -PASS actualColor(0, 0)[3] is within 5 of 0 -PASS actualColor(5, 5)[0] is within 5 of 129 -PASS actualColor(5, 5)[1] is within 5 of 129 -PASS actualColor(5, 5)[2] is within 5 of 129 -PASS actualColor(5, 5)[3] is within 5 of 255 - -Testing blend mode lighten -PASS actualColor(0, 0)[0] is within 5 of 0 -PASS actualColor(0, 0)[1] is within 5 of 0 -PASS actualColor(0, 0)[2] is within 5 of 0 -PASS actualColor(0, 0)[3] is within 5 of 0 -PASS actualColor(5, 5)[0] is within 5 of 255 -PASS actualColor(5, 5)[1] is within 5 of 255 -PASS actualColor(5, 5)[2] is within 5 of 129 -PASS actualColor(5, 5)[3] is within 5 of 255 - -Testing blend mode color-dodge -PASS actualColor(0, 0)[0] is within 5 of 0 -PASS actualColor(0, 0)[1] is within 5 of 0 -PASS actualColor(0, 0)[2] is within 5 of 0 -PASS actualColor(0, 0)[3] is within 5 of 0 -PASS actualColor(5, 5)[0] is within 5 of 255 -PASS actualColor(5, 5)[1] is within 5 of 255 -PASS actualColor(5, 5)[2] is within 5 of 255 -PASS actualColor(5, 5)[3] is within 5 of 255 - -Testing blend mode color-burn -PASS actualColor(0, 0)[0] is within 5 of 0 -PASS actualColor(0, 0)[1] is within 5 of 0 -PASS actualColor(0, 0)[2] is within 5 of 0 -PASS actualColor(0, 0)[3] is within 5 of 0 -PASS actualColor(5, 5)[0] is within 5 of 129 -PASS actualColor(5, 5)[1] is within 5 of 255 -PASS actualColor(5, 5)[2] is within 5 of 5.930232558139517 -PASS actualColor(5, 5)[3] is within 5 of 255 - -Testing blend mode hard-light -PASS actualColor(0, 0)[0] is within 5 of 0 -PASS actualColor(0, 0)[1] is within 5 of 0 -PASS actualColor(0, 0)[2] is within 5 of 0 -PASS actualColor(0, 0)[3] is within 5 of 0 -PASS actualColor(5, 5)[0] is within 5 of 255 -PASS actualColor(5, 5)[1] is within 5 of 255 -PASS actualColor(5, 5)[2] is within 5 of 130.48235294117646 -PASS actualColor(5, 5)[3] is within 5 of 255 - -Testing blend mode difference -PASS actualColor(0, 0)[0] is within 5 of 0 -PASS actualColor(0, 0)[1] is within 5 of 0 -PASS actualColor(0, 0)[2] is within 5 of 0 -PASS actualColor(0, 0)[3] is within 5 of 0 -PASS actualColor(5, 5)[0] is within 5 of 126 -PASS actualColor(5, 5)[1] is within 5 of 126 -PASS actualColor(5, 5)[2] is within 5 of 0 -PASS actualColor(5, 5)[3] is within 5 of 255 - -Testing blend mode exclusion -PASS actualColor(0, 0)[0] is within 5 of 0 -PASS actualColor(0, 0)[1] is within 5 of 0 -PASS actualColor(0, 0)[2] is within 5 of 0 -PASS actualColor(0, 0)[3] is within 5 of 0 -PASS actualColor(5, 5)[0] is within 5 of 126 -PASS actualColor(5, 5)[1] is within 5 of 126 -PASS actualColor(5, 5)[2] is within 5 of 127.48235294117649 -PASS actualColor(5, 5)[3] is within 5 of 255 - PASS successfullyParsed is true TEST COMPLETE