WICG / canvas-color-space

Proposed web platform feature to add color management, wide gamut and high bit-depth support to the <canvas> element.
Other
81 stars 19 forks source link

ImageBitmapOptions extension uses undefined type `CanvasColorSpaceEnum` #61

Open weinig opened 3 years ago

weinig commented 3 years ago

The ImageBitmapOptions extension in the current proposal is defined as:

partial dictionary ImageBitmapOptions {
  CanvasColorSpaceEnum colorSpace = "srgb";
}

Rather than CanvasColorSpaceEnum, I think it should be PredefinedColorSpaceEnum.