[wpt-sync] Sync PR 29567 - [wpt] Fix grid-item (no) aspect-ratio tests.
Categories
(Core :: Layout: Grid, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox91 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 29567 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/29567
Details from upstream follow.
b'Ian Kilpatrick <ikilpatrick@chromium.org>' wrote:
[wpt] Fix grid-item (no) aspect-ratio tests.
Renaming scheme got lost, however basically:
grid-item-no-aspect-ratio-stretch-4.html -> grid-item-aspect-ratio-stretch-1.html
grid-item-no-aspect-ratio-stretch-5.html -> grid-item-aspect-ratio-stretch-2.html
grid-item-no-aspect-ratio-stretch-6.html -> grid-item-aspect-ratio-stretch-3.html
grid-item-no-aspect-ratio-stretch-7.html -> grid-item-aspect-ratio-stretch-4.htmlThese tests all had a viewBox defining a valid aspect-ratio. Due to:
https://github.com/w3c/csswg-drafts/issues/6286#issuecomment-866986544
These tests should have an aspect-ratio, and when stretched in one
dimension, should reflect to the other dimension (if unconstrained). See:
https://github.com/w3c/csswg-drafts/issues/5713#issuecomment-755791551The below two tests basically just got renamed:
grid-item-no-aspect-ratio-stretch-8.html -> grid-item-no-aspect-ratio-stretch-4.html
grid-item-no-aspect-ratio-stretch-9.html -> grid-item-no-aspect-ratio-stretch-5.html
grid-item-no-aspect-ratio-stretch-10.html -> grid-item-no-aspect-ratio-stretch-6.htmlBut tests updated to correctly assert that the natural size would still
be respected.To all these test-cases I also added "grid-template: 100% / 100%;" as
there is further complexity when inside an auto row/column which is
tested elsewhere.
(Transferred minimum size for replaced elements with an aspect-ratio).Bug: 1114013
Change-Id: I062f67e291cc62fa63a53370595780dae16abf3bReviewed-on: https://chromium-review.googlesource.com/3003564
WPT-Export-Revision: bf21e385d783ae0547a3ea3e554ee43a8beac1d6
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=f4b431ca15d8eacb942a3648bb6a78653c8bd6c0
Assignee | ||
Comment 2•3 years ago
|
||
CI Results
Ran 15 Firefox configurations based on mozilla-central, and Firefox, and Chrome on GitHub CI
Total 7 tests
Status Summary
Firefox
FAIL: 7
Chrome
PASS: 7
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
/css/css-grid/alignment/grid-item-aspect-ratio-stretch-1.html: FAIL (Chrome: PASS)
/css/css-grid/alignment/grid-item-aspect-ratio-stretch-2.html: FAIL (Chrome: PASS)
/css/css-grid/alignment/grid-item-aspect-ratio-stretch-3.html: FAIL (Chrome: PASS)
/css/css-grid/alignment/grid-item-aspect-ratio-stretch-4.html: FAIL (Chrome: PASS)
/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-4.html: FAIL (Chrome: PASS)
/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-5.html: FAIL (Chrome: PASS)
/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-6.html: FAIL (Chrome: PASS)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/855ddd9539c4 [wpt PR 29567] - [wpt] Fix grid-item (no) aspect-ratio tests., a=testonly https://hg.mozilla.org/integration/autoland/rev/e4056c4559cc [wpt PR 29567] - Update wpt metadata, a=testonly
Comment 4•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/855ddd9539c4
https://hg.mozilla.org/mozilla-central/rev/e4056c4559cc
Description
•