https://github.com/mozilla/gecko-dev
Raw File
Tip revision: 647124a0b6d5691ab240b5e9fa80422f918e13b4 authored by ffxbld on 17 September 2015, 03:34:54 UTC
Added FIREFOX_41_0_RELEASE FIREFOX_41_0_BUILD2 tag(s) for changeset 42500ed7343e. DONTBUILD CLOSED TREE a=release
Tip revision: 647124a
full-screen-override.css
/* 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/. */


*|*:-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. */
  z-index: initial !important;
  /* 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. */
  opacity: initial !important;
  /* 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. */
  mask: initial !important;
  clip-path: initial !important;
  filter: initial !important;
  clip: initial !important;
  transform: initial !important;
  transform-style: initial !important;
  /* FIXME: do we need to worry about 'overflow'? */
}

/* 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;
  }
}

back to top