rustwasm / wasm-bindgen

Facilitating high-level interactions between Wasm modules and JavaScript

Home Page:https://rustwasm.github.io/docs/wasm-bindgen/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing implementation of reset method on CanvasRenderingContext2D and OffscreenCanvasRenderingContext2d

Nul-led opened this issue · comments

Describe the Bug

CanvasState.reset is not implemented for web_sys::CanvasRenderingContext2d and web_sys::OffscreenCanvasRenderingContext2d.

Steps to Reproduce

None

Expected Behavior

web_sys::CanvasRenderingContext2d::reset and web_sys::OffscreenCanvasRenderingContext2d::reset should exist as per specification.

Actual Behavior

The method mentioned above is not implemented.

Additional Context

None

Happy to review a PR!

See the wasm-bindgen Book on how to contribute Web APIs.