← Back to release summary

Remove 'no-preference' from prefers-color-scheme @media feature

Category
CSS
Type
New or changed feature
Status
Enabled by default (Chrome 80)
Intent stage
Evaluate readiness to ship

WPT details: Test changes already landed: https://chromium-review.googlesource.com/c/chromium/src/+/2232924

Summary

The prefers-color-scheme feature in Media Queries Level 5 supported three values: 'no-preference', 'light', 'dark'. Remove the support for the 'no-preference' value because it has been removed from the specification.

Motivation

The value has been removed from the spec. We did not report 'no-preference' for any OS.

Standards & signals

Ecosystem

View on chromestatus.com