From 2c40216db25c0cdccd8939202c67345fe157da73 Mon Sep 17 00:00:00 2001 From: Rodrigo Silveira Date: Thu, 5 Sep 2013 16:32:43 -0700 Subject: [PATCH] Bug 913229 - Snapped displays cropped multi-column tiles after touch scroll r=mbrubeck --HG-- extra : rebase_source : bda64fdfb199f0581d2c4f0154afdabebd6700c7 --- browser/metro/base/content/browser.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/browser/metro/base/content/browser.js b/browser/metro/base/content/browser.js index 7730de3a667..a74e21c38c0 100644 --- a/browser/metro/base/content/browser.js +++ b/browser/metro/base/content/browser.js @@ -1143,9 +1143,12 @@ Browser.MainDragger.prototype = { }, _hideScrollbars: function _hideScrollbars() { - this._scrollScales.x = 0, this._scrollScales.y = 0; + this._scrollScales.x = 0; + this._scrollScales.y = 0; this._horizontalScrollbar.removeAttribute("panning"); this._verticalScrollbar.removeAttribute("panning"); + this._horizontalScrollbar.removeAttribute("width"); + this._verticalScrollbar.removeAttribute("height"); this._horizontalScrollbar.style.MozTransform = ""; this._verticalScrollbar.style.MozTransform = ""; }