Bug 1532471 part 2: Enable CSS containment for early beta and earlier. r=emilio

Depends on D23362

Differential Revision: https://phabricator.services.mozilla.com/D23363

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Daniel Holbert 2019-03-19 17:35:45 +00:00
Родитель eed1f33ab9
Коммит e76186a6e9
2 изменённых файлов: 26 добавлений и 1 удалений

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

@ -5678,6 +5678,25 @@ exports.CSS_PROPERTIES = {
"unset"
]
},
"contain": {
"isInherited": false,
"subproperties": [
"contain"
],
"supports": [],
"values": [
"content",
"inherit",
"initial",
"layout",
"none",
"paint",
"revert",
"size",
"strict",
"unset"
]
},
"content": {
"isInherited": false,
"subproperties": [

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

@ -1012,11 +1012,17 @@ VARCACHE_PREF(
)
// Is support for CSS contain enabled?
#ifdef EARLY_BETA_OR_EARLIER
#define PREF_VALUE true
#else
#define PREF_VALUE false
#endif
VARCACHE_PREF(
"layout.css.contain.enabled",
layout_css_contain_enabled,
bool, false
bool, PREF_VALUE
)
#undef PREF_VALUE
// Is steps(jump-*) supported in easing functions?
VARCACHE_PREF(