Align createImageBitmap with web-features #7348
Merged
+47
−47
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR proposes letting
createImageBitmap()
be fully supported in Firefox, despite not supporting theresizeQuality
option.Over in web-features, it was proposed to mark
createImageBitmap()
as being Baseline and this recently happened in . The main justification is thatresizeQuality
is specified as a "preference" or hint to browsers about how to scale the image and does not bind implementers to use a specific scaling algorithm or strategy. The suggestion here is that Firefox ignoring this hint is probably not an impediment to usingcreateImageBitmap()
in most applications. See web-platform-dx/web-features#3139 for further discussion.If you merge this PR, then we'd merge web-platform-dx/web-features#3173 on web-features, to align the features and reestablish the link between them.