Bug 1119057 - Scrollbar position should follow the document 'dir'. r=timdream

This commit is contained in:
Fabien Cazenave 2015-02-02 15:01:32 +01:00
parent b61b38ff28
commit c5e5513ce6
2 changed files with 10 additions and 0 deletions

View File

@ -688,6 +688,9 @@ pref("ui.useOverlayScrollbars", 1);
pref("ui.scrollbarFadeBeginDelay", 450);
pref("ui.scrollbarFadeDuration", 200);
// Scrollbar position follows the document `dir` attribute
pref("layout.scrollbar.side", 1);
// Enable the ProcessPriorityManager, and give processes with no visible
// documents a 1s grace period before they're eligible to be marked as
// background. Background processes that are perceivable due to playing

View File

@ -36,6 +36,13 @@ xul|scrollbar[orient="vertical"] {
max-width: 8px;
}
/* workaround for bug 1119057: as -moz-margin-start may not work as expected,
* force a right margin value in RTL mode. */
[dir="rtl"] xul|scrollbar[root="true"][orient="vertical"] {
-moz-margin-start: unset;
margin-right: -8px;
}
xul|scrollbar[orient="vertical"] xul|thumb {
max-width: 6px !important;
min-width: 6px !important;