diff --git a/components/style/values/specified/color.rs b/components/style/values/specified/color.rs index 6de2464d470..c5288cb1f6b 100644 --- a/components/style/values/specified/color.rs +++ b/components/style/values/specified/color.rs @@ -316,8 +316,12 @@ pub enum SystemColor { Captiontext, #[parse(aliases = "-moz-field")] Field, + /// Used for disabled field backgrounds. + #[parse(condition = "ParserContext::in_ua_or_chrome_sheet")] + MozDisabledfield, #[parse(aliases = "-moz-fieldtext")] Fieldtext, + Graytext, Highlight, Highlighttext, @@ -382,6 +386,10 @@ pub enum SystemColor { #[parse(condition = "ParserContext::in_ua_or_chrome_sheet")] MozButtonactiveface, + /// Used for button background when disabled. + #[parse(condition = "ParserContext::in_ua_or_chrome_sheet")] + MozButtondisabledface, + /// Background color of chrome toolbars in active windows. MozMacChromeActive, /// Background color of chrome toolbars in inactive windows.