Implement the prefers-contrast media-query
Categories
(Core :: CSS Parsing and Computation, enhancement, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox80 | --- | fixed |
People
(Reporter: bugzilla, Assigned: zekemedley)
References
(Depends on 1 open bug, Blocks 2 open bugs, )
Details
(Keywords: dev-doc-needed, Whiteboard: [layout:backlog])
Attachments
(3 files)
Comment 1•6 years ago
|
||
Comment 2•6 years ago
|
||
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Comment 3•4 years ago
|
||
Assignee | ||
Comment 4•4 years ago
|
||
Updated•4 years ago
|
Assignee | ||
Comment 5•4 years ago
|
||
We've decided that we're not actually going to enable telemetry. The plan now is:
- Remove the telemetry
- Enable
prefers-contrast
by default in browser chrome for use with a high contrast theme. - Enable
prefers-contrast
behind preference on the web.
Comment 6•4 years ago
|
||
Will this be covered by RFP? Much like prefers-reduced-motion (returns no-preference) in Bug 1479239 and prefers-color-scheme (returns light) in Bug 1494034
Comment 7•4 years ago
|
||
Assignee | ||
Comment 8•4 years ago
|
||
(In reply to Simon Mainey from comment #6)
Will this be covered by RFP? Much like prefers-reduced-motion (returns no-preference) in Bug 1479239 and prefers-color-scheme (returns light) in Bug 1494034
Our current plan is to return no-preference
when RFP is enabled but still be honest about whether or not forced colors are in use. There is some discussion about this on phabricator here. This has to do with with the addition of a forced option to the media query recently.
Comment 10•4 years ago
|
||
bugherder |
Updated•4 years ago
|
Comment 11•4 years ago
|
||
Adding the intent to prototype here https://groups.google.com/g/mozilla.dev.platform/c/bTEmQxffGvA
Not yet enabled by default. Behind layout.css.prefers-contrast.enabled
Description
•