Closed Bug 1626679 Opened 5 years ago Closed 3 years ago

Apply prefers-color-scheme based on forced color mode background-color value

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
Tracking Status
firefox100 --- fixed

People

(Reporter: ntim, Unassigned)

References

(Blocks 1 open bug)

Details

The media query spec specifies this: https://drafts.csswg.org/mediaqueries-5/#forced-colors

active

Indicates that forced colors mode is active. The UA will provide the color palette to authors through the CSS system color keywords and, if appropriate, trigger the appropriate value of prefers-color-scheme so that authors can adapt the page. See [[!css-color-adjust-1#forced]] for details.

See Also: → 1658796

Tagging bug 1658796 here, they can be done at the same time, likely with the same internal logic :)

Bug 1762018 did that, iiuc.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
See Also: 1658796
Severity: normal → --
Depends on: 1762018
Resolution: DUPLICATE → FIXED
You need to log in before you can comment on or make changes to this bug.