2d.state.saverestore.shadowColor.html

FAILExpected2 of 4 subtests pass367 ms

Details

Test
/html/canvas/element/the-canvas-state/2d.state.saverestore.shadowColor.html
Harness
OK

Subtests

StatusSubtestMessage
FAILsave()/restore() restores shadowColor, for a canvas of size (300, 150).
assert_equals: ctx.shadowColor === old (got #ff0000[string], expected [undefined]) expected (undefined) undefined but got (string) "#ff0000"
assert_equals: ctx.shadowColor === old (got #ff0000[string], expected [undefined]) expected (undefined) undefined but got (string) "#ff0000"
PASSsave() does not modify shadowColor, for a canvas of size (300, 150).
FAILsave()/restore() restores shadowColor, for a canvas of size (0, 0).
assert_equals: ctx.shadowColor === old (got #ff0000[string], expected [undefined]) expected (undefined) undefined but got (string) "#ff0000"
assert_equals: ctx.shadowColor === old (got #ff0000[string], expected [undefined]) expected (undefined) undefined but got (string) "#ff0000"
PASSsave() does not modify shadowColor, for a canvas of size (0, 0).