Bug
1681453 [wpt PR 26813] - Change getImageData and createImageData to default to 8-bit sRGB, a=testonly
Automatic update from web-platform-tests
Change getImageData and createImageData to default to 8-bit sRGB
In the initial implementation, if color setting information is missing
in getImageData/createImageData, it uses the information of canvas to
initialize the image data. In the spec, it says that it should use the
default setting of {colorSpace: srgb, storageFormat: uint8} instead. In
this cl, I updated the default behavior for the function getImageData
and createImageData.
Bug:
1118182
Change-Id: I4fba4284028c060d5ac7ff80a294d95f8436ef62
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/
2567750
Reviewed-by: Fernando Serboncini <fserb@chromium.org>
Reviewed-by: ccameron <ccameron@chromium.org>
Commit-Queue: Yi Xu <yiyix@chromium.org>
Cr-Commit-Position: refs/heads/master@{#835734}
--
wpt-commits:
0fb69997a8b5154bf39ba3ffa586c2aa25442da8
wpt-pr: 26813