Activating new view manager by default. This fixes a swath of bugs related to fixed positioning, transparent views, z-index handling, and more! Bug 39621. r=kmcclusk, sr=attinasi. To disable the new view manager, use 'user_pref(nglayout.debug.enable_scary_view_manager, false);' in your prefs.js file.

This commit is contained in:
roc+%cs.cmu.edu 2001-03-22 15:54:50 +00:00
parent b599862a9e
commit ce8581898b

View File

@ -119,7 +119,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsViewManager2)
static NS_IMETHODIMP ViewManagerConstructor(nsISupports *aOuter, REFNSIID aIID, void **aResult)
{
PRBool useNewViewManager = PR_FALSE;
PRBool useNewViewManager = PR_TRUE;
nsCOMPtr<nsIPref> prefs( do_GetService(NS_PREF_CONTRACTID) );
if (prefs)