Bug 359496 focus outline on combobox <select>s is always drawn in black r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@214721 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2090,7 +2090,7 @@ void nsComboboxControlFrame::PaintFocus(nsIRenderingContext& aRenderingContext,
|
||||
if (!mContent->HasAttr(kNameSpaceID_None, nsHTMLAtoms::disabled) &&
|
||||
mFocused == this) {
|
||||
aRenderingContext.SetLineStyle(nsLineStyle_kDotted);
|
||||
aRenderingContext.SetColor(NS_RGB(0, 0, 0));
|
||||
aRenderingContext.SetColor(GetStyleColor()->mColor);
|
||||
} else {
|
||||
aRenderingContext.SetColor(GetStyleBackground()->mBackgroundColor);
|
||||
aRenderingContext.SetLineStyle(nsLineStyle_kSolid);
|
||||
|
||||
Reference in New Issue
Block a user