Bug 1251755 - markupview: add z-index 1 to pseudoclass ind.r=pbrosset
With
Bug 1195120, the ".tag-line .tag-state" has a z-index of 0 instead
of -1. This element is used to display the colored background of a selected
row.
Adding z-index:1 to the pseudoclass indicator ensures it is displayed above
the .tag-state element.
MozReview-Commit-ID: K4aWyJXevWf
--- a/devtools/client/themes/markup.css
+++ b/devtools/client/themes/markup.css
@@ -227,16 +227,17 @@ ul.children + .tag-line::before {
content: "";
background: var(--theme-highlight-lightorange);
border-radius: 50%;
width: .8em;
height: .8em;
margin-top: .3em;
left: 1px;
position: absolute;
+ z-index: 1;
}
/* Selected nodes in the tree should have light selected text.
theme-selected doesn't work in this case since the text is a
sibling of the class, not a child. */
.theme-selected ~ .editor,
.theme-selected ~ .editor .theme-fg-color1,
.theme-selected ~ .editor .theme-fg-color2,