From 3f57fdd8e4386be58029bd4273a594f62ba0c489 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Fri, 23 May 2025 12:20:51 +0000 Subject: [PATCH] Bug 1967646 - Make sure to specify reasonable border + background for permission list. r=desktop-theme-reviewers,Itiel XUL is special and doesn't follow the usual native-appearance-prevention rules from HTML. That means that if you don't specify a border we'll now happily paint it on the content box. Also specify a background-color while at it. Honestly there's not too much the appearance property does for us here, so we could probably remove it, but this is the lower risk fix... Differential Revision: https://phabricator.services.mozilla.com/D250916 --- browser/themes/shared/pageInfo.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/browser/themes/shared/pageInfo.css b/browser/themes/shared/pageInfo.css index 04f9171592ff..fc26280c21a0 100644 --- a/browser/themes/shared/pageInfo.css +++ b/browser/themes/shared/pageInfo.css @@ -224,7 +224,9 @@ treechildren::-moz-tree-cell-text(broken) { -moz-default-appearance: listbox; margin: .5em; overflow: auto; + background-color: Field; color: FieldText; + border: 1px solid ThreeDShadow; } .permission {