mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
turn native form controls off on Mac OS X until reftests pass. b=175279
This commit is contained in:
parent
b166f9ba56
commit
0ef003961f
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user