diff --git a/mobile/chrome/content/browser.js b/mobile/chrome/content/browser.js
index 87d3d6acc36e..0d0dd8d46758 100644
--- a/mobile/chrome/content/browser.js
+++ b/mobile/chrome/content/browser.js
@@ -317,14 +317,6 @@ var Browser = {
}
window.addEventListener("fullscreen", fullscreenHandler, false);
- function notificationHandler() {
- // Let the view know that the layout might have changed
- Browser.forceChromeReflow();
- }
- let notifications = document.getElementById("notifications");
- notifications.addEventListener("AlertActive", notificationHandler, false);
- notifications.addEventListener("AlertClose", notificationHandler, false);
-
BrowserUI.init();
window.controllers.appendController(this);
diff --git a/mobile/chrome/content/browser.xul b/mobile/chrome/content/browser.xul
index 9781d15dde05..07ec3623c113 100644
--- a/mobile/chrome/content/browser.xul
+++ b/mobile/chrome/content/browser.xul
@@ -272,8 +272,6 @@
-
-
diff --git a/mobile/themes/core/browser.css b/mobile/themes/core/browser.css
index 21488bdb133d..d7bb37c479db 100644
--- a/mobile/themes/core/browser.css
+++ b/mobile/themes/core/browser.css
@@ -404,7 +404,7 @@ toolbarbutton.choice-remotetabs {
background-image: url(chrome://browser/content/checkerboard.png);
}
-#content-stack > div:-moz-focusring {
+.input-overlay:-moz-focusring {
outline: 0 !important;
}
@@ -412,7 +412,7 @@ toolbarbutton.choice-remotetabs {
* These rules prevent browser to steal the focus while touching the screen
* to allow panning/zooming of the browser view without closing the VKB
*/
-#content-stack > deck > browser {
+#browsers > notificationbox > browser {
-moz-user-focus: ignore;
}