Bug 1692252 [wpt PR 27527] - Add tests for mapping of width/height to aspect-ratio...
commitf7b2a8684eeb5dcf9e87b7a58eeb29cf4adb8f55
authorChristian Biesinger <cbiesinger@chromium.org>
Fri, 12 Feb 2021 16:26:34 +0000 (12 16:26 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Mon, 15 Feb 2021 11:35:13 +0000 (15 11:35 +0000)
tree12609e73bd267a8fcd67c8eeecee6f9f1786c0d5
parent8f62ffa6a6117e3d7d725874fbfc209bffc66c0d
Bug 1692252 [wpt PR 27527] - Add tests for mapping of width/height to aspect-ratio, a=testonly

Automatic update from web-platform-tests
Add tests for mapping of width/height to aspect-ratio

This covers video, img and canvas.

This is for https://github.com/whatwg/html/pull/6032. See also
https://github.com/web-platform-tests/wpt/pull/26010.

R=masonfreed@chromium.org, yoavweiss@chromium.org

Bug: 1137004
Change-Id: I38d690412af67836e4fdede11c5b4938e47f138f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2679289
Commit-Queue: Christian Biesinger <cbiesinger@chromium.org>
Auto-Submit: Christian Biesinger <cbiesinger@chromium.org>
Reviewed-by: Mason Freed <masonfreed@chromium.org>
Cr-Commit-Position: refs/heads/master@{#853156}

--

wpt-commits: 87acfece9dfcb016236468d1710c626e92128a57
wpt-pr: 27527
testing/web-platform/tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/canvas-aspect-ratio.html
testing/web-platform/tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/img-aspect-ratio.html
testing/web-platform/tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/resources/aspect-ratio.js [new file with mode: 0644]
testing/web-platform/tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/video-aspect-ratio.html