mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Bug 615589 - '-moz-mac-focusring' color should be keyboardFocusIndicatorColor (NSColor). Also fixes tests. r=josh+mstange, a=beltzner.
This commit is contained in:
parent
7775e7fd3f
commit
8688c3c7d2
@ -251,11 +251,7 @@ nsresult nsLookAndFeel::NativeGetColor(const nsColorID aID, nscolor &aColor)
|
||||
}
|
||||
break;
|
||||
case eColor__moz_mac_focusring:
|
||||
aColor = nsToolkit::OnSnowLeopardOrLater() ?
|
||||
([NSColor currentControlTint] == NSGraphiteControlTint ?
|
||||
NS_RGB(0x6C,0x7E,0x8D) : NS_RGB(0x3F,0x98,0xDD)) :
|
||||
([NSColor currentControlTint] == NSGraphiteControlTint ?
|
||||
NS_RGB(0x5F,0x70,0x82) : NS_RGB(0x53,0x90,0xD2));
|
||||
aColor = GetColorFromNSColor([NSColor keyboardFocusIndicatorColor]);
|
||||
break;
|
||||
case eColor__moz_mac_menushadow:
|
||||
aColor = NS_RGB(0xA3,0xA3,0xA3);
|
||||
|
@ -44,7 +44,7 @@ var colors = {
|
||||
"inactivecaptiontext": ["rgb(69, 69, 69)"],
|
||||
"infobackground": ["rgb(255, 255, 199)"],
|
||||
"infotext": ["rgb(0, 0, 0)"],
|
||||
"menu": ["rgb(255, 255, 255)", rgb(254, 255, 254)"],
|
||||
"menu": ["rgb(255, 255, 255)", "rgb(254, 255, 254)", "rgb(255, 254, 254)"],
|
||||
"menutext": ["rgb(0, 0, 0)"],
|
||||
"scrollbar": ["rgb(170, 170, 170)"],
|
||||
"threeddarkshadow": ["rgb(220, 220, 220)"],
|
||||
@ -72,7 +72,7 @@ var colors = {
|
||||
"-moz-html-cellhighlighttext": ["rgb(0, 0, 0)"],
|
||||
"-moz-mac-chrome-active": ["rgb(150, 150, 150)", "rgb(167, 167, 167)"],
|
||||
"-moz-mac-chrome-inactive": ["rgb(202, 202, 202)", "rgb(216, 216, 216)"],
|
||||
"-moz-mac-focusring": ["rgb(83, 144, 210)", "rgb(95, 112, 130)", "rgb(63, 152, 221)", "rgb(108, 126, 141)"],
|
||||
//"-moz-mac-focusring": ["rgb(83, 144, 210)", "rgb(95, 112, 130)", "rgb(63, 152, 221)", "rgb(108, 126, 141)"],
|
||||
"-moz-mac-menuselect": ["rgb(115, 132, 153)", "rgb(127, 127, 127)", "rgb(56, 117, 215)", "rgb(255, 193, 31)", "rgb(243, 70, 72)", "rgb(255, 138, 34)", "rgb(102, 197, 71)", "rgb(140, 78, 184)"],
|
||||
"-moz-mac-menushadow": ["rgb(163, 163, 163)"],
|
||||
"-moz-mac-menutextdisable": ["rgb(152, 152, 152)", "rgb(136, 136, 136)"],
|
||||
|
Loading…
Reference in New Issue
Block a user