[wpt-sync] Sync PR 64595 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=326533
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox162 fixed)
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 64595 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/64595
Details from upstream follow.
Sam Weinig <sam@webkit.org> wrote:
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=326533
WebKit export from bug: [<!---->Image Redux]<!----> Update cross-<!---->fade(<!---->)<!----> to match CSS Image 4
<pre>
[Image Redux] Update cross-fade() to match CSS Image 4Fixes the unprefixed cross-fade() to match CSS Image 4 and other browsers.
Previously, unprefixed cross-fade() used the same grammar as -webkit-cross-fade(), which does
have the same grammar as the one defined in CSS Images 4 (<a href="https://drafts.csswg.org/css-images-4/#funcdef-cross-fade).">https://drafts.csswg.org/css-images-4/#funcdef-cross-fade).</a>Now, unprefixed cross-fade() uses the new grammar (without support <color> for the moment),
allowing any number of images to cross-faded together. Prefixed -webkit-cross-fade() still
uses the old grammar and is limited to two images as before.Additionally, we now use the spec's algorithms for sizing (<a href="https://drafts.csswg.org/css-images-4/#cross-fade-sizing)">https://drafts.csswg.org/css-images-4/#cross-fade-sizing)</a>
and painting (<a href="https://drafts.csswg.org/css-images-4/#cross-fade-painting)">https://drafts.csswg.org/css-images-4/#cross-fade-painting)</a>, including the
context dependent recursive negotiation required. This very subtly changes the way a
cross-fade of images without natural dimensions might render and new WPT tests for this
have been added.Also fixes the background-image-interpolation.html test to use test_no_interpolation() rather
than test_interpolation(), as is needed for discrete only properties. This matches other image
interpolation tests like mask-image-interpolation.htmlWebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=326533">https://bugs.webkit.org/show_bug.cgi?id=326533</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/322918@main">https://commits.webkit.org/322918@main</a>
</pre>
| Assignee | ||
Comment 1•15 days ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests
Status Summary
Firefox
FAIL: 2
Chrome
PASS: 1
FAIL: 1
Safari
PASS: 1
FAIL: 1
Links
Details
New Tests That Don't Pass
- /css/css-images/cross-fade-natural-size-gradients.html [wpt.fyi]:
FAIL(Chrome:PASS, Safari:FAIL) - /css/css-images/cross-fade-natural-size-image-and-gradient.html [wpt.fyi]:
FAIL(Chrome:FAIL, Safari:PASS)
Comment 3•13 days ago
|
||
| bugherder | ||
Description
•