Closed Bug 1722299 Opened 4 years ago Closed 4 years ago

Initial support for the color-scheme CSS property.

Categories

(Core :: CSS Parsing and Computation, task)

task

Tracking

()

RESOLVED FIXED
92 Branch
Tracking Status
firefox92 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

()

Details

Attachments

(1 file, 1 obsolete file)

No description provided.

Add initial support for the color-scheme CSS property, allowing pages to
choose between light and dark system colors per-element, and such.

Things that are left to do so that this can be enabled by default:

  • Dark system colors on Windows / Android / Standins.
  • Dark Canvas/CanvasText/Link visited colors (which right now are set
    via PreferenceSheet).
  • Dark form controls in nsNativeBasicTheme.
  • Processing the color-scheme meta tag to fill-in
    Document::mColorSchemeBits.

But this seems like enough progress to be landable on its own.

Add initial support for the color-scheme CSS property, allowing pages to
choose between light and dark system colors per-element, and such.

Things that are left to do so that this can be enabled by default:

  • Dark system colors on Windows / Android / Standins.
  • Dark Canvas/CanvasText/Link visited colors (which right now are set
    via PreferenceSheet).
  • Dark form controls in nsNativeBasicTheme.
  • Processing the color-scheme meta tag to fill-in
    Document::mColorSchemeBits.

But this seems like enough progress to be landable on its own.

Attachment #9233085 - Attachment is obsolete: true
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/06efc0ecdd65 Initial support for the color-scheme CSS property. r=mstange
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 92 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: