[wpt-sync] Sync PR 26599 - Added 4 background-size (with no intrinsic and no ratio) tests
Categories
(Core :: Layout: Images, Video, and HTML Frames, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox87 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 26599 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/26599
Details from upstream follow.
b'G\xc3\xa9rard Talbot <github@gtalbot.org>' wrote:
Added 4 background-size (with no intrinsic and no ratio) tests
This PR spun from
https://github.com/web-platform-tests/wpt/pull/22201
and is a followup to
[css-backgrounds-3] background-size with " auto" and gradient image is not interoperably implementedHere are the last review comments from #22201 :
{
Ways this test can pass on an incorrect implementation:
- UA doesn't support background-size at all, or ignores the declaration.
- UA handles sizing in the y axis correctly, but not the x axis.
- UA resolves to a size taller than the background positioning area. (We can't tell if the image was sized correctly, or oversized and clipped to the background painting area.)
- UA assumes a 1:1 ratio -- such an incorrect assumption will still pass 4/6 subtests.
}Now the 4 (041 to 044) tests in here
- declare 'background-repeat: no-repeat'
- use a 2-color image (SVG image and linear-gradient)
- use 'background-position: center'
- have 'background-origin' declaration to be different from 'background-clip'
- have 'background-origin' and 'background-clip' do not use their initial respective value
- will fail if the UA doesn't support background-size at all, or ignores the declaration
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=25aadb5621870ea72bfd1e5a0f82b73846498a20
Assignee | ||
Comment 2•3 years ago
|
||
CI Results
Ran 14 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 4 tests
Status Summary
Firefox
PASS: 4
Chrome
PASS: 2
FAIL: 2
Safari
FAIL: 4
Links
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/eb9e63c8a28b [wpt PR 26599] - Added 4 background-size (with no intrinsic and no ratio) tests, a=testonly
Comment 4•3 years ago
|
||
bugherder |
Description
•