gecko-dev/servo/ports/geckolib
Emilio Cobos Álvarez 02bbf0389a Bug 1722299 - Initial support for the color-scheme CSS property. r=mstange
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.

Differential Revision: https://phabricator.services.mozilla.com/D120843
2021-07-27 15:50:48 +00:00
..
tests Bug 1647845 Part 2 - Add page-size attribute to nsStyleStruct and property parsing r=emilio 2021-03-22 19:08:59 +00:00
Cargo.toml Bug 1661961 - Upgrade cstr to 0.2.x. r=emilio 2020-12-07 08:01:04 +00:00
cbindgen.toml Bug 1722299 - Initial support for the color-scheme CSS property. r=mstange 2021-07-27 15:50:48 +00:00
error_reporter.rs Bug 1704179 - Add a CSS error to the console when using non-featureless :host selectors. r=boris 2021-04-15 09:33:58 +00:00
glue.rs Bug 1720710 - Add system-ui boilerplate. r=jfkthame 2021-07-27 11:11:51 +00:00
lib.rs
stylesheet_loader.rs Bug 1707310 - Refactor the author sheet cache to keep alive the relevant StylesheetContents. r=boris 2021-05-19 09:00:38 +00:00