I'm excited to see these move forward. I probably missed it from the github explainers (which seem pretty IDL heavy, but not particularly use-case driven?), but which of these will be available on Paint Worklets as part of this intent?
On Thursday, October 21, 2021 at 12:07:21 AM UTC-7 Yoav Weiss wrote: > Thanks for modernizing Canvas! :) > > On Thu, Oct 14, 2021 at 11:06 PM Aaron Krajeski <aaro...@chromium.org> > wrote: > >> >> *Contact emails*aaro...@chromium.org, fs...@chromium.org >> >> *Explainer* >> https://github.com/fserb/canvas2d >> https://youtu.be/dfOKFSDG7IM >> > > Great video, thanks for that!! > > >> >> *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> >> > > Were the concerns WebKit raised on the issue > <https://github.com/whatwg/html/issues/5618> addressed? Can you expand on > that front? > > >> 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) >> > > Is the hold-up on the Filters PR editorial or something more fundamental? > I noticed Mozilla's opposition on their position. Is that something that > has changed since? > > Are these features individually detectable? Do we have reasonable > developer advice on how we want folks to use those features with backwards > compat/fallbacks in mind? > > >> >> *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 >> >> <https://groups.google.com/a/chromium.org/d/msgid/blink-dev/eb702e7e-88d6-4b6f-b419-6051511689f1n%40chromium.org?utm_medium=email&utm_source=footer> >> . >> > -- 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/845e9622-197a-4ea9-96a8-0cf834c5812bn%40chromium.org.