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. Contact emails
[email protected], [email protected] 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>TODO Filters Summary 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 https://github.com/fserb/canvas2d Blink component Blink>Canvas <https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3ECanvas> TAG review <https://github.com/w3ctag/design-reviews/issues/627#issuecomment-838726027> TAG review status Progress: Propose Closing 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. 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. Debuggability 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 [email protected]. To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAPhTwY1LmXz%3DPv%2BDEjQz%2BxfAf5qr_18JNkyWGFJqN3XPeo2u3A%40mail.gmail.com.
