Hi webkit-dev,
This is a request for WebKit's position on New Canvas 2D API features.
Explainer/Chrome Dev Summit Video
Summary
Updated functionality for the Canvas2D API. Adds nine new features/functions to CanvasRenderingContext2D:
- "ContextLost" and "ContextRestored" events
Seems reasonable.
- "willReadFrequently" option for canvases where lots of readback is expected
Seems reasonable.
- CSSColorValues as style inputs
Seems reasonable (gated on Typed OM support).
- More CSS text modifier support
WebKit has already expressed support for the proposal.
We'e already expressed some concerns in the issue.
- A roundRect draw primitive
Seems reasonable.
- Full 4x4 transformation matrices
WebKit's architecture on macOS/iOS currently has no way to render these, so we don't support this proposal at this time.
- Better support for SVG filters
Seems reasonable, although this would have performance implications in our current architecture.