CanvasRenderingContext2D.reset() makes writing for HTML canvas SO much easier. Is Firefox likely to follow Chrome,Opera and Edge in compatibility with this addition made to the Canvas 2D API?
Spec issue https://github.com/whatwg/html/issues/5618
PR https://github.com/whatwg/html/pull/6639 (Firefox, as an implementer is interested)
MDN: https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/reset
So, it looks this feature is on its way to Firefox.
Patch for CanvasRenderingContext2D.reset() landed yesterday!
https://bugzilla.mozilla.org/show_bug.cgi?id=1709347
Honza
Hey all,
This is being worked on — in fact, a patch for CanvasRenderingContext2D.reset() landed yesterday 🙌
Check out @Honza's comments in this thread for more info and stay tuned for updates.
I was wondering the same, because I need the feature right now for a customer.
From the link it seems like it will be in Firefox 113. You can see release dates in the release calendar: https://wiki.mozilla.org/Release_Management/Calendar
So it's already in the nightly build and should be released next month in the stable build.
I tested the nightly build and it works.
Brilliant! Great move from the Firefox team 😊
Correct, Firefox 113 is the target.
Thank you for testing!
never-displayed