2d.text.measure.baselines

Testing baselines

A

Actual output:

FAIL (fallback content)

Summary

Harness status: OK

Found 1 tests

Details

ResultTest NameMessage
FailTesting baselinesassert_equals: ctx.measureText('A').ideographicBaseline === 6.25 (got -12[number], expected 6.25[number]) expected 6.25 but got -12
    at _assertSame (http://www2.wpt.live/html/canvas/resources/canvas-tests.js:17:5)
    at Test.<anonymous> (http://www2.wpt.live/html/canvas/element/text/2d.text.measure.baselines.html:37:3)
Asserts run
Pass
assert_equals(0, 0, "Math.abs(ctx.measureText('A').alphabeticBaseline) === 0 (got 0[number], expected 0[number])")
    at _assertSame ( /html/canvas/resources/canvas-tests.js:17:5)
Fail
assert_equals(-12, 6.25, "ctx.measureText('A').ideographicBaseline === 6.25 (got -12[number], expected 6.25[number])")
    at _assertSame ( /html/canvas/resources/canvas-tests.js:17:5)