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

[HTML] Fix divergence of CanvasRenderingContext2D and Offscreen with CanvasSettings #1036

Open
1 task done
ccameron-chromium opened this issue Jan 8, 2025 · 0 comments
Open
1 task done

Comments

@ccameron-chromium
Copy link

こんにちは TAG-さん!

I'm requesting a TAG review of CanvasSettings.

There is a lot of duplicated spec text for CanvasRenderingContext2D and OffscreenCanvasRenderingContext2D, especially related to how CanvasRenderingContext2DSettings is handled. As with all things that are duplicated, there are accidental divergences.

This creates a new mixin interface CanvasSettings. This will unify the accidentally diverged paths, and also prevent this from happening in the future. It will introduce some features accidentally left out of OffscreenCanvasRenderingContext2D.

This is being pursued so that things like floating-point and HDR canvas do not need to add duplicate text when they are added to the specification.

Further details:

  • I have reviewed the TAG's Web Platform Design Principles
  • Relevant time constraints or deadlines:
  • The group where the work on this specification is currently being done: ColorWeb-CG (because of floating-point and HDR canvas)
  • The group where standardization of this work is intended to be done (if different from the current group):
  • Major unresolved issues with or opposition to this specification:
  • This work is being funded by:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant