Bug 225349
| Summary: | Add reset function to CanvasRenderingContext2D | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Aaron Krajeski <aaronhk> |
| Component: | Canvas | Assignee: | Said Abou-Hallawa <sabouhallawa> |
| Status: | RESOLVED FIXED | ||
| Severity: | Enhancement | CC: | ben_schwartz, dino, kiet.ho, Morningstar, simon.fraser, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=268745 | ||
| Bug Depends on: | 260014, 261296 | ||
| Bug Blocks: | |||
Aaron Krajeski
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/77842434>
Kiet Ho
Pull request: https://github.com/WebKit/WebKit/pull/16408
EWS
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
*** Bug 261231 has been marked as a duplicate of this bug. ***
Said Abou-Hallawa
*** Bug 260986 has been marked as a duplicate of this bug. ***