cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
germac
New member
Status: In development

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?

6 Comments
Honza
Employee
Employee

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. 

 

Honza
Employee
Employee

Patch for CanvasRenderingContext2D.reset() landed yesterday!

https://bugzilla.mozilla.org/show_bug.cgi?id=1709347

Honza

 

Status changed to: In development
Jon
Community Manager
Community Manager

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.

j1
New member

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.

germac
New member

Brilliant! Great move from the Firefox team 😊

Honza
Employee
Employee

Correct, Firefox 113 is the target.

Thank you for testing!