mirror of
https://github.com/servo/servo.git
synced 2025-06-25 01:24:37 +01:00
style: Fix selecteditem color on macOS
This is an oversight. I made selecteditem be -moz-html-cellhighlight, but that's for inactive cells. Use the inactive cell color everywhere (though android doesn't differentiate). This matches other browsers and what was reviewed on this bug. MANUAL PUSH: The semi-transparent text-selection-disabled color caused one test failure CLOSED TREE.
This commit is contained in:
parent
e47f35aa50
commit
5f5ea8603d
1 changed files with 5 additions and 5 deletions
|
@ -347,14 +347,14 @@ pub enum SystemColor {
|
||||||
/// Used to highlight valid regions to drop something onto.
|
/// Used to highlight valid regions to drop something onto.
|
||||||
MozDragtargetzone,
|
MozDragtargetzone,
|
||||||
/// Used for selected but not focused cell backgrounds.
|
/// Used for selected but not focused cell backgrounds.
|
||||||
|
#[parse(aliases = "-moz-html-cellhighlight")]
|
||||||
MozCellhighlight,
|
MozCellhighlight,
|
||||||
/// Used for selected but not focused cell text.
|
/// Used for selected but not focused cell text.
|
||||||
MozCellhighlighttext,
|
|
||||||
/// Used for selected but not focused html cell backgrounds.
|
|
||||||
#[parse(aliases = "-moz-html-cellhighlight")]
|
|
||||||
Selecteditem,
|
|
||||||
/// Used for selected but not focused html cell text.
|
|
||||||
#[parse(aliases = "-moz-html-cellhighlighttext")]
|
#[parse(aliases = "-moz-html-cellhighlighttext")]
|
||||||
|
MozCellhighlighttext,
|
||||||
|
/// Used for selected and focused html cell backgrounds.
|
||||||
|
Selecteditem,
|
||||||
|
/// Used for selected and focused html cell text.
|
||||||
Selecteditemtext,
|
Selecteditemtext,
|
||||||
/// Used to button text background when hovered.
|
/// Used to button text background when hovered.
|
||||||
MozButtonhoverface,
|
MozButtonhoverface,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue