2d.text.draw.fill.maxWidth.fontface

fillText works on @font-face fonts

A

Actual output:

FAIL (fallback content)

Expected output:

Summary

Harness status: OK

Found 1 tests

Details

ResultTest NameMessage
PassfillText works on @font-face fonts
Asserts run
Pass
assert_approx_equals(0, 0, 2, "Red channel of the pixel at (5, 5)")
    at _assertPixelApprox ( /html/canvas/resources/canvas-tests.js:47:5)
Pass
assert_approx_equals(255, 255, 2, "Green channel of the pixel at (5, 5)")
    at _assertPixelApprox ( /html/canvas/resources/canvas-tests.js:48:5)
Pass
assert_approx_equals(0, 0, 2, "Blue channel of the pixel at (5, 5)")
    at _assertPixelApprox ( /html/canvas/resources/canvas-tests.js:49:5)
Pass
assert_approx_equals(255, 255, 2, "Alpha channel of the pixel at (5, 5)")
    at _assertPixelApprox ( /html/canvas/resources/canvas-tests.js:50:5)
Pass
assert_approx_equals(0, 0, 2, "Red channel of the pixel at (95, 5)")
    at _assertPixelApprox ( /html/canvas/resources/canvas-tests.js:47:5)
Pass
assert_approx_equals(255, 255, 2, "Green channel of the pixel at (95, 5)")
    at _assertPixelApprox ( /html/canvas/resources/canvas-tests.js:48:5)
Pass
assert_approx_equals(0, 0, 2, "Blue channel of the pixel at (95, 5)")
    at _assertPixelApprox ( /html/canvas/resources/canvas-tests.js:49:5)
Pass
assert_approx_equals(255, 255, 2, "Alpha channel of the pixel at (95, 5)")
    at _assertPixelApprox ( /html/canvas/resources/canvas-tests.js:50:5)
Pass
assert_approx_equals(0, 0, 2, "Red channel of the pixel at (25, 25)")
    at _assertPixelApprox ( /html/canvas/resources/canvas-tests.js:47:5)
Pass
assert_approx_equals(255, 255, 2, "Green channel of the pixel at (25, 25)")
    at _assertPixelApprox ( /html/canvas/resources/canvas-tests.js:48:5)
Pass
assert_approx_equals(0, 0, 2, "Blue channel of the pixel at (25, 25)")
    at _assertPixelApprox ( /html/canvas/resources/canvas-tests.js:49:5)
Pass
assert_approx_equals(255, 255, 2, "Alpha channel of the pixel at (25, 25)")
    at _assertPixelApprox ( /html/canvas/resources/canvas-tests.js:50:5)
Pass
assert_approx_equals(0, 0, 2, "Red channel of the pixel at (75, 25)")
    at _assertPixelApprox ( /html/canvas/resources/canvas-tests.js:47:5)
Pass
assert_approx_equals(255, 255, 2, "Green channel of the pixel at (75, 25)")
    at _assertPixelApprox ( /html/canvas/resources/canvas-tests.js:48:5)
Pass
assert_approx_equals(0, 0, 2, "Blue channel of the pixel at (75, 25)")
    at _assertPixelApprox ( /html/canvas/resources/canvas-tests.js:49:5)
Pass
assert_approx_equals(255, 255, 2, "Alpha channel of the pixel at (75, 25)")
    at _assertPixelApprox ( /html/canvas/resources/canvas-tests.js:50:5)