style: Implement SelectedItem and SelectedItemText system colors

Since Highlight / HighlightText are now equivalent to the text selection
ones, remove those too.

Differential Revision: https://phabricator.services.mozilla.com/D123964
This commit is contained in:
Emilio Cobos Álvarez 2023-05-23 20:47:47 +02:00 committed by Oriol Brufau
parent 43ebf6c82c
commit e47f35aa50

View file

@ -260,10 +260,6 @@ pub enum SystemColor {
#[css(skip)]
TextForeground,
#[parse(condition = "ParserContext::in_ua_or_chrome_sheet")]
TextSelectBackground,
#[parse(condition = "ParserContext::in_ua_or_chrome_sheet")]
TextSelectForeground,
#[parse(condition = "ParserContext::in_ua_or_chrome_sheet")]
TextSelectBackgroundDisabled,
#[parse(condition = "ParserContext::in_ua_or_chrome_sheet")]
TextSelectBackgroundAttention,
@ -355,9 +351,11 @@ pub enum SystemColor {
/// Used for selected but not focused cell text.
MozCellhighlighttext,
/// Used for selected but not focused html cell backgrounds.
MozHtmlCellhighlight,
#[parse(aliases = "-moz-html-cellhighlight")]
Selecteditem,
/// Used for selected but not focused html cell text.
MozHtmlCellhighlighttext,
#[parse(aliases = "-moz-html-cellhighlighttext")]
Selecteditemtext,
/// Used to button text background when hovered.
MozButtonhoverface,
/// Used to button text color when hovered.