[CSS] prefers-color-scheme
reflects the color-scheme
on the embedding element
#19449
Closed
9 of 10 tasks
Labels
Content:CSS
Cascading Style Sheets docs
fx release archive
A closed issue relating to firefox release notes for developers.
Acceptance Criteria
For folks helping with Firefox related documentation
dev-doc-complete
or
Features to document
Update prefers-color-scheme CSS media query doc to note that:
This should include an example like the one at the top of w3c/csswg-drafts#7213 (comment) -
Related Gecko bugs
https://bugzilla.mozilla.org/show_bug.cgi?id=1779457
Other
What does this all mean?
IN summary, previously
prefers-color-scheme
reflected the user choice of light/dark mode based on the device or OS theme setting. It was possible to have a case where the OS and firefox would have a different mode, and you could getprefers-color-scheme
matching the OS rather than browser - so the incorrect media would be displayed.The change is that
prefers-color-scheme
in SVG files and iframes will now respect the thecolor-scheme
of the embedder.Links / tasks
The text was updated successfully, but these errors were encountered: