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
This commit is contained in:
Emilio Cobos Álvarez
2025-05-23 12:20:51 +00:00
committed by ealvarez@mozilla.com
parent e36386dc4f
commit 3f57fdd8e4

View File

@@ -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 {