2012-05-21 04:12:37 -07:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2011-11-29 14:00:31 -08:00
|
|
|
|
|
|
|
|
|
|
|
*|*:-moz-full-screen-ancestor {
|
|
|
|
/* Ancestors of a full-screen element should not induce stacking contexts
|
|
|
|
that would prevent the full-screen element from being on top. */
|
2014-08-24 22:11:15 -07:00
|
|
|
z-index: initial !important;
|
2011-11-29 14:00:31 -08:00
|
|
|
/* Ancestors of a full-screen element should not be partially transparent,
|
|
|
|
since that would apply to the full-screen element and make the page visible
|
|
|
|
behind it. It would also create a pseudo-stacking-context that would let content
|
|
|
|
draw on top of the full-screen element. */
|
2014-08-24 22:11:15 -07:00
|
|
|
opacity: initial !important;
|
2011-11-29 14:00:31 -08:00
|
|
|
/* Ancestors of a full-screen element should not apply SVG masking, clipping, or
|
|
|
|
filtering, since that would affect the full-screen element and create a pseudo-
|
|
|
|
stacking context. */
|
2014-08-24 22:11:15 -07:00
|
|
|
mask: initial !important;
|
2014-08-25 15:32:03 -07:00
|
|
|
clip-path: initial !important;
|
2014-08-24 22:11:15 -07:00
|
|
|
filter: initial !important;
|
2014-08-25 15:32:03 -07:00
|
|
|
clip: initial !important;
|
2014-08-24 22:11:15 -07:00
|
|
|
transform: initial !important;
|
2014-10-05 17:46:00 -07:00
|
|
|
transform-style: initial !important;
|
2014-08-25 15:32:03 -07:00
|
|
|
/* FIXME: do we need to worry about 'overflow'? */
|
2014-09-16 23:19:58 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
/* 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;
|
|
|
|
}
|
2011-11-29 14:00:31 -08:00
|
|
|
}
|
|
|
|
|