Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OffscreenCanvas #31

Closed
annevk opened this issue Nov 18, 2021 · 3 comments
Closed

OffscreenCanvas #31

annevk opened this issue Nov 18, 2021 · 3 comments
Labels
focus-area-proposal Focus Area Proposal
Milestone

Comments

@annevk
Copy link
Member

annevk commented Nov 18, 2021

Description
Enabling usage of canvas in workers.

Specification
https://html.spec.whatwg.org/multipage/canvas.html#the-offscreencanvas-interface

Tests
https://wpt.fyi/results/html/canvas/offscreen

Rationale
I have reason to believe all browsers plan to ship this in the coming year. Making it part of this effort would help ensure implementations are aligned, issues with the specification get resolved, etc.

@foolip
Copy link
Member

foolip commented Nov 19, 2021

@fserb do you have data about web developer demand for OffscreenCanvas? And do you think the existing tests for this feature are sufficient?

@fserb
Copy link

fserb commented Nov 19, 2021

We do know about OffscreenCanvas usage which at this point is around 27% (in comparison to HTMLCanvasElement which is around 41%). The real useful number would be OffscreenCanvas in workers (where there's no alternative) but we don't have those.

For the tests, yes. We are very confident they have good coverage. Most of our tests are executed in all 4 configurations (HTMLCanvasElement attached to the DOM, HTMLCanvasElement detached, OffscreenCanvas and OffscreenCanvas in workers). We are actively working on unifying them (cc @yiyix, which is leading this), but for the most part they should already be 90% the same.

@foolip
Copy link
Member

foolip commented Dec 10, 2021

Based on the Dec 9 meeting, with outcomes summarized in #39 (comment), we won't include OffscreenCanvas in Interop 2022.

@foolip foolip closed this as completed Dec 10, 2021
@gsnedders gsnedders added focus-area-proposal Focus Area Proposal and removed proposal labels Sep 16, 2022
@gsnedders gsnedders added this to the Interop 2022 milestone Sep 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
focus-area-proposal Focus Area Proposal
Projects
None yet
Development

No branches or pull requests

4 participants