Bug 1525662 - Part 5: Turn on word wrapping by default for plain text documents on mobile. r=snorp
☠☠ backed out by 10f3bcf2a0ed ☠ ☠
authorJan Henning <jh+bugzilla@buttercookie.de>
Tue, 05 Mar 2019 18:01:23 +0000
changeset 520314 1fa7091b4b4eb5d57319894a09728bd435136cb0
parent 520313 32249c69fee9c516735e98805141c073750b107f
child 520315 ea86a9bf41de20289cbc47c6ed3613d19d1920b8
push id10862
push userffxbld-merge
push dateMon, 11 Mar 2019 13:01:11 +0000
treeherdermozilla-beta@a2e7f5c935da [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssnorp
bugs1525662
milestone67.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 1525662 - Part 5: Turn on word wrapping by default for plain text documents on mobile. r=snorp Differential Revision: https://phabricator.services.mozilla.com/D19308
mobile/android/app/mobile.js
--- a/mobile/android/app/mobile.js
+++ b/mobile/android/app/mobile.js
@@ -375,16 +375,19 @@ pref("devtools.remote.wifi.enabled", fal
 pref("font.size.inflation.minTwips", 0);
 
 // When true, zooming will be enabled on all sites, even ones that declare user-scalable=no.
 pref("browser.ui.zoom.force-user-scalable", false);
 
 // With the typical screen sizes on mobile devices, we want to wrap page sources by default.
 pref("view_source.wrap_long_lines", true);
 
+// Ditto for plain text documents.
+pref("plain_text.wrap_long_lines", true);
+
 
 pref("ui.touch.radius.enabled", false);
 pref("ui.touch.radius.leftmm", 3);
 pref("ui.touch.radius.topmm", 5);
 pref("ui.touch.radius.rightmm", 3);
 pref("ui.touch.radius.bottommm", 2);
 pref("ui.touch.radius.visitedWeight", 120);