-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1850871 - Resize canvas in ImageBitmapRenderingContext::TransferF…
…romImageBitmap. r=gfx-reviewers,lsalzman This patch makes it so that when a new ImageBitmap is provided to an ImageBitmapRenderingContext, we resize its owning canvas rather than crop or scale the given ImageBitmap to fit inside the canvas dimensions. See discussion in whatwg/html#7833. Differential Revision: https://phabricator.services.mozilla.com/D188126 UltraBlame original commit: cbd593a4819d1bc653fae6d21f86b25c9b1bdd58
- Loading branch information
Showing
8 changed files
with
774 additions
and
224 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.