Bug 1703048 - Tweak lazy-loading root margin defaults to 600px in all directions for EARLY_BETA_OR_EARLIER r=emilio

Differential Revision: https://phabricator.services.mozilla.com/D110825
This commit is contained in:
Sean Feng 2021-04-05 18:02:56 +00:00
Родитель 6e61185bf4
Коммит 43ac29d13b
1 изменённых файлов: 16 добавлений и 3 удалений

Просмотреть файл

@ -1999,12 +1999,13 @@
# The root margin for image lazy loading, defined as four (value, percentage)
# pairs.
#
# (0px, 0px, 0px, 0px) by default, for now. We could also consider an
# adaptative version of this.
- name: dom.image-lazy-loading.root-margin.top
type: float
#if defined(EARLY_BETA_OR_EARLIER)
value: 600
#else
value: 300
#endif
mirror: always
- name: dom.image-lazy-loading.root-margin.top.percentage
@ -2014,7 +2015,11 @@
- name: dom.image-lazy-loading.root-margin.bottom
type: float
#if defined(EARLY_BETA_OR_EARLIER)
value: 600
#else
value: 300
#endif
mirror: always
- name: dom.image-lazy-loading.root-margin.bottom.percentage
@ -2024,7 +2029,11 @@
- name: dom.image-lazy-loading.root-margin.left
type: float
#if defined(EARLY_BETA_OR_EARLIER)
value: 600
#else
value: 300
#endif
mirror: always
- name: dom.image-lazy-loading.root-margin.left.percentage
@ -2034,7 +2043,11 @@
- name: dom.image-lazy-loading.root-margin.right
type: float
#if defined(EARLY_BETA_OR_EARLIER)
value: 600
#else
value: 300
#endif
mirror: always
- name: dom.image-lazy-loading.root-margin.right.percentage