Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜尋 Mozilla 技術支援網站

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

Learn More

color schema dark not propagated to iframes

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

when my operating system is in dark mode, and i browse a website that supports darkmode. the dark mode setting is not changed in containing iframes.

so the following javascript does return different results: window.matchMedia('(prefers-color-scheme: dark)').matches false top.window.matchMedia('(prefers-color-scheme: dark)').matches true

when my operating system is in dark mode, and i browse a website that supports darkmode. the dark mode setting is not changed in containing iframes. so the following javascript does return different results: window.matchMedia('(prefers-color-scheme: dark)').matches false top.window.matchMedia('(prefers-color-scheme: dark)').matches true

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