Skip to content

Add notes about FF preferences that overridde CSS prefers-color-scheme#9299

Closed
hamishwillee wants to merge 1 commit intomdn:masterfrom
hamishwillee:prefers-color-scheme
Closed

Add notes about FF preferences that overridde CSS prefers-color-scheme#9299
hamishwillee wants to merge 1 commit intomdn:masterfrom
hamishwillee:prefers-color-scheme

Conversation

@hamishwillee
Copy link
Contributor

The prefers-color-scheme media query has a Firefox specific note up the top about preference over-rides for this feature. That note should be in the BCD.

image

This follows on from discussion in mdn/content#2562 (comment)

@github-actions github-actions bot added the data:css Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS label Feb 28, 2021
@hamishwillee
Copy link
Contributor Author

@ddbeck When you get a moment would be great if this could be sanity checked.

@ddbeck
Copy link
Contributor

ddbeck commented Mar 3, 2021

I don't think either of these notes belong in BCD. I think it's a given that there will be lots of ways for a user to select their preferred color scheme and Firefox providing these particular methods is not a compatibility distinction worth mentioning. Moreover, I think these notes suggest that Firefox is doing something non-conforming, when it's not. From the spec:

The method by which the user expresses their preference can vary. It might be a system-wide setting exposed by the Operating System, or a setting controlled by the User Agent.

If the contents of these notes are genuinely useful to web developers, then I think the page content needs to address that in a more direct why, providing some context for relaying this information. Stuffing them into a note box on the page doesn't get at why we're telling web developers about this, but neither does stuffing the same notes into the compat table. For instance, maybe these settings are useful tools for testing different color schemes; I'd much rather learn about that in the context of a section (or page) about testing prefers-color-scheme.

@ddbeck ddbeck closed this Mar 3, 2021
@hamishwillee hamishwillee deleted the prefers-color-scheme branch March 8, 2021 06:06
@hamishwillee
Copy link
Contributor Author

@ddbeck Thanks for your detailed answer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data:css Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants