Make system color keywords compute to themselves
Allow system colors to be inherited as keywords rather than RGB values.
Prior to this change, a descendant element would inherit RGB values rather than keywords for system colors. This would cause undesired behavior when, for example, a parent element and child element have different values for the color-scheme property. The expected behavior is that the keyword would inherit, so that each element would map the keyword to an RGB value according to its respective color-scheme.
Status in Chromium
In developer trial (Behind a flag) (tracking bug) in:
- Chrome for desktop release 86
Consensus & Standardization
Search tagscss, system, color, colors,
Last updated on 2020-10-16