Enable the `prefers-contrast` media query
Categories
(Core :: CSS Parsing and Computation, task)
Tracking
()
People
(Reporter: zekemedley, Assigned: emilio)
References
(Blocks 2 open bugs)
Details
(Keywords: dev-doc-complete)
Attachments
(1 file)
Bug 1506364 implemented the prefers-contrast
media query behind the layout.css.prefers-contrast.enabled
preference. Once the spec has been finalized and our implementation matches it we can begin to enable it by default.
A summary of where the spec is at as of July 30, 2020 can be found here. We currently implement "Spec 1" from the linked discussion.
Updated•3 years ago
|
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 1•1 year ago
|
||
Assignee | ||
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cbee4e1295bd Implement prefers-contrast: custom and let prefers-contrast ride the trains. r=morgan
Pushed by emilio@crisal.io: https://hg.mozilla.org/integration/autoland/rev/2a9362bbf008 Update test_media_queries to reflect the spec.
Comment 6•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/cbee4e1295bd
https://hg.mozilla.org/mozilla-central/rev/2a9362bbf008
Comment 7•1 year ago
|
||
Release Note Request (optional, but appreciated)
[Why is this notable]: We're introducing a new media query 🎉 this was previously only enabled by default in nightly.
[Affects Firefox for Android]: yes
[Suggested wording]: Firefox now supports the prefers-contrast
media query.
[Links (documentation, blog post, etc)]: MDN page, though I think it might be a bit out of date: https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-contrast
:emilio anything else you think we should include here?
Assignee | ||
Comment 8•1 year ago
|
||
No, looks good, I need to send an intent to ship.
Comment 10•1 year ago
|
||
Hello all, the documentation, BCD table, and release notes have been updated for this feature. The doc issue tracking the updates can be found here: https://github.com/mdn/content/issues/15466
Description
•