Backed out changeset 088b1611348a (bug 1841117) as requested by canadahonk CLOSED TREE

This commit is contained in:
Cristian Tuns 2023-07-04 18:39:27 -04:00
parent 094b41d891
commit d58b87b9ba
2 changed files with 8 additions and 0 deletions

View File

@ -259,6 +259,12 @@ Text Direction
Values <https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties>`__
for more information.
Testing
~~~~~~~
To test for RTL layouts, you can go to ``about:config`` and set
``intl.uidirection`` to ``-1``.
Writing cross-platform CSS
--------------------------

View File

@ -1591,6 +1591,8 @@ pref("intl.regional_prefs.use_os_locales", false);
pref("font.language.group", "chrome://global/locale/intl.properties");
pref("font.cjk_pref_fallback_order", "zh-cn,zh-hk,zh-tw,ja,ko");
pref("intl.uidirection", -1); // -1 to set from locale; 0 for LTR; 1 for RTL
// This pref controls pseudolocales for testing localization.
// See https://firefox-source-docs.mozilla.org/l10n/fluent/tutorial.html#manually-testing-ui-with-pseudolocalization
pref("intl.l10n.pseudo", "");