Bug 691763 - Fennec Layout is broken on initial startup after landing. r=mbrubeck a=asa
authorOleg Romashin <romaxa@gmail.com>
Fri, 07 Oct 2011 10:57:24 +0100
changeset 79058 327b44552e6f6a40e619a6c69636c74cf1a517ce
parent 79057 910f9161b314c695854d0c06afa0801b5a877da1
child 79059 4a81215700fb998331c38c691620bea8f753fa2a
push id78
push userclegnitto@mozilla.com
push dateFri, 16 Dec 2011 17:32:24 +0000
treeherdermozilla-release@79d24e644fdd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmbrubeck, asa
bugs691763
milestone9.0a2
Bug 691763 - Fennec Layout is broken on initial startup after landing. r=mbrubeck a=asa
mobile/chrome/content/browser.xul
--- a/mobile/chrome/content/browser.xul
+++ b/mobile/chrome/content/browser.xul
@@ -63,19 +63,20 @@
         onload="Browser.startup();"
         onunload="Browser.shutdown();"
         onclose="return Browser.closing();"
         windowtype="navigator:browser"
         chromedir="&locale.dir;"
         title="&brandShortName;"
 #ifdef MOZ_PLATFORM_MAEMO
         sizemode="fullscreen"
-#endif
+#else
         width="480"
         height="800"
+#endif
         onkeypress="onDebugKeyPress(event);"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
         xmlns:svg="http://www.w3.org/2000/svg"
         xmlns:html="http://www.w3.org/1999/xhtml">
 
   <script type="application/javascript" src="chrome://browser/content/browser.js"/>
   <script type="application/javascript" src="chrome://browser/content/browser-ui.js"/>
   <script type="application/javascript" src="chrome://browser/content/browser-scripts.js"/>