mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
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:
parent
43ebf6c82c
commit
e47f35aa50
1 changed files with 4 additions and 6 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue