-
Notifications
You must be signed in to change notification settings - Fork 22.6k
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
Add colorType
documentation to CanvasRenderingContext2DSettings
#38087
Comments
What's the implementation status? |
Not shipping on any browser yet: |
colorType
documentation to CanvasRenderingContext2DSettings
colorType
documentation to CanvasRenderingContext2DSettings
@ccameron-chromium I understand that updating MDN with these changes is part of the working group processes, which is excellent. Is there any way to hint in that process that the implementation status information you provided above be included in the post? We almost always have to ask for it (sometimes it is in the linked implementation PR) EDIT. Actually, note Josh link below. Ignore. Thanks. |
@hamishwillee If you aren't aware: whatwg/meta#334 |
MDN URL
https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/getContextAttributes
What specific section or headline is this issue about?
Return value
What information was incorrect, unhelpful, or incomplete?
The new
CanvasRenderingContext2DSettings
attribute ofcolorType
is absent.This is a new property added in this PR.
What did you expect to see?
This affects the following pages.
For
getContextAttributes
underCanvasRenderingContext2D
colorType
for the color type.OffscreenCanvasRenderingContext2D
For
getContext
onHTMLCanvasElement
colorType
to the list of parameters that affect the 2D context creationFor
getContext
forOffscreenCanvas
HTMLCanvasElement
version of the function.Do you have any supporting links, references, or citations?
PR for the change adding this feature:
whatwg/html#10951
Explainer for the feature:
https://github.com/ccameron-chromium/ColorWeb-CG/blob/canvas2d_float/canvas_float.md
Do you have anything more you want to share?
No response
The text was updated successfully, but these errors were encountered: