Mozilla Monitor website will be down for 2 hours starting 5/20/2025 at 6 AM PT. Visit our status site for updates.

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Firefox has a dark background on "simple" html pages.

  • 無回覆
  • 0 有這個問題
  • 2 次檢視
more options

Firefox now has a dark background on a "simple" html page without css styling (see screenshot #1). You may reproduce this issue by browsing to a local page like http://localhost:8080 with something like a 404-page (see screenshot #2)

That far - dark mode is cool, isn't it? Yep, it would be. If the text would not be black, on a dark background.

Happens to me without any plugins, or any userChrome etc. (Screenshot was taken with plugins on, but disabling them (and restarting) had no effect)

Workarounds discovered: - set `layout.css.prefers-color-scheme.content-override` to 1 (This changes nearly everything to white, which is not what I want.

- Setting theme to the builtin white/light works, but:

    - View Source has white text on white background (see screenshot #3)
    - Everything is in light mode, and thats simply not what I want

What I would expect: - Viewing a page without shitty modifications - Viewing a white page (suprise suprise) white

(please excuse spelling/grammar errors made, I am not a native speaker)

Firefox now has a dark background on a "simple" html page without css styling (see screenshot #1). You may reproduce this issue by browsing to a local page like http://localhost:8080 with something like a 404-page (see screenshot #2) That far - dark mode is cool, isn't it? Yep, it would be. If the text would not be black, on a dark background. Happens to me without any plugins, or any userChrome etc. (Screenshot was taken with plugins on, but disabling them (and restarting) had no effect) Workarounds discovered: - set `layout.css.prefers-color-scheme.content-override` to 1 (This changes nearly everything to white, which is not what I want. - Setting theme to the builtin white/light works, but: - View Source has white text on white background (see screenshot #3) - Everything is in light mode, and thats simply not what I want What I would expect: - Viewing a page without shitty modifications - Viewing a white page (suprise suprise) white (please excuse spelling/grammar errors made, I am not a native speaker)
附加的畫面擷圖

如果您還沒有帳號,您必須先登入帳號 來回覆文章。還沒有帳號的話,只能發問新問題