From f8f69f8ceb18f4eae5e0b5b0b6f944e1b180d6c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Fri, 28 Feb 2020 18:33:56 +0000 Subject: [PATCH] Bug 1618903 - Stack grid item rule shouldn't apply to anonymous children. r=dholbert Differential Revision: https://phabricator.services.mozilla.com/D64786 --HG-- extra : moz-landing-system : lando --- toolkit/content/xul.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;