Bug 1246572 - Remove the two blue bars of the text selection for Fennec. r=snorp draft
authorTing-Yu Lin <tlin@mozilla.com>
Tue, 09 Feb 2016 23:19:43 +0800
changeset 329826 2448d9675eb2d567db607d24a8e968871595a0a0
parent 329825 141d55cceafc03a3cfa3fcbae37a76415e0a636c
child 514039 f3f176a4e70d0078bb123902c7fab10c938dda0f
push id10613
push usertlin@mozilla.com
push dateTue, 09 Feb 2016 15:23:58 +0000
reviewerssnorp
bugs1246572
milestone47.0a1
Bug 1246572 - Remove the two blue bars of the text selection for Fennec. r=snorp
mobile/android/app/mobile.js
--- a/mobile/android/app/mobile.js
+++ b/mobile/android/app/mobile.js
@@ -925,16 +925,19 @@ pref("toolkit.telemetry.unified", false)
 
 // Unified AccessibleCarets (touch-caret and selection-carets).
 #ifdef NIGHTLY_BUILD
 pref("layout.accessiblecaret.enabled", true);
 #else
 pref("layout.accessiblecaret.enabled", false);
 #endif
 
+// Android hides the selection bars at the two ends of the selection highlight.
+pref("layout.accessiblecaret.bar.enabled", false);
+
 // Android needs to show the caret when long tapping on an empty content.
 pref("layout.accessiblecaret.caret_shown_when_long_tapping_on_empty_content", true);
 
 // Android needs persistent carets and actionbar. Turn off the caret timeout.
 pref("layout.accessiblecaret.timeout_ms", 0);
 
 // Android generates long tap (mouse) events.
 pref("layout.accessiblecaret.use_long_tap_injector", false);