servo/components/style/values
Emilio Cobos Álvarez 028f2f95d2 style: Initial support for the color-scheme CSS property
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
2023-05-24 18:32:40 +02:00
..
animated style: Clamp perspective() values to a minimum of 1px 2023-05-24 18:32:36 +02:00
computed style: Initial support for the color-scheme CSS property 2023-05-24 18:32:40 +02:00
generics style: Remove the paper size variant of GenericPageSize and add an implied default to the paper size and orientation variant 2023-05-24 18:32:38 +02:00
resolved Further changes required by Servo 2023-05-24 18:32:36 +02:00
specified style: Initial support for the color-scheme CSS property 2023-05-24 18:32:40 +02:00
distance.rs style: Drop fallback attribute from animate and distance. 2020-04-16 16:35:07 +02:00
mod.rs Miscellaneous build / tidy fixes. 2021-02-26 17:53:55 +01:00