← 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

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

View on chromestatus.com