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:
masayuki%d-toybox.com
2006-11-04 17:28:39 +00:00
parent e7d9a561d0
commit f9d0bdd858

View File

@@ -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);