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

readbackFromWebGPUCanvas:transferToImageBitmap_unconfigured_nonzero_size expects opaque black image (alpha == 255) #4259

Open
jamienicol opened this issue Mar 6, 2025 · 0 comments

Comments

@jamienicol
Copy link

jamienicol commented Mar 6, 2025

I'm looking at making the above test pass in Firefox (https://bugzilla.mozilla.org/show_bug.cgi?id=1948580)

I can see the test expects the returned bitmaps pixels to have an alpha value of 255. But looking at the spec (steps 1 to 3) it seems to me the returned image should be transparent black, ie alpha == 0, as the canvas is unconfigured.

Does the CTS need updated, or am I misreading the spec?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant