![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
color schema dark not propagated to iframes
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