Bug 227280 - Add support to canvas rendering context lost
Summary: Add support to canvas rendering context lost
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Canvas (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: FromImplementor, InRadar
Depends on:
Blocks:
 
Reported: 2021-06-22 23:27 PDT by Yi Xu
Modified: 2021-06-29 23:28 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yi Xu 2021-06-22 23:27:16 PDT
explainer: https://github.com/fserb/canvas2D/blob/master/spec/context-loss.md

This is a long standing request from developers. It's particularly useful on Mobile, where context lost is more common. We have discuss the potential to support in canvas and received approval from webkit (https://github.com/whatwg/html/issues/4809#issuecomment-641546468) and firefox (https://github.com/whatwg/html/issues/4809#issuecomment-640961008)
(note that kenrussell's comment at https://github.com/whatwg/html/issues/4809#issuecomment-698018630 explains why we need both context lost and context restored events ).

I am filling this implementation bug for firefox to support it in the future.
Comment 1 Radar WebKit Bug Importer 2021-06-29 23:28:15 PDT
<rdar://problem/79952128>