From aebbdb8e19d3357dae342a80708de097b4355b04 Mon Sep 17 00:00:00 2001 From: "peterl%netscape.com" Date: Sun, 8 Aug 1999 01:20:28 +0000 Subject: [PATCH] removed hack forcing app into standard mode (now controlled by documents) git-svn-id: svn://10.0.0.236/trunk@42688 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpfe/appshell/src/nsWebShellWindow.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/mozilla/xpfe/appshell/src/nsWebShellWindow.cpp b/mozilla/xpfe/appshell/src/nsWebShellWindow.cpp index 493308f40f9..152b5c65720 100644 --- a/mozilla/xpfe/appshell/src/nsWebShellWindow.cpp +++ b/mozilla/xpfe/appshell/src/nsWebShellWindow.cpp @@ -393,13 +393,6 @@ nsresult nsWebShellWindow::Initialize(nsIWebShellWindow* aParent, nsIPref::GetIID(), (nsISupports **)&prefs); if (NS_SUCCEEDED(rv)) { - // XXX Enforce the STANDARD compatibility mode? Nav Quirks causes - // the chrome to malfunction. Having this be a general pref applied - // everywhere seems bogus to me. We certainly don't want it on for - // the chrome. - prefs->SetIntPref("nglayout.compatibility.mode", eCompatibility_Standard); - prefs->SavePrefFile(); - // Set the prefs in the outermost webshell. mWebShell->SetPrefs(prefs); nsServiceManager::ReleaseService(kPrefCID, prefs); @@ -1552,6 +1545,7 @@ nsWebShellWindow::NewWebShell(PRUint32 aChromeMask, PRBool aVisible, return rv; } + /** * FindWebShellWithName - recursively search for any open window * containing a webshell with the given name.