We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Black text on dark background on some sites

  • 4 svar
  • 1 har dette problemet
  • 1 view
  • Siste svar av cor-el

more options

Hi,

When I upgraded to version 98.0 (64-bit) on Windows 10, some websites like Mashable.com and Bigthink.com display black text on a dark background. See attached image.

This is not theme-dependent.

I tried switching network.http.http3.enabled to "false", but that was fixed anyway, so it had no effect.

Hi, When I upgraded to version 98.0 (64-bit) on Windows 10, some websites like Mashable.com and Bigthink.com display black text on a dark background. See attached image. This is not theme-dependent. I tried switching network.http.http3.enabled to "false", but that was fixed anyway, so it had no effect.
Attached screenshots

All Replies (4)

more options

It does not affect the display of most sites. These two are the only examples so far.

more options

You can check the default colors (back text on white background) and also make sure you allow pages to choose their own colors.

  • Settings -> General: Fonts & Colors -> Colors: "Override the colors specified by the page with your selections above"

Try "Never" if the default "Only with High Contrast themes" isn't working.

You can select a theme that has dark text on the tabs (toolbars) if you currently use a theme with light text.

You can change this pref on the about:config page from 3 to 2 to revert to the Firefox 94 behavior regarding to prefer dark or light background for webpages.

  • layout.css.prefers-color-scheme.content-override [dark:0, light:1, system:2, browser:3]

You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue.

more options

Thank you so much for the answer, but none of the settings did anything to the aforementioned sites. I also tried changing (...)content-override to 1, and it worked on all the other pages I have open, but not those two. :P

I restarted FF in between.

more options

The bigthink.com website has parts (.bg-black) that have a black background and light text, so that happens by design and in intentional. If you get the dark background, but not the light text then something seems to override the light text color.

Endret av cor-el