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 emailsaaronhk@chromium.org, fserb@chromium.org
- WHATWG spec in progress:
- MDN spec
Text Modifiers (via ChromeLabs/puppy-content)
Context Loss (this is not testable on WPT)
WillReadFrequently (testable in WPT, work in progress to add tests there)
Look forward to hearing your feedback!
Cheers!
Aaron