mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +01:00
style: Remove other Widget* colors
These are only used for frameset painting and the non-e10s <select> dropdown focus codepath. We have other more appropriate standard colors for this. Differential Revision: https://phabricator.services.mozilla.com/D129992
This commit is contained in:
parent
4ed53833ea
commit
b9d2ae624b
1 changed files with 0 additions and 12 deletions
|
@ -231,18 +231,6 @@ pub enum Color {
|
||||||
#[derive(Clone, Copy, Debug, MallocSizeOf, Parse, PartialEq, ToCss, ToShmem)]
|
#[derive(Clone, Copy, Debug, MallocSizeOf, Parse, PartialEq, ToCss, ToShmem)]
|
||||||
#[repr(u8)]
|
#[repr(u8)]
|
||||||
pub enum SystemColor {
|
pub enum SystemColor {
|
||||||
#[css(skip)]
|
|
||||||
WidgetBackground,
|
|
||||||
#[css(skip)]
|
|
||||||
WidgetForeground,
|
|
||||||
#[css(skip)]
|
|
||||||
WidgetSelectBackground,
|
|
||||||
#[css(skip)]
|
|
||||||
WidgetSelectForeground,
|
|
||||||
#[css(skip)]
|
|
||||||
Widget3DHighlight,
|
|
||||||
#[css(skip)]
|
|
||||||
Widget3DShadow,
|
|
||||||
#[parse(condition = "ParserContext::in_ua_or_chrome_sheet")]
|
#[parse(condition = "ParserContext::in_ua_or_chrome_sheet")]
|
||||||
TextSelectBackgroundDisabled,
|
TextSelectBackgroundDisabled,
|
||||||
#[parse(condition = "ParserContext::in_ua_or_chrome_sheet")]
|
#[parse(condition = "ParserContext::in_ua_or_chrome_sheet")]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue