summaryrefslogtreecommitdiffstats
path: root/modules/libpref/init
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-08-20 13:11:56 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-08-20 13:31:38 +0200
commitb5ee49d85ae054c0176248c1c4f5b84b57afcb1f (patch)
tree2eb441c87ff39bb79e51219ef3e3adbc3a268de4 /modules/libpref/init
parent134fdc7ec46c242baf924db8e3fea9f360d21e73 (diff)
downloadUXP-b5ee49d85ae054c0176248c1c4f5b84b57afcb1f.tar
UXP-b5ee49d85ae054c0176248c1c4f5b84b57afcb1f.tar.gz
UXP-b5ee49d85ae054c0176248c1c4f5b84b57afcb1f.tar.lz
UXP-b5ee49d85ae054c0176248c1c4f5b84b57afcb1f.tar.xz
UXP-b5ee49d85ae054c0176248c1c4f5b84b57afcb1f.zip
Re-implement custom background color of standalone images.
This resolves #717. Note: this does not affect other applications because the platform default is to use the "darknoise" background image for standalone image, which effectively overrides a bg color.
Diffstat (limited to 'modules/libpref/init')
-rw-r--r--modules/libpref/init/all.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index ceecaa84e..6eddfe7a2 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -273,6 +273,9 @@ pref("browser.display.show_image_placeholders", true);
pref("browser.display.show_loading_image_placeholder", false);
// min font device pixel size at which to turn on high quality
pref("browser.display.auto_quality_min_font_size", 20);
+// Background color for standalone images; leave empty to use default
+// all CSS colors available: named colors, rgb(..), #rrggbb, ...
+pref("browser.display.standalone_images.background_color", "");
pref("browser.anchor_color", "#0000EE");
pref("browser.active_color", "#EE0000");
pref("browser.visited_color", "#551A8B");