зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1544136 - Ship the scroll snap snap on betas and releases. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D27989 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
daef6a8b67
Коммит
241bdc3971
|
@ -1110,25 +1110,20 @@ VARCACHE_PREF(
|
|||
bool, false
|
||||
)
|
||||
|
||||
#ifdef NIGHTLY_BUILD
|
||||
# define PREF_VALUE true
|
||||
#else
|
||||
# define PREF_VALUE false
|
||||
#endif
|
||||
// Is the CSS Scroll Snap Module Level 1 enabled?
|
||||
VARCACHE_PREF(
|
||||
"layout.css.scroll-snap-v1.enabled",
|
||||
layout_css_scroll_snap_v1_enabled,
|
||||
RelaxedAtomicBool, PREF_VALUE
|
||||
RelaxedAtomicBool, true
|
||||
)
|
||||
|
||||
// Is support for scroll-snap enabled?
|
||||
// Is support for the old unspecced scroll-snap enabled?
|
||||
// E.g. scroll-snap-points-{x,y}, scroll-snap-coordinate, etc.
|
||||
VARCACHE_PREF(
|
||||
"layout.css.scroll-snap.enabled",
|
||||
layout_css_scroll_snap_enabled,
|
||||
bool, !PREF_VALUE
|
||||
bool, false
|
||||
)
|
||||
#undef PREF_VALUE
|
||||
|
||||
// Are shared memory User Agent style sheets enabled?
|
||||
VARCACHE_PREF(
|
||||
|
|
Загрузка…
Ссылка в новой задаче