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

Export "set bitmap dimension" and "reset the rendering context to its default state" #5045

Closed
tabatkins opened this issue Oct 25, 2019 · 3 comments
Labels
meta Changes to the ecosystem around the standard, not its contents.

Comments

@tabatkins
Copy link
Collaborator

"set bitmap dimension" and "reset the rendering context to its default state" are used by Houdini Paint API, but they're currently unexported. Export plz?

@annevk
Copy link
Member

annevk commented Oct 30, 2019

How can these be usable as-is? The former refers directly to the canvas element. They also seem to accept far too few parameters to be generally usable.

@annevk annevk added the meta Changes to the ecosystem around the standard, not its contents. label Oct 30, 2019
@tabatkins
Copy link
Collaborator Author

Dunno, I encountered these while trying to prep Houdini Paint API for publication. @bfgeek ?

@bfgeek
Copy link
Member

bfgeek commented Nov 4, 2019

Hmm... its been a while (these algorithms may have changed since we first referenced them), but looking at those two references in the css-paint-api spec, we could rework it to remove them. E.g. instead of using the "set bitmap dimension" alg in the html spec use our own. "reset the rendering context to its default state" is just used within a note, and can be removed.

@domenic domenic closed this as completed Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
meta Changes to the ecosystem around the standard, not its contents.
Development

No branches or pull requests

4 participants