Bug 339192: Readonly textboxes shouldn't look active, patch by Phil Ringnalda <philringnalda@gmail.com>, r=hwaara, sr=pink

This commit is contained in:
gavin%gavinsharp.com 2006-06-06 16:34:16 +00:00
parent 75db177f54
commit 63879a6f99

View File

@ -467,7 +467,7 @@ nsNativeThemeMac::DrawWidgetBackground(nsIRenderingContext* aContext, nsIFrame*
break;
case NS_THEME_TEXTFIELD:
DrawEditText ( macRect, IsDisabled(aFrame) );
DrawEditText ( macRect, (IsDisabled(aFrame) || IsReadOnly(aFrame)) );
break;
case NS_THEME_PROGRESSBAR: