Pass | toDataURL with PNG handles non-primary and non-solid colours correctly | Asserts runPass | assert_equals(1, 1, "Red channel of the pixel at (12, 40)")
at _assertPixel ( /html/canvas/resources/canvas-tests.js:38:5) | Pass | assert_equals(3, 3, "Green channel of the pixel at (12, 40)")
at _assertPixel ( /html/canvas/resources/canvas-tests.js:39:5) | Pass | assert_equals(254, 254, "Blue channel of the pixel at (12, 40)")
at _assertPixel ( /html/canvas/resources/canvas-tests.js:40:5) | Pass | assert_equals(255, 255, "Alpha channel of the pixel at (12, 40)")
at _assertPixel ( /html/canvas/resources/canvas-tests.js:41:5) | Pass | assert_approx_equals(8, 8, 2, "Red channel of the pixel at (37, 40)")
at _assertPixelApprox ( /html/canvas/resources/canvas-tests.js:47:5) | Pass | assert_approx_equals(252, 252, 2, "Green channel of the pixel at (37, 40)")
at _assertPixelApprox ( /html/canvas/resources/canvas-tests.js:48:5) | Pass | assert_approx_equals(248, 248, 2, "Blue channel of the pixel at (37, 40)")
at _assertPixelApprox ( /html/canvas/resources/canvas-tests.js:49:5) | Pass | assert_approx_equals(191, 191, 2, "Alpha channel of the pixel at (37, 40)")
at _assertPixelApprox ( /html/canvas/resources/canvas-tests.js:50:5) | Pass | assert_approx_equals(6, 6, 4, "Red channel of the pixel at (62, 40)")
at _assertPixelApprox ( /html/canvas/resources/canvas-tests.js:47:5) | Pass | assert_approx_equals(10, 10, 4, "Green channel of the pixel at (62, 40)")
at _assertPixelApprox ( /html/canvas/resources/canvas-tests.js:48:5) | Pass | assert_approx_equals(249, 250, 4, "Blue channel of the pixel at (62, 40)")
at _assertPixelApprox ( /html/canvas/resources/canvas-tests.js:49:5) | Pass | assert_approx_equals(128, 127, 4, "Alpha channel of the pixel at (62, 40)")
at _assertPixelApprox ( /html/canvas/resources/canvas-tests.js:50:5) | Pass | assert_approx_equals(12, 12, 8, "Red channel of the pixel at (87, 40)")
at _assertPixelApprox ( /html/canvas/resources/canvas-tests.js:47:5) | Pass | assert_approx_equals(16, 16, 8, "Green channel of the pixel at (87, 40)")
at _assertPixelApprox ( /html/canvas/resources/canvas-tests.js:48:5) | Pass | assert_approx_equals(243, 244, 8, "Blue channel of the pixel at (87, 40)")
at _assertPixelApprox ( /html/canvas/resources/canvas-tests.js:49:5) | Pass | assert_approx_equals(64, 63, 8, "Alpha channel of the pixel at (87, 40)")
at _assertPixelApprox ( /html/canvas/resources/canvas-tests.js:50:5) |
|