*Contact emails*aaro...@chromium.org, fs...@chromium.org

*Explainer*
https://github.com/fserb/canvas2d
https://youtu.be/dfOKFSDG7IM

*Specification*
Context Lost Event 
<https://html.spec.whatwg.org/multipage/indices.html#event-contextlost>
Context Restored Event 
<https://html.spec.whatwg.org/multipage/indices.html#event-contextrestored>
Will Read Frequently 
<https://html.spec.whatwg.org/multipage/canvas.html#concept-canvas-will-read-frequently>
New Text Modifiers 
<https://html.spec.whatwg.org/multipage/canvas.html#canvastextdrawingstyles>
Reset 
<https://html.spec.whatwg.org/multipage/canvas.html#dom-context-2d-reset>
RoundRect
<https://html.spec.whatwg.org/multipage/canvas.html#dom-context-2d-roundrect>Conic
 
Gradient
<https://html.spec.whatwg.org/multipage/canvas.html#dom-context-2d-createconicgradient>
Filters <https://github.com/whatwg/html/pull/6763> (still in progress)

*Summary*
Updated functionality for the Canvas2D API. Adds seven new 
features/functions to CanvasRenderingContext2D:

- "ContextLost" and "ContextRestored" events
- "willReadFrequently" option for canvases where lots of readback is 
expected
- More CSS text modifier support
- A reset function
- A roundRect draw primitive
- Conic gradients
- Better support for SVG filters

https://github.com/fserb/canvas2d

*Blink component*
Blink>Canvas 
<https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3ECanvas>


*TAG review status*Resolution: satisfied 
<https://github.com/w3ctag/design-reviews/issues/627#issuecomment-838726027>

*Risks*
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.

*Interoperability and Compatibility*
Gecko: In development (https://github.com/whatwg/html/issues/5431 
<https://www.chromestatus.com/admin/features/launch/6051647656558592/5?intent=1>)
 
Already implemented conic gradient. Okay with willReadFrequently, 
transforms and reset.

WebKit: Positive (https://github.com/whatwg/html/issues/5619). 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.

*Signals*
Gecko: https://github.com/mozilla/standards-positions/issues/519
WebKit: https://lists.webkit.org/pipermail/webkit-dev/2021-May/031833.html

*Is this feature fully tested by* web-platform-tests 
<https://chromium.googlesource.com/chromium/src/+/master/docs/testing/web_platform_tests.md>
?
Yes

*Flag name*
#new-canvas-2d-api

*Requires code in //chrome?*
False

*Tracking bug*
https://bugs.chromium.org/p/chromium/issues/detail?id=1201359

*Estimated milestones*
OriginTrial desktop first
95

OriginTrial desktop last
98

OriginTrial android first
95

OriginTrial android last
98

*Link to entry on the Chrome Platform Status*
https://www.chromestatus.com/feature/6051647656558592

This intent message was generated by Chrome Platform Status 
<https://www.chromestatus.com/>.

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to blink-dev+unsubscr...@chromium.org.
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/eb702e7e-88d6-4b6f-b419-6051511689f1n%40chromium.org.

Reply via email to