You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#6562 added the ImageDataSettings interface as part of color space support for canvases--it's an options dict that's passed into the ImageData constructors and canvas' ImageData factory methods.
This breaks with the naming convention for all other options dictionaries, which are named Options and not Settings (e.g. ImageEncodeOptions, ElementDefinitionOptions, etc.)
I'm not well-versed with the finer details of the spec but I don't believe the interface name is exposed anywhere in the API itself, so renaming ImageDataSettings to ImageDataOptions should be a completely normative change.
The text was updated successfully, but these errors were encountered:
What is the issue with the HTML Standard?
#6562 added the
ImageDataSettings
interface as part of color space support for canvases--it's an options dict that's passed into theImageData
constructors and canvas'ImageData
factory methods.This breaks with the naming convention for all other options dictionaries, which are named
Options
and notSettings
(e.g. ImageEncodeOptions, ElementDefinitionOptions, etc.)I'm not well-versed with the finer details of the spec but I don't believe the interface name is exposed anywhere in the API itself, so renaming
ImageDataSettings
toImageDataOptions
should be a completely normative change.The text was updated successfully, but these errors were encountered: