Bug 702295 - Don't apply overflow:hidden to full-screen-ancestor chrome roots. r=bz

This commit is contained in:
Chris Pearce 2011-11-18 15:22:48 +13:00
parent 3dc2412d44
commit 9c07829ac8

View File

@ -39,6 +39,7 @@
@import url(chrome://global/content/xul.css);
@namespace parsererror url(http://www.mozilla.org/newlayout/xml/parsererror.xml);
@namespace xul url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
/* magic -- some of these rules are important to keep pages from overriding
them
@ -253,8 +254,9 @@
}
/* If there is a full-screen element that is not the root then
we should hide the viewport scrollbar. */
*|*:root:-moz-full-screen-ancestor {
we should hide the viewport scrollbar. We exclude the chrome
document to prevent reframing of contained plugins. */
:not(xul|*):root:-moz-full-screen-ancestor {
overflow: hidden !important;
}