RESOLVED FIXED 225349
Add reset function to CanvasRenderingContext2D
https://bugs.webkit.org/show_bug.cgi?id=225349
Summary Add reset function to CanvasRenderingContext2D
Aaron Krajeski
Reported 2021-05-04 06:41:30 PDT
Add CanvasRenderingContext2D.reset(), which resets the rendering context, which includes the backing buffer, the drawing state stack, path, and styles. This is soon to be added to the WHATWG spec https://github.com/whatwg/html/pull/6639 Chromium bug: crbug.com/1131137 Web Platform Tests: https://github.com/web-platform-tests/wpt/tree/master/html/canvas/element/reset
Attachments
Radar WebKit Bug Importer
Comment 1 2021-05-11 06:42:15 PDT
Kiet Ho
Comment 2 2023-08-04 15:36:47 PDT
EWS
Comment 3 2023-09-08 23:23:06 PDT
Committed 267824@main (65dc23bfda96): <https://commits.webkit.org/267824@main> Reviewed commits have been landed. Closing PR #16408 and removing active labels.
Said Abou-Hallawa
Comment 4 2023-09-11 12:17:49 PDT
*** Bug 261231 has been marked as a duplicate of this bug. ***
Said Abou-Hallawa
Comment 5 2023-09-20 14:51:53 PDT
*** Bug 260986 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.