-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Image-Orientation] Have ImageBitmap.width and .height report oriente…
…d sizes ImageBitmap has only width and height properties, forcing us to choose one of oriented or unoriented values to report. Given oriented usage is now the default, we'll change the reported sizes to match the used sizes. A spec issue will be raised to add naturalWidth or orientedWidth so that developers can get the data they want. Also fix a broken path in drawImage-with-src-rect-ref.html Bug: 1082451 Change-Id: I4dd59766769bbb7175d8216845f19f9122129e16 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2198654 Auto-Submit: Stephen Chenney <schenney@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Reviewed-by: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#768689}
- Loading branch information
1 parent
ae1e2d5
commit e4d5929
Showing
4 changed files
with
6 additions
and
6 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
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