Bug 524570: No highlighting on Form Fill UI when spanning across tabs [r=mark.finkle]
authorVivien Nicolas <21@vingtetun.org>
Thu, 12 Nov 2009 00:44:27 -0500
changeset 65784 9da6707288079393eb5002ea9542d0da0c21540c
parent 65783 112e15957941405aae8ac6c61d10404d737a5b34
child 65785 f93faf93976a90f415f5c3f3bb55a49a3c8d210c
push idunknown
push userunknown
push dateunknown
reviewersmark.finkle
bugs524570
Bug 524570: No highlighting on Form Fill UI when spanning across tabs [r=mark.finkle]
mobile/chrome/content/BrowserView.js
--- a/mobile/chrome/content/BrowserView.js
+++ b/mobile/chrome/content/BrowserView.js
@@ -482,20 +482,19 @@ BrowserView.prototype = {
       browser.setAttribute("type", "content-primary");
 
       this.beginBatchOperation();
 
       browser.addEventListener("MozAfterPaint", this.handleMozAfterPaint, false);
       browser.addEventListener("scroll", this.handlePageScroll, false);
       browser.addEventListener("MozScrolledAreaChanged", this.handleMozScrolledAreaChanged, false);
 
-      if (doZoom) {
-        browser.docShell.isOffScreenBrowser = true;
+      browser.docShell.isOffScreenBrowser = true;
+      if (doZoom)
         this.zoomToPage();
-      }
 
       this._viewportChanged(browserChanged, browserChanged);
 
       this.commitBatchOperation();
     }
   },
 
   getBrowser: function getBrowser() {