Bug 656114 - Clicking is broken in position:fixed elements in Fennec with MOZ_ENABLE_FIXED_POSITION_LAYERS enabled r=stechz
authorOleg Romashin <romaxa@gmail.com>
Thu, 11 Aug 2011 11:37:23 -0700
changeset 74267 0324f71c6757d02ca6b7801b4689bebbed553d81
parent 74266 0f6ccf479e1016c81ab6b35593db7d6e864dfaf2
child 74268 129f83a789bebc39e9fedea8fe33fe9d6001400d
push id2
push userbsmedberg@mozilla.com
push dateFri, 19 Aug 2011 14:38:13 +0000
reviewersstechz
bugs656114
milestone8.0a1
Bug 656114 - Clicking is broken in position:fixed elements in Fennec with MOZ_ENABLE_FIXED_POSITION_LAYERS enabled r=stechz
mobile/chrome/content/AnimatedZoom.js
--- a/mobile/chrome/content/AnimatedZoom.js
+++ b/mobile/chrome/content/AnimatedZoom.js
@@ -120,16 +120,17 @@ const AnimatedZoom = {
     this.zoomTo = null;
     this.zoomFrom = null;
     this.zoomRect = null;
     this.startScale = null;
 
     let event = document.createEvent("Events");
     event.initEvent("AnimatedZoomEnd", true, true);
     window.dispatchEvent(event);
+    browser._updateCSSViewport();
   },
 
   isZooming: function isZooming() {
     return this.beginTime != null;
   },
 
   onBeforePaint: function(aTimeStamp) {
     try {