Closed Bug 1851906 Opened 1 years ago Closed 1 year ago

Make unspecified color-scheme default to preferred in all chrome-enabled contexts, not only chrome docs.

Categories

(Core :: CSS Parsing and Computation, task)

task

Tracking

()

RESOLVED FIXED
119 Branch
Tracking Status
firefox119 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(1 file)

No description provided.

This shouldn't introduce any behavior difference in practice, since all
chrome docs already have this behavior, and all non-chrome docs loaded
from chrome schemes should as well, in practice, via the
<meta name=color-scheme meta tag>.

This makes it easy to introduce some of the changes discussed in
bug 1836440 tho, since it avoids having to add color-scheme: dark light
to all the <svg> icons.

This check is also more consistent with how we enable all other CSS
features.

Assignee: nobody → emilio
Status: NEW → ASSIGNED
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bf9ed368ad2f Make unspecified color-scheme default to preferred in all chrome-enabled contexts, not only chrome docs. r=sfoster,desktop-theme-reviewers
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch
Regressions: 1866063
Regressions: 1866738
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: