firefox: remove config around lazy loading

This commit is contained in:
Vincent Bernat 2020-12-17 07:54:56 +01:00
parent bfc67f56d0
commit c92a3fe90e

View file

@ -52,13 +52,6 @@ user_pref("gfx.webrender.all", true);
// Enable AVIF
user_pref("image.avif.enabled", true);
// Lazy loading is too late on Firefox. See https://bugzilla.mozilla.org/show_bug.cgi?id=1618240
// Should be fixed in Firefox 84.
user_pref("dom.image-lazy-loading.root-margin.bottom.percentage", true);
user_pref("dom.image-lazy-loading.root-margin.bottom", 100);
user_pref("dom.image-lazy-loading.root-margin.top.percentage", true);
user_pref("dom.image-lazy-loading.root-margin.top", 50);
// Enable color scheme selector in devtools
user_pref("devtools.inspector.color-scheme-simulation.enabled", true);