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:
Emilio Cobos Álvarez 2023-05-23 20:49:05 +02:00 committed by Oriol Brufau
parent e47f35aa50
commit 5f5ea8603d

View file

@ -347,14 +347,14 @@ pub enum SystemColor {
/// Used to highlight valid regions to drop something onto.
MozDragtargetzone,
/// Used for selected but not focused cell backgrounds.
#[parse(aliases = "-moz-html-cellhighlight")]
MozCellhighlight,
/// 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")]
MozCellhighlighttext,
/// Used for selected and focused html cell backgrounds.
Selecteditem,
/// Used for selected and focused html cell text.
Selecteditemtext,
/// Used to button text background when hovered.
MozButtonhoverface,