Bug 1255330 - Change the default value of "layout.accessiblecaret.bar.enabled" to false. r=jeremychen

MozReview-Commit-ID: 25pXiwtvlLH

--HG--
extra : rebase_source : 16a15e205a5e0c0df8870b601e3fe046d6923f63
This commit is contained in:
Ting-Yu Lin 2016-03-10 17:18:12 +08:00
parent edffd8287a
commit 5848925b9e
3 changed files with 6 additions and 5 deletions

View File

@ -1054,6 +1054,10 @@ pref("dom.apps.reviewer_paths", "/reviewers/,/extension/reviewers/");
// New implementation to unify touch-caret and selection-carets.
pref("layout.accessiblecaret.enabled", true);
// Show the selection bars at the two ends of the selection highlight. Required
// by the spec in bug 921965.
pref("layout.accessiblecaret.bar.enabled", true);
// APZ on real devices supports long tap events.
#ifdef MOZ_WIDGET_GONK
pref("layout.accessiblecaret.use_long_tap_injector", false);

View File

@ -913,9 +913,6 @@ pref("layout.accessiblecaret.width", "22.0");
pref("layout.accessiblecaret.height", "22.0");
pref("layout.accessiblecaret.margin-left", "-11.5");
// 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);

View File

@ -4962,8 +4962,8 @@ pref("layout.accessiblecaret.height", "36.0");
pref("layout.accessiblecaret.margin-left", "-18.5");
pref("layout.accessiblecaret.bar.width", "2.0");
// Show the selection bars at the two ends of the selection highlight.
pref("layout.accessiblecaret.bar.enabled", true);
// Show no selection bars at the two ends of the selection highlight.
pref("layout.accessiblecaret.bar.enabled", false);
// Show the caret when long tapping on an empty content.
pref("layout.accessiblecaret.caret_shown_when_long_tapping_on_empty_content", false);