Bug 1246572 - Remove the two blue bars of the text selection for Fennec. r=snorp
authorTing-Yu Lin <tlin@mozilla.com>
Tue, 09 Feb 2016 23:19:43 +0800
changeset 283777 3e6f0d9b86e6a30852f83d56dee81f586745e8b8
parent 283776 1b7bbed6b080ed5dedc8247a162b3269040d245f
child 283778 0add7cd89394362d9458cc1a9c3a63d8ac4205e2
push id29990
push usercbook@mozilla.com
push dateThu, 11 Feb 2016 10:47:29 +0000
treeherdermozilla-central@b21946a2e993 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssnorp
bugs1246572
milestone47.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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);