turn native form controls off on Mac OS X until reftests pass. b=175279

This commit is contained in:
joshmoz@gmail.com 2007-05-22 14:16:39 -07:00
parent b166f9ba56
commit 0ef003961f

View File

@ -1283,6 +1283,12 @@ PRBool
nsNativeThemeCocoa::ThemeSupportsWidget(nsPresContext* aPresContext, nsIFrame* aFrame,
PRUint8 aWidgetType)
{
#ifndef MOZ_MACBROWSER
// Only support HTML widgets in Camino builds
if (aFrame && aFrame->GetContent()->IsNodeOfType(nsINode::eHTML))
return PR_FALSE;
#endif
if (aPresContext && !aPresContext->PresShell()->IsThemeSupportEnabled())
return PR_FALSE;