Bug 600846 - "Multitouch: Starting zoom with bottom finger on Find in Page search field brings up Desktop Firefox input field context menu" [r=mark.finkle]
authorWesley Johnston <wjohnston@mozilla.com>
Mon, 11 Oct 2010 15:25:00 -0400
changeset 66821 270ba3e4a868b635883ec3bdc968b56455c5e807
parent 66820 c2a40e23df65f75dc6bbc5801c8233796b0d8e5d
child 66822 e71c692a1f165ec8dabfbc7eda4ab16fb0c07869
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)
reviewersmark
bugs600846
Bug 600846 - "Multitouch: Starting zoom with bottom finger on Find in Page search field brings up Desktop Firefox input field context menu" [r=mark.finkle]
mobile/chrome/content/browser.css
--- a/mobile/chrome/content/browser.css
+++ b/mobile/chrome/content/browser.css
@@ -223,8 +223,14 @@ richlistitem[type="message"]{
 
 dialog {
   -moz-binding: url("chrome://browser/content/bindings/dialog.xml#dialog");
 }
 
 pageaction {
   -moz-binding: url("chrome://browser/content/bindings/pageaction.xml#pageaction");
 }
+
+/* Disable context menus in textboxes */
+.textbox-input-box,
+.textbox-input-box[spellcheck="true"] {
+  -moz-binding: none;
+}