Closed Bug 2092481 Opened 18 days ago Closed 13 days ago

[wpt-sync] Sync PR 64595 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=326533

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox162 fixed)

RESOLVED FIXED
162 Branch
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 4

Fixes 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.html

WebKit-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>

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

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Status: NEW → RESOLVED
Closed: 13 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.