[wpt-sync] Sync PR 26261 - Map the aspect ratio from width/height to CSS
Categories
(Core :: Layout, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox84 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 26261 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/26261
Details from upstream follow.
b'Christian Biesinger <cbiesinger@chromium.org>' wrote:
Map the aspect ratio from width/height to CSS
Instead of having special code in image layout, map the aspect ratio that's
computed from the width and height attributes to the aspect-ratio property.As a side-effect, this patch will also make the aspect-ratio property work
when contain: size is specified in an image (as well as error images when
no alt text is specified).As specified in https://github.com/whatwg/html/pull/6032.
R=masonfreed@chromium.org, xiaochengh@chromium.org
Bug: 1137004
Change-Id: I1253fa2ecf1e176711d3c4d7bd4159f466656ae8
Reviewed-on: https://chromium-review.googlesource.com/2495560
WPT-Export-Revision: 7b43ed4fbb843e3f5e23b59b54af9cab46a3eb64
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=1d4cd004e0e9a01c0bec24c7019179789ad19e0c
Assignee | ||
Comment 2•4 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, and Chrome on GitHub CI
Total 3 tests and 1 subtests
Status Summary
Firefox
OK : 2
PASS: 3
Chrome
OK : 2
PASS: 1
FAIL: 2
Links
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/057b7719ffc0 [wpt PR 26261] - Map the aspect ratio from width/height to CSS, a=testonly https://hg.mozilla.org/integration/autoland/rev/0cd5b1b686bb [wpt PR 26261] - Update wpt metadata, a=testonly
Comment 4•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/057b7719ffc0
https://hg.mozilla.org/mozilla-central/rev/0cd5b1b686bb
Description
•