mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 21:05:36 +00:00
Bug 1055977 part 1: Use !important (and 'initial') in full-screen-override.css, to more thoroughly prevent ancestors of a fullscreen element from creating stacking contexts. r=dbaron
This commit is contained in:
parent
7465178016
commit
acf9313ae5
@ -6,19 +6,19 @@
|
|||||||
*|*:-moz-full-screen-ancestor {
|
*|*:-moz-full-screen-ancestor {
|
||||||
/* Ancestors of a full-screen element should not induce stacking contexts
|
/* Ancestors of a full-screen element should not induce stacking contexts
|
||||||
that would prevent the full-screen element from being on top. */
|
that would prevent the full-screen element from being on top. */
|
||||||
z-index: auto;
|
z-index: initial !important;
|
||||||
/* Ancestors of a full-screen element should not be partially transparent,
|
/* 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
|
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
|
behind it. It would also create a pseudo-stacking-context that would let content
|
||||||
draw on top of the full-screen element. */
|
draw on top of the full-screen element. */
|
||||||
opacity: 1;
|
opacity: initial !important;
|
||||||
/* Ancestors of a full-screen element should not apply SVG masking, clipping, or
|
/* 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-
|
filtering, since that would affect the full-screen element and create a pseudo-
|
||||||
stacking context. */
|
stacking context. */
|
||||||
mask: none;
|
mask: initial !important;
|
||||||
clip: auto;
|
clip: initial !important;
|
||||||
filter: none;
|
filter: initial !important;
|
||||||
-moz-transform: none;
|
transform: initial !important;
|
||||||
will-change: auto;
|
will-change: initial !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user