mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
style: Implement AccentColor/AccentColorText and remove -moz-prefixed version of the color
As per https://github.com/w3c/csswg-drafts/issues/7347. Mostly renaming, doesn't change behavior other than exposing the new color keywords (tested in wpt). Differential Revision: https://phabricator.services.mozilla.com/D149876
This commit is contained in:
parent
ca6ad97159
commit
ad68880627
1 changed files with 4 additions and 4 deletions
|
@ -296,12 +296,12 @@ pub enum SystemColor {
|
|||
MozMacTooltip,
|
||||
|
||||
/// Theme accent color.
|
||||
#[parse(condition = "ParserContext::in_ua_or_chrome_sheet")]
|
||||
MozAccentColor,
|
||||
/// https://drafts.csswg.org/css-color-4/#valdef-system-color-accentcolor
|
||||
Accentcolor,
|
||||
|
||||
/// Foreground for the accent color.
|
||||
#[parse(condition = "ParserContext::in_ua_or_chrome_sheet")]
|
||||
MozAccentColorForeground,
|
||||
/// https://drafts.csswg.org/css-color-4/#valdef-system-color-accentcolortext
|
||||
Accentcolortext,
|
||||
|
||||
/// The background-color for :autofill-ed inputs.
|
||||
#[parse(condition = "ParserContext::in_ua_or_chrome_sheet")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue