aar...@chromium.org, fs...@chromium.org
https://github.com/fserb/canvas2d
API spec
In progress
Ā Ā WHATWG:
Ā Ā MDNĀ
Conic gradientText Modifiers (via ChromeLabs/puppy-content)
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
Timeline: M92-95
None
Not applicable
Gecko: In development (https://github.com/whatwg/html/issues/5431) 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.
Allow third party developers to use the API and provide feedback.
None
None
Yes
Yes (in progress)
Context Loss (this is not testable on WPT)
WillReadFrequently (testable in WPT, work in progress to add tests there)
NewCanvas2DAPI
Transforms: https://bugs.chromium.org/p/chromium/issues/detail?id=1140535
Color: https://bugs.chromium.org/p/chromium/issues/detail?id=1187575
Filters: https://bugs.chromium.org/p/chromium/issues/detail?id=1169216
RoundRect: crbug.com/1123971
Reset: crbug.com/1131137
Context Loss: crbug.com/1164059
Will read frequently: https://bugs.chromium.org/p/chromium/issues/detail?id=1090180
Conic gradient: crbug.com/1097034
Text Modifiers: https://bugs.chromium.org/p/chromium/issues/detail?id=1137055
Launch bug
https://bugs.chromium.org/p/chromium/issues/detail?id=1201359
https://chromestatus.com/feature/6051647656558592
--
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+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/ec01b3df-dc82-4cbc-94c4-3efaf1186728n%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAPhTwY0wkjp57QPLBOT76xCKXP1oktezxTP9J_toe3cVh-chNg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAPhTwY3WmgqAJ8QL9NmmOe4O_1pj-ajF0XUuNWz59SDA42F%3DRQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAL5BFfV14%3DoWr34r%2BiG%2BLWezEU0xtPpmqogO3_p1ohXZeFBtAw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/04fbf598-e342-4551-ae18-86880b9b7b1cn%40chromium.org.
Hey everyone! Sorry for the delay in response, blink-dev got removed from the "reply all" chain and I was shouting into the ether. We are codeĀ and test complete, just have a few more whatwg specs to merge.
@Theodore Olsauskas-Warren, reĀ context loss: If weĀ delayed context loss until focus events, would that be acceptable from an S&P perspective?Ā
Ā The remaining issue is for contexts within iframes. These will not receive a "focus" event unless the user focuses the iframe itself, but in the interest of getting this out we could live with that until we have a better idea.
Some updates from the TAG review (https://github.com/w3ctag/design-reviews/issues/627):
Ā 1. For theĀ CSSColorValue inputĀ we are going to rely on the fact that CSSColorValues can implicitly convert to string, and CanvasRenderingContext2D styles all accept strings as input. This makes for a much smaller spec change. We can still use the optimization of taking the object directly, as the functionality is the same.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAPhTwY2TMCj8y%2BggP62fNsFRPiS%2Bk%3DgwpdbXFN0HOahwXq0Bqw%40mail.gmail.com.
@Theodore Olsauskas-Warren, reĀ context loss: If weĀ delayed context loss until focus events, would that be acceptable from an S&P perspective?Ā