Updated functionality for the Canvas2D API. Adds eight new features/functions to CanvasRenderingContext2D:
- "ContextLost" and "ContextRestored" events
- "willReadFrequently" option for canvases where lots of readback is expected
- CSSColorValues as style inputs
- More CSS text modifier support
- A reset function
- A roundRect draw primitive
- Conic gradients
- Better support for SVG filters
Progress: Propose Closing
Security and privacy team expressed concerns with ContextLost and ContextRestored events during the intent to implement phase. These concerns were addressed by re-designing the event to not launch simultaneously across different contexts.
Gecko: In development (https://github.com/whatwg/html/issues/5431) Already implemented conic gradient. Okay with willReadFrequently, transforms and reset. Push back on filters.
WebKit: Positive (https://github.com/whatwg/html/issues/5619) Some push back on perspective transforms. Positive signal on text modifiers, round rect and color input.
Web developers: Positive (https://www.youtube.com/watch?v=dfOKFSDG7IM) CDN talk in December was received very positively.
This intent message was generated by Chrome Platform Status.
Hello blink dev! We're looking to extend the New Canvas 2D API to M98 as it did not actually end up landing until M95 due to an oversight and the change to the release calendar.