Closed Bug 1687958 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 27274 - Map width/height to the aspect-ratio property for video/canvas

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
87 Branch
Tracking Status
firefox87 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 27274 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/27274
Details from upstream follow.

b'Christian Biesinger <cbiesinger@chromium.org>' wrote:

Map width/height to the aspect-ratio property for video/canvas

This matches the code for \<img> added in https://crrev.com/c/2495560
and the spec in https://github.com/whatwg/html/pull/6032 .

Change-Id: I57e343b3932cd38e5d6c8b9860e60aee70d57a56

Reviewed-on: https://chromium-review.googlesource.com/2642857
WPT-Export-Revision: 467fc8c29b3a3b9e8a55946ffbb78d38ce275615

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 1 subtests

Status Summary

Firefox

OK : 1
FAIL: 1

Chrome

OK : 1
FAIL: 1

Safari

OK : 1
FAIL: 1

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/video-aspect-ratio.html
Video width and height attributes are not used to infer aspect-ratio: FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/601a220c972d
[wpt PR 27274] - Map width/height to the aspect-ratio property for video, a=testonly
https://hg.mozilla.org/integration/autoland/rev/71ecb8a9f14e
[wpt PR 27274] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch
You need to log in before you can comment on or make changes to this bug.