Closed Bug 1738143 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 31407 - [css-color-adjust] Remove an invalid test.

Categories

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

task

Tracking

(firefox96 fixed)

RESOLVED FIXED
96 Branch
Tracking Status
firefox96 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Emilio Cobos Álvarez <emilio@crisal.io> wrote:

[css-color-adjust] Remove an invalid test.

This test was added in:

https://chromium-review.googlesource.com/c/chromium/src/+/2230909

However I don't understand why it should pass. There's nothing that
guarantees that (prefers-color-scheme: dark) matches on the SVG, and
the test is consequently failing in all browsers:

https://wpt.fyi/results/css/css-color-adjust/rendering/dark-color-scheme/svg-as-image.html?label=master&label=experimental&aligned

I guess it could be nice if color-scheme affected
prefers-color-scheme for svg-as-image, maybe, but afaict that was not
what the test was about, nor something that is specified.

Test result changes from PR not available.
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9cfac79a2743 [wpt PR 31407] - [css-color-adjust] Remove an invalid test., a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch
You need to log in before you can comment on or make changes to this bug.