Bug 605253 - beta feedback form unusable on Samsung Vibrant Android phone in vertical orientation [r=mfinkle,mbrubeck]
authorVivien Nicolas <21@vingtetun.org>
Thu, 28 Oct 2010 01:41:19 +0200
changeset 66920 47973af62b0dbba3de58a2ef6682ec90c8d9f39d
parent 66919 a6365689f7bbd759cf2462efcce9cfe3699178a4
child 66921 4cbe38cf142e33b168e1ec0662b8d84b2c0eb2e5
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmfinkle, mbrubeck
bugs605253
Bug 605253 - beta feedback form unusable on Samsung Vibrant Android phone in vertical orientation [r=mfinkle,mbrubeck]
mobile/themes/core/browser.css
--- a/mobile/themes/core/browser.css
+++ b/mobile/themes/core/browser.css
@@ -392,16 +392,24 @@ toolbarbutton.choice-remotetabs {
   list-style-image: url(chrome://browser/skin/images/remotetabs-48.png);
 }
 
 /* browsers ---------------------------------------------------------------- */
 #content-stack > div:-moz-focusring {
   outline: 0 !important;
 }
 
+/*
+ * 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 {
+  -moz-user-focus: ignore;
+}
+
 /* browser tools panel UI   ------------------------------------------------ */
 .panel-header {
   margin: 0;
   padding: 4px 8px 8px 8px;
   font-weight: bold;
   color: white !important;
   background-color: rgb(101, 121, 227) !important;
 }