Closed Bug 1656363 Opened 4 years ago Closed 2 years ago

Enable the `prefers-contrast` media query

Categories

(Core :: CSS Parsing and Computation, task)

task

Tracking

()

RESOLVED FIXED
101 Branch
Tracking Status
relnote-firefox --- 101+
firefox101 --- fixed

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.

Depends on: 1658780
Depends on: 1658796
Blocks: hcm
Depends on: 1694864
Depends on: 1737438
Assignee: nobody → emilio
Flags: needinfo?(emilio)
Flags: needinfo?(emilio)
No longer depends on: 1658796, 1737438
Depends on: 1762018
Depends on: 1506364
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.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch

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?

relnote-firefox: --- → ?
Flags: needinfo?(emilio)

No, looks good, I need to send an intent to ship.

Flags: needinfo?(emilio)

Added to the Fx101 beta relnotes.

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

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: