Closed Bug 1736038 Opened 3 years ago Closed 3 years ago

Get rid of -moz-toolbar-prefers-color-scheme (by making prefers-color-scheme do the right thing).

Categories

(Core :: CSS Parsing and Computation, task)

task

Tracking

()

RESOLVED FIXED
95 Branch
Tracking Status
firefox95 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

(Regressed 1 open bug)

Details

Attachments

(2 files)

No description provided.
Flags: needinfo?(emilio)

Remove the follow-firefox-theme pref as now that's default everywhere,
and document better the behavior of the color-scheme property by
reworking and commenting the logic on it a bit.

By making prefers-color-scheme return the ColorSchemeForChrome(), which
accounts for the Firefox theme.

Depends on D128610

Flags: needinfo?(emilio)
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/255788975173
Simplify some color-scheme handling in core. r=mstange
https://hg.mozilla.org/integration/autoland/rev/cfd460e7f462
Remove -moz-toolbar-prefers-color-scheme. r=dao
Pushed by emilio@crisal.io:
https://hg.mozilla.org/integration/autoland/rev/9b4bbfc846dd
Fix browser_toolbar_prefers_color_scheme.js.
Pushed by emilio@crisal.io:
https://hg.mozilla.org/integration/autoland/rev/e2542196097b
Deal with an occurrence -moz-toolbar-prefers-color-scheme that had landed in autoland but not central yet.
Regressions: 1737352
Regressions: 1746679
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: