Closed Bug 2005453 Opened 3 months ago Closed 3 months ago

[wpt-sync] Sync PR 56674 - Compute gradient stop colors at computed value time if necessary

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
148 Branch
Tracking Status
firefox148 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 56674 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/56674
Details from upstream follow.

Rune Lillesveen <futhark@chromium.org> wrote:

Compute gradient stop colors at computed value time if necessary

When working on this CL, I noticed we do not resolve computed values in
gradients which are wrapped in other values like image-set() and
cross-fade(). As a consequence of that, the added handling for
kConstantGradientClass is currently not exercised as it is only used for
solid colors inside cross-fade().

Resolving computed values in image-set()/cross-fade() will be done in
other CLs.

Bug: 465006290
Change-Id: I50bf0c14eee5612dd805a48741ac9a25c3c45105
Reviewed-on: https://chromium-review.googlesource.com/7245532
WPT-Export-Revision: 9c3396c69b684c02e447906259f10a8be5dc096d

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 21 tests and 2 subtests

Status Summary

Firefox

OK : 1[GitHub] 21[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-24h2-debug, Gecko-windows11-32-24h2-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt]
PASS : 16
FAIL : 1[GitHub] 72[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-24h2-debug, Gecko-windows11-32-24h2-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt]

Chrome

CRASH: 1

Safari

OK : 1
FAIL : 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

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