websites not following system colour theme
Categories
(Firefox :: Theme, defect)
Tracking
()
People
(Reporter: sam.carter8, Unassigned, NeedInfo)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:97.0) Gecko/20100101 Firefox/97.0
Steps to reproduce:
Ever since upgrading from firefox 92 to 95 (and now 97 to test if this problem is still there), I'm having a problem with websites not following my systems light/dark theme.
In firefox, I'm using the system theme -- auto
theme and when my operating system (mac os 11.6.1) switches themes, firefox seems to detect this. All the outer window elements, like the tab bar, switches colours and sites like about:config
switch colours, too. So far so good.
However I have a problem with websites which offer an automatic dark/light mode like https://www.spiegel.de/ . If these sites are open in the browser when my system switches colours, they also switch colour. But if I load them after the colour switch, they are often (though not always) stuck in the wrong mode, e.g. they will show up in light mode while my system is dark etc.
For debugging, I tried with firefox in safe mode with all addons disabled and the problem is still present.
I'm using the setting layout.css.prefers-color-scheme.content-overwrite: 2
, but the problem also occurs if this variable is set to 3.
If I manually toggle the firefox theme between light and dark, the problem does not occur.
Actual results:
Websites use the wrong colour theme
Expected results:
Websites should follow the colour theme of my operating system.
Comment 1•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox::Theme' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Comment 2•3 years ago
|
||
The severity field is not set for this bug.
:dao, could you have a look please?
For more information, please visit auto_nag documentation.
Reporter | ||
Comment 3•3 years ago
|
||
An upgrade to version 98 finally solved the problem
Reporter | ||
Updated•3 years ago
|
Description
•