2d.state.saverestore.shadowColor.html
Details
- Test
/html/canvas/element/the-canvas-state/2d.state.saverestore.shadowColor.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| FAIL | save()/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" |
| PASS | save() does not modify shadowColor, for a canvas of size (300, 150). |
| FAIL | save()/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" |
| PASS | save() does not modify shadowColor, for a canvas of size (0, 0). |