Bug 1067634: Wrap "will-change" decl in @supports rule, to prevent browser console spam while it's disabled by default. r=heycam

This commit is contained in:
Daniel Holbert 2014-09-16 23:19:58 -07:00
Родитель 40821c35d1
Коммит 5f9d455a98
1 изменённых файлов: 9 добавлений и 1 удалений

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

@ -21,6 +21,14 @@
clip: initial !important;
transform: initial !important;
/* FIXME: do we need to worry about 'overflow'? */
will-change: initial !important;
}
/* XXXdholbert This '@supports' wrapper should be removed once we remove
support for the pref 'layout.css.will-change.enabled'. (This CSS rule should
then be merged with the main rule up above.) */
@supports (will-change: initial) {
*|*:-moz-full-screen-ancestor {
will-change: initial !important;
}
}