Hi webkit-dev,

This is a request for WebKit's position on New Canvas 2D API features.


Explainer/Chrome Dev Summit Video

https://github.com/fserb/canvas2d

https://youtu.be/dfOKFSDG7IM


Summary

Updated functionality for the Canvas2D API. Adds nine 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

  - Full 4x4 transformation matrices

  - Conic gradients

  - Better support for SVG filters

Contact emails

aaronhk@chromium.org, fserb@chromium.org


Spec and tests

  - WHATWG spec in progress:

Text Modifiers

Filters

Perspective Transforms

reset()

CSSColorValue

willReadFrequently

RoundRect

ConicGradient

Context Loss

  - MDN spec 

         Conic gradient

Text Modifiers (via ChromeLabs/puppy-content)

- Web platform tests

RoundRect

reset()

Perspective Transforms

Context Loss (this is not testable on WPT)

Filters

CSSColorValue Input

WillReadFrequently (testable in WPT, work in progress to add tests there)

Conic Gradient

Text Modifiers

  Chrome Status


Look forward to hearing your feedback!

Cheers!
  Aaron