diff --git a/toolkit/content/xul.css b/toolkit/content/xul.css index 762c74cf711f..eded7c931cfe 100644 --- a/toolkit/content/xul.css +++ b/toolkit/content/xul.css @@ -383,7 +383,8 @@ stack { position: relative; } -stack > *|* { +/* We shouldn't style native anonymous children like scrollbars or what not */ +stack > *|*:not(:-moz-native-anonymous) { grid-area: 1 / 1; z-index: 0;