Not automatically updating theme based on prefers-color-scheme
Categories
(Core :: CSS Parsing and Computation, defect, P3)
Tracking
()
People
(Reporter: laurie_opperman, Unassigned)
References
Details
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0
Steps to reproduce:
Specify dark mode styles with media-query prefers-color-scheme
Actual results:
In Firefox 94, when updating the system theme between dark and standard/light (on Linux, GNOME Shell 3.36.9), my website switches between dark mode and light mode.
In Firefox 95, this doesn't happen, and the website stays the same theme once opened (default-styled form elements do switch however).
Expected results:
Website switches between dark and light modes.
| Reporter | ||
Updated•4 years ago
|
| Reporter | ||
Updated•4 years ago
|
Comment 1•4 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Comment 2•4 years ago
|
||
Can you please use mozregression tool to find broken commit?
https://fedoraproject.org/wiki/How_to_debug_Firefox_problems#Use_Mozregression_tool
Thanks!
Comment 3•4 years ago
|
||
The dark/light theme for websites (those that respect prefers-color-scheme) is now based on the browser theme and not the OS, this was intentionally changed with bug 1529323
Description
•