[wpt-sync] Sync PR 27349 - Map width/height to the aspect-ratio property for canvas
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox87 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 27349 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/27349
Details from upstream follow.
b'Christian Biesinger <cbiesinger@chromium.org>' wrote:
Map width/height to the aspect-ratio property for canvas
This matches the code for \<img> added in https://crrev.com/c/2495560
and for \<video> in https://crrev.com/c/2642857 as well as the spec in
https://github.com/whatwg/html/pull/6032 .Change-Id: I897bcf12952cf0cf817b03c7dbd825d4c7212906
Reviewed-on: https://chromium-review.googlesource.com/2650135
WPT-Export-Revision: e8283958ed35a62942b1398a677b0d98d219b5df
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=34f330337d64eb2f358c89d9659f19ce4946d223
Assignee | ||
Comment 2•3 years ago
|
||
CI Results
Ran 15 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 2 subtests
Status Summary
Firefox
OK : 1
PASS: 1
FAIL: 1
Chrome
OK : 1
PASS: 1
FAIL: 1
Safari
OK : 1
PASS: 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/canvas-aspect-ratio.html
Canvas width and height attributes are used as the surface size with contain:size: FAIL (Chrome: FAIL, Safari: PASS)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e6e619796cb1 [wpt PR 27349] - Map width/height to the aspect-ratio property for canvas, a=testonly https://hg.mozilla.org/integration/autoland/rev/3e0cff23d51e [wpt PR 27349] - Update wpt metadata, a=testonly
Comment 4•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e6e619796cb1
https://hg.mozilla.org/mozilla-central/rev/3e0cff23d51e
Description
•